For code used in LeJOS robot.