mirror of
https://github.com/SHC-ASTRA/rover-ros2.git
synced 2026-02-11 09:20:40 +00:00
send manual control debug print
This commit is contained in:
@@ -227,6 +227,11 @@ class SerialRelay(Node):
|
|||||||
axis2 = msg.axis2
|
axis2 = msg.axis2
|
||||||
axis3 = msg.axis3
|
axis3 = msg.axis3
|
||||||
|
|
||||||
|
tempMsg = String()
|
||||||
|
tempMsg.data = "Sending manual"
|
||||||
|
self.debug_pub.publish(tempMsg)
|
||||||
|
|
||||||
|
|
||||||
#Send controls for arm
|
#Send controls for arm
|
||||||
command = "can_relay_tovic,arm,18," + str(int(msg.brake)) + "\n"
|
command = "can_relay_tovic,arm,18," + str(int(msg.brake)) + "\n"
|
||||||
command += "can_relay_tovic,arm,39," + str(axis0) + "," + str(axis1) + "," + str(axis2) + "," + str(axis3) + "\n"
|
command += "can_relay_tovic,arm,39," + str(axis0) + "," + str(axis1) + "," + str(axis2) + "," + str(axis3) + "\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user