mirror of
https://github.com/SHC-ASTRA/rover-ros2.git
synced 2026-02-11 09:20:40 +00:00
print debug to screen & ik debug publisher
This commit is contained in:
@@ -422,6 +422,7 @@ class SerialRelay(Node):
|
|||||||
tempMsg = String()
|
tempMsg = String()
|
||||||
tempMsg.data = "Current Position: " + str(current_position) + "\nInput Vector" + str(input_raw) + "\nTarget Position: " + str(target_position) + "\nAngles: " + str(self.arm.current_angles)
|
tempMsg.data = "Current Position: " + str(current_position) + "\nInput Vector" + str(input_raw) + "\nTarget Position: " + str(target_position) + "\nAngles: " + str(self.arm.current_angles)
|
||||||
self.ik_debug.publish(tempMsg)
|
self.ik_debug.publish(tempMsg)
|
||||||
|
self.get_logger().info(f"[IK] {tempMsg.data}")
|
||||||
|
|
||||||
# Debug output for current position
|
# Debug output for current position
|
||||||
#tempMsg.data = "Current Position: " + str(current_position)
|
#tempMsg.data = "Current Position: " + str(current_position)
|
||||||
|
|||||||
Reference in New Issue
Block a user