Difference between revisions of "Rest api"
From RobotinoWiki
(→GET) |
|||
Line 10: | Line 10: | ||
==GET== | ==GET== | ||
+ | ===/cam0=== | ||
+ | Get camera image from cam0. The response is image/jpeg. | ||
==PUT== | ==PUT== |
Revision as of 12:00, 20 February 2019
Installation
REST-API is already running at http://RobotinoIP. |
Package linksnothing to install |
---|
GET
/cam0
Get camera image from cam0. The response is image/jpeg.
PUT
/data/omnidrive
Set forwward and rotational velocity. You have to send data periodically at least every 200ms. If no data is received for more than 200ms Robotino will stop.
{ "vx": "x-vel in m/s", "vy" : "y-vel in m/s", "omega" : "rot-vel in rad/s" }