deeper-blue / sdp-robot

The robot code for Deeper Blue, an assistive chess-playing robot. Developed for the System Design Project, a 3rd year course offered at the School of Informatics, University of Edinburgh.
2 stars 0 forks source link

Add piece height adjustment #60

Closed pilif0 closed 5 years ago

pilif0 commented 5 years ago

Add dynamic grabber down position adjustment for different piece heights. The piece heights are passed from the controller (one or two parts appended to the message), passed through the HLI and used in the LLI to compute correct grabber down position for that piece type.

The HLI and LLI implementation of this feature use arguments with default values, so this should be fairly non-breaking. There is also a default piece height configured, so the code shouldn't crash if an invalid piece type is passed (instead it will possibly go to the wrong height).

Tasks

Fixes #55