Skip to content

Commit

Permalink
fix(obstacle_avoidance_planner): use update_bounds instead of update_… (
Browse files Browse the repository at this point in the history
#1371)

fix(obstacle_avoidance_planner): use update_bounds instead of update_lower/upper_bounds (autowarefoundation#6011)

Signed-off-by: Takayuki Murooka <[email protected]>
Co-authored-by: Takayuki Murooka <[email protected]>
  • Loading branch information
TomohitoAndo and takayuki5168 authored Jul 2, 2024
1 parent fe851d9 commit 7c470df
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions planning/obstacle_avoidance_planner/src/mpt_optimizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1513,8 +1513,7 @@ std::optional<Eigen::VectorXd> MPTOptimizer::calcOptimizedSteerAngles(
osqp_solver_ptr_->updateCscP(P_csc);
osqp_solver_ptr_->updateQ(f);
osqp_solver_ptr_->updateCscA(A_csc);
osqp_solver_ptr_->updateL(lower_bound);
osqp_solver_ptr_->updateU(upper_bound);
osqp_solver_ptr_->updateBounds(lower_bound, upper_bound);
} else {
RCLCPP_INFO_EXPRESSION(logger_, enable_debug_info_, "no warm start");
osqp_solver_ptr_ = std::make_unique<autoware::common::osqp::OSQPInterface>(
Expand Down

0 comments on commit 7c470df

Please sign in to comment.