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
…lower/upper_bounds (autowarefoundation#6011)

Signed-off-by: Takayuki Murooka <[email protected]>
  • Loading branch information
takayuki5168 authored and yuki-takagi-66 committed Apr 12, 2024
1 parent 8331314 commit 3695f7c
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 @@ -1519,8 +1519,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 3695f7c

Please sign in to comment.