Add sensors list in the robot.
Factorise the REST API and correct a bug in the call prim.