Quote:
Originally Posted by Alan Anderson
Can you be more specific? What do you want the wrist to do, how are you trying to make it do that, and what is it doing instead?
|
We would like the wrist to move with a joystick manually for now but eventually it should move between 6 positions based on an enum and two arrayed ints. we have a pot on the elbow and on the wrist and limit switches to lockout the arm if something moves too far so we will add/subtract 127 and trim to 0-254 based on which way it should go. We have ELBOW_MIN_LIM, WRIST_MIN_LIM, GRIP_LIMIT_OUT and GRIP_LIMIT_IN on the digitals and ELBOW_SENSOR and WRIST_SENSOR on the analogs as 10 turn 100k pots since they are on the motor for better precision.