3 ms·
It's hard-coded at the moment. I just measured the height of each piece and stored the values.
by joey_meyer 10y ago
It's hard-coded at the moment. I just measured the height of each piece and stored the values.
- mentos 10y agoTo me it looked like the clearance height was the same for all pieces. Is it actually dynamically calculated for each move?
- joey_meyer 10y agoAh yes clearance height is the same for all pieces, the servo raises the piece to the piece height + the "resting" height. Relevant code can be found here: https://github.com/joeymeyer/raspberryturk/blob/master/raspberryturk/embedded/motion/gripper.py#L54 https://github.com/joeymeyer/raspberryturk/blob/master/raspb...