Skip to content

Commit

Permalink
Introduce ROS fan on parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
hello-binit committed Jan 9, 2024
1 parent acfebfc commit 1a67c91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stretch_core/nodes/stretch_driver
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a67c91

Please sign in to comment.