Re:Raspberry Turk
by prashnts on Saturday April 01, 2017 @02:44PM
(#14013474)
It looks amazing! How is actuator travel distance which compensates differences between the heights of the chess pieces implemented?
[ Parent
| on HN ]
Re:Raspberry Turk
by joey_meyer on Saturday April 01, 2017 @02:51PM
(#14013508)
It's hard-coded at the moment. I just measured the height of each piece and stored the values.
To me it looked like the clearance height was the same for all pieces. Is it actually dynamically calculated for each move?
Re:Raspberry Turk
by joey_meyer on Saturday April 01, 2017 @07:23PM
(#14014745)
Ah 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/raspb...