Added abstracted code for sensors and robot defines.