BinghamtonRover / Arm-Firmware

Arduino IDE sketches to run on a Teensy MCU and control the rover arm and gripper
https://binghamtonrover.github.io/arm-firmware/
2 stars 0 forks source link

Fix the calibrate function #7

Closed Levi-Lesches closed 2 years ago

Levi-Lesches commented 2 years ago

StepperMotor.calibrate is supposed to move the arm to the limit switch and reset its internal state. However, currently, it does not move at all. Implement the move functionality.

Be careful to implement this as safely as possible since calibrate is used in already delicate situations. If only one motor is calibrated or the movement is too jerky, it could cause damage to the arm.

Blocked by #14