Skip to content

Commit

Permalink
implementation of the MpcLateralController corrected!
Browse files Browse the repository at this point in the history
Signed-off-by: Zhe Shen <[email protected]>
  • Loading branch information
HansOersted committed May 27, 2024
1 parent 91f78d1 commit cb8a702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion control/trajectory_follower_node/src/controller_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Controller::Controller(const rclcpp::NodeOptions & node_options) : Node("control
getLateralControllerMode(declare_parameter<std::string>("lateral_controller_mode"));
switch (lateral_controller_mode) {
case LateralControllerMode::MPC: {
lateral_controller_ = std::make_shared<mpc_lateral_controller::MpcLateralController>(*this);
lateral_controller_ = std::make_shared<mpc_lateral_controller::MpcLateralController>(*this, diag_updater_);
break;
}
case LateralControllerMode::PURE_PURSUIT: {
Expand Down

0 comments on commit cb8a702

Please sign in to comment.