Veichle abstraction - Torrib/EIT GitHub Wiki

Car

Creating new car
{"action": "createCar", "actuators": [12, 3, 29, 8]}

ID order: All right wheels first then all the left wheels.

This command creates a car instance on the device and returns an id that can be used to access it.

Return example:
{"status": "success", "message": 4}

Moving the car:
{"action": "moveDevice", "id": 4, "speed": 40, "direction": 60 }

Speed: between -100 and 100 (minus is reverse)
Direction: between -100 and 100 (minus is left, positive is right)