Robot code for the linux controller and the Arduino slave