Difference between revisions of "Rest api"

From RobotinoWiki
(Created page with "== Installation == {|cellspacing="20" cellpadding="10" |- style="vertical-align:top" |Image:Robotino_rest_icon_64.png |REST-API is already running. ! style="text-align:lef...")
 
(Installation)
Line 8: Line 8:
 
nothing to install
 
nothing to install
 
|}
 
|}
 +
 +
==GET==
 +
 +
==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.
 +
<pre>
 +
{
 +
  "vx": "x-vel in m/s",
 +
  "vy" : "y-vel in m/s",
 +
  "omega" : "rot-vel in rad/s"
 +
}
 +
</pre>

Revision as of 17:33, 28 January 2019

Installation

Robotino rest icon 64.png REST-API is already running.

Package links

nothing to install

GET

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"
}