Skip to content
Snippets Groups Projects
Commit 4987e805 authored by Gauthier HEISS's avatar Gauthier HEISS
Browse files

Adding installation instructions

parent 9583afa6
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,10 @@
esieabot-api is the web service made to control the esieabot. It allows to control its motors in PWM mode and its servos through web commands. It opens a web socket on port 8000 and waits for commands on adresses **/command** for the motors and **/camera** for servos. The wiring should be the same as the official intructions.
### Installation
Copy the python file to /esieabot/service/data and the bash script to /esieabot/service/. Restart esieabot-manager and the API should be running.
### Usage
- curl http://127.0.0.1:8000/command?x=0&y=0 controls esieabot's motors. x and y are values between -85 and 85 corresponding to joystick commands. Without sending any new requests, esieabot will stay at the same speed forever.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment