|
AGVC SDK
0.8.0
|
|
|
|
Functions | |
| std::vector< Header > | agvc_interface::AgvcInterface::getMapList () |
| Gets the headers of all maps on the AGV. | |
| Header | agvc_interface::AgvcInterface::getCurrentMapHeader () |
| Queries the header of the current AGV map. | |
| OccupancyGridMap | agvc_interface::AgvcInterface::getGridMapFromAgv (const Header &map_header) |
| Gets the specified occupancy grid map information. | |
| Base64PngMap | agvc_interface::AgvcInterface::getBase64PngMapFromAgv (const Header &map_header) |
| Gets Base64-encoded PNG map information. | |
| Base64PngMap | agvc_interface::AgvcInterface::previewPngMapFromAgv (const Header &map_header, const int &image_width_px=0, const int &image_height_px=0) |
| Gets a preview image with optional width and height. | |
| int | agvc_interface::AgvcInterface::sendGridMapToAgv (const OccupancyGridMap &map) |
| Sends occupancy grid map information to the AGV. | |
| int | agvc_interface::AgvcInterface::sendBase64PngMapToAgv (const Base64PngMap &map) |
| Sends a Base64-encoded PNG map to the AGV. | |
| int | agvc_interface::AgvcInterface::saveMap (const Header &map_header) |
| Saves the map after mapping is complete. | |
| int | agvc_interface::AgvcInterface::switchMap (const Header &map_header) |
| Switches to the specified map. | |
| int | agvc_interface::AgvcInterface::deleteMap (const Header &map_header) |
| Deletes one specified map. | |
| int | agvc_interface::AgvcInterface::deleteMaps (const std::vector< Header > &map_headers) |
| Deletes multiple specified maps. | |
| std::vector< MapVirtualArea > | agvc_interface::AgvcInterface::getAllMapVirtualArea () |
| Queries virtual areas on the current map. | |
| std::vector< MapVirtualArea > | agvc_interface::AgvcInterface::getAllMapVirtualAreaOfTargetMap (const Header &map_header) |
| Queries virtual areas on the target map. | |
| int | agvc_interface::AgvcInterface::addMapVirtualArea (const MapVirtualArea &map_virtual_area) |
| Adds or modifies one virtual area. | |
| int | agvc_interface::AgvcInterface::addMapVirtualAreas (const std::vector< MapVirtualArea > &map_virtual_areas) |
| Adds or modifies multiple virtual areas. | |
| int | agvc_interface::AgvcInterface::deleteMapVirtualArea (const Header &virtual_area_header) |
| Deletes the specified virtual area. | |
| int | agvc_interface::AgvcInterface::deleteMapVirtualAreas (const std::vector< Header > &virtual_areas_header) |
| Deletes multiple specified virtual areas. | |
| MapAllInfo | agvc_interface::AgvcInterface::getGridMapAllInfo (const Header &map_header) |
| Gets occupancy grid map data, paths, stations, and virtual areas for the specified map. | |
| MapAllInfo | agvc_interface::AgvcInterface::getPngMapAllInfo (const Header &map_header) |
| Gets Base64 map data, paths, stations, and virtual areas for the specified map. | |
| int | agvc_interface::AgvcInterface::setGridMapAllInfo (const MapAllInfo &map_all_info, const Header &command_header={ "99999", "99999", 1, "99999" }) |
| Sets occupancy grid map, path, station, and virtual area information. | |
| int | agvc_interface::AgvcInterface::setPngMapAllInfo (const MapAllInfo &map_all_info, const Header &command_header={ "99999", "99999", 1, "99999" }) |
| Sets Base64 map, path, station, and virtual area information. | |
| int | agvc_interface::AgvcInterface::deleteMapAllInfo (const Header &map_header) |
| Deletes all information of the specified map, including map data, stations, paths, and virtual areas. | |
Core functions for creating, switching, deleting, reading, and writing AGVC custom maps.
| int agvc_interface::AgvcInterface::addMapVirtualArea | ( | const MapVirtualArea & | map_virtual_area | ) |
Adds or modifies one virtual area.
| [in] | map_virtual_area | Virtual area information to add or modify. |
| int agvc_interface::AgvcInterface::addMapVirtualAreas | ( | const std::vector< MapVirtualArea > & | map_virtual_areas | ) |
Adds or modifies multiple virtual areas.
| [in] | map_virtual_areas | Virtual area information to add or modify. |
| int agvc_interface::AgvcInterface::deleteMap | ( | const Header & | map_header | ) |
Deletes one specified map.
| [in] | map_header | Header of the specified map (command ID, name, time, map ID). |
| int agvc_interface::AgvcInterface::deleteMapAllInfo | ( | const Header & | map_header | ) |
Deletes all information of the specified map, including map data, stations, paths, and virtual areas.
| [in] | map_header | Header of the specified map (command ID, map name, time, map ID). |
| int agvc_interface::AgvcInterface::deleteMaps | ( | const std::vector< Header > & | map_headers | ) |
Deletes multiple specified maps.
| [in] | map_headers | Headers of the specified maps (command ID, name, time, map ID). |
| int agvc_interface::AgvcInterface::deleteMapVirtualArea | ( | const Header & | virtual_area_header | ) |
Deletes the specified virtual area.
| [in] | virtual_area_header | Header of the specified virtual area (command ID, virtual area name, time, map ID). |
| int agvc_interface::AgvcInterface::deleteMapVirtualAreas | ( | const std::vector< Header > & | virtual_areas_header | ) |
Deletes multiple specified virtual areas.
| [in] | virtual_areas_header | Headers of the specified virtual areas (command ID, virtual area name, time, map ID). |
| std::vector< MapVirtualArea > agvc_interface::AgvcInterface::getAllMapVirtualArea | ( | ) |
Queries virtual areas on the current map.
| std::vector< MapVirtualArea > agvc_interface::AgvcInterface::getAllMapVirtualAreaOfTargetMap | ( | const Header & | map_header | ) |
Queries virtual areas on the target map.
| [in] | map_header | Header of the specified map (command ID, name, time, map ID). |
| Base64PngMap agvc_interface::AgvcInterface::getBase64PngMapFromAgv | ( | const Header & | map_header | ) |
Gets Base64-encoded PNG map information.
| [in] | map_header | Header of the specified map (this asynchronous command ID, name, time, map ID). |
| Header agvc_interface::AgvcInterface::getCurrentMapHeader | ( | ) |
Queries the header of the current AGV map.
| MapAllInfo agvc_interface::AgvcInterface::getGridMapAllInfo | ( | const Header & | map_header | ) |
Gets occupancy grid map data, paths, stations, and virtual areas for the specified map.
| [in] | map_header | Header of the specified map (this asynchronous command ID, map name, time, map ID). |
| OccupancyGridMap agvc_interface::AgvcInterface::getGridMapFromAgv | ( | const Header & | map_header | ) |
Gets the specified occupancy grid map information.
| [in] | map_header | Header of the specified map (this asynchronous command ID, name, time, map ID). |
| std::vector< Header > agvc_interface::AgvcInterface::getMapList | ( | ) |
Gets the headers of all maps on the AGV.
| MapAllInfo agvc_interface::AgvcInterface::getPngMapAllInfo | ( | const Header & | map_header | ) |
Gets Base64 map data, paths, stations, and virtual areas for the specified map.
| [in] | map_header | Header of the specified map (this asynchronous command ID, map name, time, map ID). |
| Base64PngMap agvc_interface::AgvcInterface::previewPngMapFromAgv | ( | const Header & | map_header, |
| const int & | image_width_px = 0, | ||
| const int & | image_height_px = 0 ) |
Gets a preview image with optional width and height.
| [in] | map_header | Header of the specified map (this asynchronous command ID, name, time, map ID). |
| [in] | image_width_px | Map width in pixels. If the default value 0 is used, returned thumbnail data is empty. |
| [in] | image_height_px | Map height in pixels. If the default value 0 is used, returned thumbnail data is empty. |
| int agvc_interface::AgvcInterface::saveMap | ( | const Header & | map_header | ) |
Saves the map after mapping is complete.
| [in] | map_header | Map header (this asynchronous command ID, name, time, map ID). |
| int agvc_interface::AgvcInterface::sendBase64PngMapToAgv | ( | const Base64PngMap & | map | ) |
Sends a Base64-encoded PNG map to the AGV.
| [in] | map | Base64-encoded PNG map. |
| int agvc_interface::AgvcInterface::sendGridMapToAgv | ( | const OccupancyGridMap & | map | ) |
Sends occupancy grid map information to the AGV.
| [in] | map | Occupancy grid map information. |
| int agvc_interface::AgvcInterface::setGridMapAllInfo | ( | const MapAllInfo & | map_all_info, |
| const Header & | command_header = { "99999", "99999", 1, "99999" } ) |
Sets occupancy grid map, path, station, and virtual area information.
| [in] | map_all_info | All information on the occupancy grid map. |
| [in] | command_header | The id field is the ID of this command; other fields have no special meaning. |
| int agvc_interface::AgvcInterface::setPngMapAllInfo | ( | const MapAllInfo & | map_all_info, |
| const Header & | command_header = { "99999", "99999", 1, "99999" } ) |
Sets Base64 map, path, station, and virtual area information.
| [in] | map_all_info | All information on the Base64 map. |
| [in] | command_header | The id field is the ID of this command; other fields have no special meaning. |
| int agvc_interface::AgvcInterface::switchMap | ( | const Header & | map_header | ) |
Switches to the specified map.
| [in] | map_header | Header of the specified map (this asynchronous command ID, name, time, map ID). |