Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: kosuke55 <[email protected]>
  • Loading branch information
kosuke55 committed Oct 31, 2024
1 parent 1816618 commit d5a6229
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pacmod_interface/src/pacmod_interface/pacmod_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,8 @@ void PacmodInterface::publishCommands()
// NOTE:
// It is assumed that steer_cmd is send as actuation_cmd without being converted from
// raw_vehicle_cmd_converter.
desired_steer_wheel = (actuation.steer_cmd - steering_offset_) * adaptive_gear_ratio;
desired_steer_wheel =
(actuation_cmd_ptr_->actuation.steer_cmd - steering_offset_) * adaptive_gear_ratio;
} else {
desired_steer_wheel = actuation_cmd_ptr_->actuation.steer_cmd;
}
Expand Down

0 comments on commit d5a6229

Please sign in to comment.