Skip to content

Commit 3766907

Browse files
author
mawenke
committedMay 25, 2021
fix wheel_vel_ bug
1 parent 788c367 commit 3766907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎handsfree_hw/include/handsfree_hw/hf_hw_ros.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ class HF_HW_ros : public hardware_interface::RobotHW{
191191
wheel_vel_[0] = hf_hw_.getRobotAbstract()->chassis.measure_motor_speed.servo1;
192192
wheel_vel_[1] = hf_hw_.getRobotAbstract()->chassis.measure_motor_speed.servo2;
193193
wheel_vel_[2] = hf_hw_.getRobotAbstract()->chassis.measure_motor_speed.servo3;
194-
wheel_vel_[4] = hf_hw_.getRobotAbstract()->chassis.measure_motor_speed.servo3;
194+
wheel_vel_[3] = hf_hw_.getRobotAbstract()->chassis.measure_motor_speed.servo3;
195195

196196
robot_time.local_time_valid = hf_hw_.getRobotAbstract()->system_info.local_time.valid;
197197
robot_time.local_time_year = hf_hw_.getRobotAbstract()->system_info.local_time.year;

0 commit comments

Comments
 (0)
Please sign in to comment.