SmartRobotinoMasterRPCBridge

From RobotinoWiki
Revision as of 16:52, 10 December 2019 by Verbeek (talk | contribs) (Created page with "==REST API== SmartRobotinoMasterRPCBridge listens at port '''8153''' for incoming connections to its REST API. ===GET methods=== ====/localizationMap==== Returns the current...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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;