Skip to content

Commit

Permalink
fix typo in warning.py
Browse files Browse the repository at this point in the history
  • Loading branch information
knorth55 committed Dec 5, 2022
1 parent 2614319 commit c479860
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jsk_fetch_robot/jsk_fetch_startup/scripts/warning.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ def battery_callback(self, msg):
time.sleep(5)

def cmd_vel_callback(self, msg):
## warn when cmd_vel is issued while the robot is charning
rospy.logdebug("cmd_vel : x:{} y:{} z:{}, battery.is_charning {}".format(msg.linear.x,msg.linear.y,msg.angular.z,self.battery_state_msgs.is_charging))
## warn when cmd_vel is issued while the robot is charging
rospy.logdebug("cmd_vel : x:{} y:{} z:{}, battery.is_charging {}".format(msg.linear.x,msg.linear.y,msg.angular.z,self.battery_state_msgs.is_charging))
breaker_enabled = True
try:
breaker_status = filter(lambda n: n.name=='base_breaker', self.robot_state_msgs.breakers)[0]
Expand Down

0 comments on commit c479860

Please sign in to comment.