Skip to content

Commit 2fcbc6c

Browse files
inserted comment
1 parent 462eaa5 commit 2fcbc6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

niryo_one_rpi/scripts/emergency_button.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def digital_io_callback(data):
1515

1616
#corresponds to io16
1717
emergency_button = data.states[2]
18-
if emergency_button == 1: # goes 0 if button pressed
18+
if emergency_button == 1: # goes 1 if button pressed
1919
if robot_on:
2020
rospy.loginfo("Niryo One Emergency Button: Emergency Button Pressed!")
2121
activate_robot_srv(True)

0 commit comments

Comments
 (0)