Y
Hacker News
new
|
ask
|
show
|
jobs
by
joey_meyer
3373 days ago
It's hard-coded at the moment. I just measured the height of each piece and stored the values.
1 comments
mentos
3372 days ago
To me it looked like the clearance height was the same for all pieces. Is it actually dynamically calculated for each move?
link
joey_meyer
3372 days ago
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...
link