File tree 2 files changed +3
-3
lines changed
control/mpc_lateral_controller
include/mpc_lateral_controller
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ class MpcLateralController : public trajectory_follower::LateralControllerBase
97
97
// trajectory buffer for detecting new trajectory
98
98
std::deque<Trajectory> m_trajectory_buffer;
99
99
100
- void setStatus (diagnostic_updater::DiagnosticStatusWrapper & stat, const bool & m_is_mpc_solved );
100
+ void setStatus (diagnostic_updater::DiagnosticStatusWrapper & stat);
101
101
102
102
void setupDiag ();
103
103
Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ std::shared_ptr<SteeringOffsetEstimator> MpcLateralController::createSteerOffset
232
232
}
233
233
234
234
void MpcLateralController::setStatus (
235
- diagnostic_updater::DiagnosticStatusWrapper & stat, const bool & m_is_mpc_solved )
235
+ diagnostic_updater::DiagnosticStatusWrapper & stat)
236
236
{
237
237
if (m_is_mpc_solved) {
238
238
stat.summary (diagnostic_msgs::msg::DiagnosticStatus::OK, " MPC succeeded." );
@@ -249,7 +249,7 @@ void MpcLateralController::setupDiag()
249
249
250
250
d->add (" MPC_solve_checker" , [&](auto & stat) {
251
251
setStatus (
252
- stat, m_is_mpc_solved );
252
+ stat);
253
253
});
254
254
}
255
255
You can’t perform that action at this time.
0 commit comments