mirror of
https://github.com/SHC-ASTRA/rover-ros2.git
synced 2026-02-11 09:20:40 +00:00
refactor: change servo_position to servo_state
wiggle
This commit is contained in:
@@ -138,8 +138,8 @@ class SerialRelay(Node):
|
|||||||
self.send_cmd(command)
|
self.send_cmd(command)
|
||||||
# Servos, only send if not zero
|
# Servos, only send if not zero
|
||||||
if msg.servo_id != 0:
|
if msg.servo_id != 0:
|
||||||
command = "can_relay_tovic,citadel,25," + str(msg.servo_id) + "," + str(msg.servo_position) + "\n"
|
command = "can_relay_tovic,citadel,25," + str(msg.servo_id) + "," + str(int(msg.servo_state)) + "\n"
|
||||||
self.send_cmd(command)
|
self.send_cmd(command)
|
||||||
|
|
||||||
|
|
||||||
# LSS (SCYTHE)
|
# LSS (SCYTHE)
|
||||||
|
|||||||
Submodule src/ros2_interfaces_pkg updated: 021dd0c3dd...aec22081e3
Reference in New Issue
Block a user