client / server for controlling a robot with accelerometers