Skip to content

Commit cb8a702

Browse files
committed
implementation of the MpcLateralController corrected!
Signed-off-by: Zhe Shen <lucidshenzhe@gmail.com>
1 parent 91f78d1 commit cb8a702

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

control/trajectory_follower_node/src/controller_node.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Controller::Controller(const rclcpp::NodeOptions & node_options) : Node("control
3939
getLateralControllerMode(declare_parameter<std::string>("lateral_controller_mode"));
4040
switch (lateral_controller_mode) {
4141
case LateralControllerMode::MPC: {
42-
lateral_controller_ = std::make_shared<mpc_lateral_controller::MpcLateralController>(*this);
42+
lateral_controller_ = std::make_shared<mpc_lateral_controller::MpcLateralController>(*this, diag_updater_);
4343
break;
4444
}
4545
case LateralControllerMode::PURE_PURSUIT: {

0 commit comments

Comments
 (0)