rec::robotino::api2 C interface
|
In "rec/robotino/api2/c/Factory4.h" you can find functions for reading Robotino's bumper. More...
Go to the source code of this file.
Macros | |
#define | INVALID_FACTORY4ID -1 |
Typedefs | |
typedef int | Factory4Id |
typedef void(* | Factory4_data1Cb_t) (const char *data, int dataSize) |
typedef void(* | Factory4_data2Cb_t) (const char *data, int dataSize, const char *data2, int data2Size) |
typedef void(* | Factory4_mapEventCb_t) (const char *data, int dataSize, int width, int height, int resolution, int offsetx, int offsety, int sequence) |
Functions | |
DLLEXPORT Factory4Id | Factory4_construct () |
DLLEXPORT BOOL | Factory4_destroy (Factory4Id id) |
DLLEXPORT BOOL | Factory4_setComId (Factory4Id id, ComId comId) |
DLLEXPORT BOOL | Factory4_processEvents (Factory4Id id) |
DLLEXPORT BOOL | Factory4_sendMessage (Factory4Id id, const char *message) |
DLLEXPORT BOOL | Factory4_setMapPlanner (Factory4Id id, const char *data, unsigned int dataSize) |
DLLEXPORT BOOL | Factory4_mapDirRequest (Factory4Id id, const char *infoData, const unsigned int infoDataSize, const char *data, const unsigned int dataSize) |
DLLEXPORT BOOL | Factory4_savePathNetwork (Factory4Id id, const char *data, const unsigned int dataSize) |
DLLEXPORT BOOL | Factory4_setSmartLocations (Factory4Id id, const char *data, const unsigned int dataSize) |
DLLEXPORT BOOL | Factory4_setSmartStations (Factory4Id id, const char *data, const unsigned int dataSize) |
DLLEXPORT BOOL | Factory4_setMclayoutEventCb (Factory4Id id, Factory4_data1Cb_t func) |
DLLEXPORT BOOL | Factory4_setMcstatusEventCb (Factory4Id id, Factory4_data1Cb_t func) |
DLLEXPORT BOOL | Factory4_setPathnetworkEventCb (Factory4Id id, Factory4_data1Cb_t func) |
DLLEXPORT BOOL | Factory4_setLocalizationModeEventCb (Factory4Id id, Factory4_data1Cb_t func) |
DLLEXPORT BOOL | Factory4_setSmartlogEventCb (Factory4Id id, Factory4_data1Cb_t func) |
DLLEXPORT BOOL | Factory4_setSmartnavigationplanEventCb (Factory4Id id, Factory4_data1Cb_t func) |
DLLEXPORT BOOL | Factory4_setSmartlocationsEventCb (Factory4Id id, Factory4_data1Cb_t func) |
DLLEXPORT BOOL | Factory4_setSmartstationsEventCb (Factory4Id id, Factory4_data1Cb_t func) |
DLLEXPORT BOOL | Factory4_setSmartrobotinfoEventCb (Factory4Id id, Factory4_data1Cb_t func) |
DLLEXPORT BOOL | Factory4_setSmartmyrobotidEventCb (Factory4Id id, Factory4_data1Cb_t func) |
DLLEXPORT BOOL | Factory4_setSmartjoblistEventCb (Factory4Id id, Factory4_data1Cb_t func) |
DLLEXPORT BOOL | Factory4_setMapDirEventCb (Factory4Id id, Factory4_data1Cb_t func) |
DLLEXPORT BOOL | Factory4_setMapDirWithDataEventCb (Factory4Id id, Factory4_data2Cb_t func) |
DLLEXPORT BOOL | Factory4_setFleetcom_responseEventCb (Factory4Id id, Factory4_data1Cb_t func) |
DLLEXPORT BOOL | Factory4_setMapDir_responseEventCb (Factory4Id id, Factory4_data2Cb_t func) |
DLLEXPORT BOOL | Factory4_setSmartlicenseEventCb (Factory4Id id, Factory4_data1Cb_t func) |
DLLEXPORT BOOL | Factory4_setMapEventCb (Factory4Id id, Factory4_mapEventCb_t func) |
DLLEXPORT BOOL | Factory4_setMapPlannerEventCb (Factory4Id id, Factory4_mapEventCb_t func) |
In "rec/robotino/api2/c/Factory4.h" you can find functions for reading Robotino's bumper.
Use Factory4_construct() to create a new Factory4 object. Associate the Factory4 object with a com object using Factory4_setComId(). Use Factory4_setSetPointSpeed() to set the Factory4's speed.
#define INVALID_FACTORY4ID -1 |
Invalid Factory4Id is -1
typedef void(* Factory4_mapEventCb_t) (const char *data, int dataSize, int width, int height, int resolution, int offsetx, int offsety, int sequence) |
The current map used for localization and navigation as jpg image.
typedef int Factory4Id |
Factory4Id
DLLEXPORT Factory4Id Factory4_construct | ( | ) |
Construct an Factory4 object
DLLEXPORT BOOL Factory4_destroy | ( | Factory4Id | id | ) |
Destroy the Factory4 object assigned to id
id | The id of the Factory4 object to be destroyed |
DLLEXPORT BOOL Factory4_setComId | ( | Factory4Id | id, |
ComId | comId | ||
) |
Associated a Factory4 object with a communication interface, i.e. binding the Factory4 to a specific Robotino
DLLEXPORT BOOL Factory4_setMapPlanner | ( | Factory4Id | id, |
const char * | data, | ||
unsigned int | dataSize | ||
) |
Send a modified version of the navigation map to the robot. Provide data as png image.
DLLEXPORT BOOL Factory4_setMapPlannerEventCb | ( | Factory4Id | id, |
Factory4_mapEventCb_t | func | ||
) |
The navigation map as png image