Browse Source

Turn fan on in stretch_driver node

pull/83/head
Binit Shah 2 years ago
parent
commit
c4ff76dd82
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      stretch_core/nodes/stretch_driver

+ 2
- 0
stretch_core/nodes/stretch_driver View File

@ -492,6 +492,8 @@ class StretchDriverNode:
# start loop to command the mobile base velocity, publish
# odometry, and publish joint states
while not rospy.is_shutdown():
self.robot.pimu.set_fan_on()
self.robot.push_command()
self.command_mobile_base_velocity_and_publish_state()
command_base_velocity_and_publish_joint_state_rate.sleep()
except (rospy.ROSInterruptException, ThreadServiceExit):

Loading…
Cancel
Save