add current angles to ik debug output

This commit is contained in:
Tristan McGinnis
2025-05-07 14:07:51 -05:00
committed by David
parent 35208150ef
commit d270235088

View File

@@ -420,7 +420,7 @@ class SerialRelay(Node):
#Print for IK DEBUG
tempMsg = String()
tempMsg.data = "Current Position: " + str(current_position) + "\nInput Vector" + str(input_raw) + "\nTarget Position: " + str(target_position)
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)
# Debug output for current position