We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aabceea commit df52c6aCopy full SHA for df52c6a
pacmod_interface/src/pacmod_interface/pacmod_interface.cpp
@@ -408,7 +408,8 @@ void PacmodInterface::publishCommands()
408
const double desired_steer_wheel = std::invoke([&]() -> double {
409
double desired_steer_wheel{0.0};
410
if (convert_steer_command_) {
411
- (control_cmd_ptr_->lateral.steering_tire_angle - steering_offset_) * adaptive_gear_ratio;
+ desired_steer_wheel =
412
+ (control_cmd_ptr_->lateral.steering_tire_angle - steering_offset_) * adaptive_gear_ratio;
413
} else {
414
desired_steer_wheel = actuation_cmd_ptr_->actuation.steer_cmd;
415
}
0 commit comments