Browse Source

Introduce ROS fan on parameter

feature/pyfunmap_mapping
Binit Shah 10 months ago
parent
commit
1a67c91810
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      stretch_core/nodes/stretch_driver

+ 2
- 1
stretch_core/nodes/stretch_driver View File

@ -583,7 +583,8 @@ class StretchDriverNode:
# odometry, and publish joint states
while not rospy.is_shutdown():
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.robot.push_command()
self.dirty_command=False

Loading…
Cancel
Save