Skip to content
Snippets Groups Projects
Commit a4d63f13 authored by ipa-cmm-mn's avatar ipa-cmm-mn Committed by ipa-fxm
Browse files

added payload const

parent 04dfe2f4
Branches
Tags
No related merge requests found
...@@ -217,6 +217,8 @@ def driverProg(): ...@@ -217,6 +217,8 @@ def driverProg():
#servoj(q, 3, 0.1, t) #servoj(q, 3, 0.1, t)
#send_waypoint_finished(waypoint_id) #send_waypoint_finished(waypoint_id)
set_servo_setpoint(waypoint_id, q, t) set_servo_setpoint(waypoint_id, q, t)
elif mtype == MSG_SET_PAYLOAD:
send_out("Received new payload")
elif mtype == MSG_STOPJ: elif mtype == MSG_STOPJ:
send_out("Received stopj") send_out("Received stopj")
stopj(1.0) stopj(1.0)
......
...@@ -46,6 +46,7 @@ MSG_MOVEJ = 4 ...@@ -46,6 +46,7 @@ MSG_MOVEJ = 4
MSG_WAYPOINT_FINISHED = 5 MSG_WAYPOINT_FINISHED = 5
MSG_STOPJ = 6 MSG_STOPJ = 6
MSG_SERVOJ = 7 MSG_SERVOJ = 7
MSG_SET_PAYLOAD = 8
MSG_WRENCH = 9 MSG_WRENCH = 9
MSG_SET_DIGITAL_OUT = 10 MSG_SET_DIGITAL_OUT = 10
MSG_GET_IO = 11 MSG_GET_IO = 11
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment