Welcome on Server
TaskManager
Syskit control
Combined Control Panel
Http API
A JSON viewer plugin for your browser helps to evaluate the data:
firefox
chrome
The list of running tasks
Complete task information
http://localhost:9292/api/tasks/tasks/+TASKNAME
For example:
http://localhost:9292/api/tasks/tasks/localhost/sherpa_tt_ft
this gives you port names, that can be used to read ports.
http://localhost:9292/api/tasks/tasks?extended_info=true
Gives you all available task information
http://localhost:9292/api/tasks/tasks/+TASKNAME+/ports/+PORTNAME
port type information
http://localhost:9292/api/tasks/tasks/+TASKNAME+/ports/+PORTNAME+/read
only output ports
read the port content
http://localhost:9292/api/tasks/tasks/+TASKNAME+/ports/+PORTNAME+/write
only input ports
write data to a port (json formatted)
http://localhost:9292/api/tasks/tasks/+TASKNAME+/ports/+PORTNAME+/sample
only input ports
get the json format that can be written to the port
Control of rock-based robots using the HTTP API
To control robots directly, you can use CURL (or libcurl)
Request: curl http://localhost:9292/api/syskit/jobs
Write: curl -X POST -H "Content-Type: application/json" -d '{"id":9}' http://localhost:9292/api/syskit/jobs/kill
cpp rock control library(no dependencies to rock itself)