Fix: arm angle feedback working

This commit is contained in:
Tristan McGinnis
2025-04-16 20:32:28 -05:00
committed by David
parent 27cf4d9982
commit f00a7d21ce

View File

@@ -166,6 +166,24 @@ class SerialRelay(Node):
# Convert the angles to floats divide by 10.0
angles = [float(angle) / 10.0 for angle in angles_in]
angles[0] = 0.0
#
#
#
#THIS NEEDS TO BE REMOVED LATER
#PLACEHOLDER FOR WRIST VALUE
#
##
#
#
#
angles.append(0.0)
#
#
#
#
#
##
#
# Update the arm's current angles
self.arm.update_angles(angles)
self.arm_feedback.axis0_angle = angles[0]