diff --git a/src/model_car_control_alg_node.cpp b/src/model_car_control_alg_node.cpp index b4187d384122c278c1248e01d9229ed9d972a8a2..be966d3d822e05572d8bff8070ca3a678a206780 100644 --- a/src/model_car_control_alg_node.cpp +++ b/src/model_car_control_alg_node.cpp @@ -62,6 +62,7 @@ void ModelCarControlAlgNode::mainNodeThread(void) this->control_AckermannDriveStamped_msg_.drive.jerk=0.0; this->control_watchdog.reset(ros::Duration(this->config_.watchdog_time)); this->linear_speed_control=0.0; + this->steer_angle_control=0.0; first=true; } else