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.
Currently the motors and movements use either run_direct with specified duty cycle or run_to_rel_pos with specified speed.
To keep the systems unified, I propose starting the robot at origin, resetting positions of motors to zero there, and then using run_to_abs_pos with specified speed for all movements. The command returns immediately, so it should be possible to dynamically adjust speed with repeated calls.
Currently the motors and movements use either
run_direct
with specified duty cycle orrun_to_rel_pos
with specified speed.To keep the systems unified, I propose starting the robot at origin, resetting positions of motors to zero there, and then using
run_to_abs_pos
with specified speed for all movements. The command returns immediately, so it should be possible to dynamically adjust speed with repeated calls.