Skip to content

Commit c63c2b7

Browse files
TomohitoAndotakayuki5168
authored andcommitted
fix(obstacle_avoidance_planner): use update_bounds instead of update_… (#1371)
fix(obstacle_avoidance_planner): use update_bounds instead of update_lower/upper_bounds (autowarefoundation#6011) Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> Co-authored-by: Takayuki Murooka <takayuki5168@gmail.com>
1 parent 42c8955 commit c63c2b7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

planning/obstacle_avoidance_planner/src/mpt_optimizer.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -1517,8 +1517,7 @@ std::optional<Eigen::VectorXd> MPTOptimizer::calcOptimizedSteerAngles(
15171517
osqp_solver_ptr_->updateCscP(P_csc);
15181518
osqp_solver_ptr_->updateQ(f);
15191519
osqp_solver_ptr_->updateCscA(A_csc);
1520-
osqp_solver_ptr_->updateL(lower_bound);
1521-
osqp_solver_ptr_->updateU(upper_bound);
1520+
osqp_solver_ptr_->updateBounds(lower_bound, upper_bound);
15221521
} else {
15231522
RCLCPP_INFO_EXPRESSION(logger_, enable_debug_info_, "no warm start");
15241523
osqp_solver_ptr_ = std::make_unique<autoware::common::osqp::OSQPInterface>(

0 commit comments

Comments
 (0)