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...")
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
|- style="vertical-align:top"
 
|- style="vertical-align:top"
 
|[[Image:Robotino_rest_icon_64.png]]
 
|[[Image:Robotino_rest_icon_64.png]]
|REST-API is already running.
+
|REST-API is already running at <nowiki>http://RobotinoIP</nowiki>.
 
! style="text-align:left; width:20em; background-color:#dddddd"|
 
! style="text-align:left; width:20em; background-color:#dddddd"|
 
=== Package links ===
 
=== Package links ===
 
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:36, 28 January 2019

Installation

Robotino rest icon 64.png REST-API is already running at http://RobotinoIP.

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