|
@ -583,7 +583,8 @@ class StretchDriverNode: |
|
|
# odometry, and publish joint states |
|
|
# odometry, and publish joint states |
|
|
while not rospy.is_shutdown(): |
|
|
while not rospy.is_shutdown(): |
|
|
self.robot.non_dxl_thread.step() |
|
|
self.robot.non_dxl_thread.step() |
|
|
self.robot.pimu.set_fan_on() |
|
|
|
|
|
|
|
|
if self.robot.pimu.params.get('ros_fan_on', True): |
|
|
|
|
|
self.robot.pimu.set_fan_on() |
|
|
self.command_mobile_base_velocity_and_publish_state() |
|
|
self.command_mobile_base_velocity_and_publish_state() |
|
|
self.robot.push_command() |
|
|
self.robot.push_command() |
|
|
self.dirty_command=False |
|
|
self.dirty_command=False |
|
|