Difference between revisions of "SmartRobotinoMasterRPCBridge"

From RobotinoWiki
(REST API)
(GET methods)
Line 26: Line 26:
 
http://127.0.0.1:8153/map-preview?name:NewMap
 
http://127.0.0.1:8153/map-preview?name:NewMap
 
</pre>
 
</pre>
 +
 +
====/data/station-types====
 +
====/data/status====
 +
====/data/mclayout====
 +
====/data/mcstatus====
 +
====/data/localizationMode====
 +
====/data/smartnavigationplan====
 +
====/data/smartlocations====
 +
====/data/smartstations====
 +
====/data/smartrobotinfo====
 +
====/data/pathnetwork====
 +
====/data/smartjoblist====
 +
====/data/fleetcomResponse====
 +
====/data/mapDirInfo====
 +
 +
===PUT methods===
 +
 +
====/data/navigationMap====
 +
====/data/fleetcomRequest====
 +
====/data/SetDefaultMap====
 +
====/data/DeleteMap====

Revision as of 16:58, 10 December 2019

REST API

SmartRobotinoMasterRPCBridge listens at port 8153 for incoming connections to its REST API.

GET methods

/localizationMap

Returns the current localization map as PNG image with resolution information.

PNG Header | PNG Data | 00 | JSON Data

JSON Data:
rootObj["datasize"] = mapData.size();
rootObj["width"] = width;
rootObj["height"] = height;
rootObj["resolution"] = resolution;
rootObj["offsetx"] = offsetx;
rootObj["offsety"] = offsety;

/navigationMap

Returns the current navigation map as PNG image with resolution information. See localizationMap.

/map-preview

Returns a preview image as PNG of map file name.

http://127.0.0.1:8153/map-preview?name:NewMap

/data/station-types

/data/status

/data/mclayout

/data/mcstatus

/data/localizationMode

/data/smartnavigationplan

/data/smartlocations

/data/smartstations

/data/smartrobotinfo

/data/pathnetwork

/data/smartjoblist

/data/fleetcomResponse

/data/mapDirInfo

PUT methods

/data/navigationMap

/data/fleetcomRequest

/data/SetDefaultMap

/data/DeleteMap