Skip to content

Commit d5a6229

Browse files
committed
fix
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
1 parent 1816618 commit d5a6229

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pacmod_interface/src/pacmod_interface/pacmod_interface.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,8 @@ void PacmodInterface::publishCommands()
411411
// NOTE:
412412
// It is assumed that steer_cmd is send as actuation_cmd without being converted from
413413
// raw_vehicle_cmd_converter.
414-
desired_steer_wheel = (actuation.steer_cmd - steering_offset_) * adaptive_gear_ratio;
414+
desired_steer_wheel =
415+
(actuation_cmd_ptr_->actuation.steer_cmd - steering_offset_) * adaptive_gear_ratio;
415416
} else {
416417
desired_steer_wheel = actuation_cmd_ptr_->actuation.steer_cmd;
417418
}

0 commit comments

Comments
 (0)