fix CAN commands

This commit is contained in:
Tristan McGinnis
2025-02-22 02:52:51 -06:00
parent 79da299e82
commit 2e73fd9c83

View File

@@ -131,16 +131,16 @@ class SerialRelay(Node):
self.send_cmd(command) self.send_cmd(command)
#Send controls for end effector #Send controls for end effector
command = "can_relay_tovic_digit,35," + str(msg.effector_roll) + "\n" command = "can_relay_tovic,digit,35," + str(msg.effector_roll) + "\n"
self.send_cmd(command) self.send_cmd(command)
command = "can_relay_tovic_digit,36,0," + str(msg.effector_yaw) + "\n" command = "can_relay_tovic,digit,36,0," + str(msg.effector_yaw) + "\n"
self.send_cmd(command) self.send_cmd(command)
command = "can_relay_tovic_digit,26," + str(msg.gripper) + "\n" command = "can_relay_tovic,digit,26," + str(msg.gripper) + "\n"
self.send_cmd(command) self.send_cmd(command)
command = "can_relay_tovic_digit,28," + str(msg.laser) + "\n" command = "can_relay_tovic,digit,28," + str(msg.laser) + "\n"
self.send_cmd(command) self.send_cmd(command)