PDF
AGVC SDK  0.8.0
Station

Functions

std::vector< StationMarkagvc_interface::AgvcInterface::getAllStations ()
 Queries all station information on the current map.
std::vector< StationMarkagvc_interface::AgvcInterface::getAllStationsOfTargetMap (const Header &map_header)
 Queries all station information on the specified map.
int agvc_interface::AgvcInterface::addStation (const StationMark &station)
 Adds or modifies one station.
int agvc_interface::AgvcInterface::addStations (const std::vector< StationMark > &stations)
 Adds or modifies multiple stations.
int agvc_interface::AgvcInterface::addCPStationUseChargingBoard (const Header &station_header, const double &dis_station_board=1.5)
 Adds a charging station by automatically recognizing the charging board pose.
int agvc_interface::AgvcInterface::deleteStation (const Header &station_header)
 Deletes the specified station and its related paths.
int agvc_interface::AgvcInterface::deleteStations (const std::vector< Header > &stations_header)
 Deletes multiple stations and their related paths.

Detailed Description

Functions for adding, deleting, modifying, querying AGVC map stations, and auto-detecting charging stations.

Function Documentation

◆ addCPStationUseChargingBoard()

int agvc_interface::AgvcInterface::addCPStationUseChargingBoard ( const Header & station_header,
const double & dis_station_board = 1.5 )

Adds a charging station by automatically recognizing the charging board pose.

Since
0.7.0
Parameters
[in]station_headerCharging station information to add or modify (station ID, name, time, map ID).
[in]dis_station_boardDistance between the charging station and charging board. The charging station is at the AGV center. Unit: m; range: [1.0, 2.0].
Returns
10100000: charging station added successfully; else: failed to add the charging station.

◆ addStation()

int agvc_interface::AgvcInterface::addStation ( const StationMark & station)

Adds or modifies one station.

Parameters
[in]stationStation information to add or modify.
Returns
10100000: station added or modified successfully; else: failed to add or modify the station.

◆ addStations()

int agvc_interface::AgvcInterface::addStations ( const std::vector< StationMark > & stations)

Adds or modifies multiple stations.

Parameters
[in]stationsStation information to add or modify.
Returns
10100000: stations added or modified successfully; else: failed to add or modify stations.

◆ deleteStation()

int agvc_interface::AgvcInterface::deleteStation ( const Header & station_header)

Deletes the specified station and its related paths.

Parameters
[in]station_headerStation information to delete (station ID, name, time, map ID).
Returns
10100000: station deleted successfully; else: failed to delete the station.

◆ deleteStations()

int agvc_interface::AgvcInterface::deleteStations ( const std::vector< Header > & stations_header)

Deletes multiple stations and their related paths.

Parameters
[in]stations_headerStation information to delete (station ID, name, time, map ID).
Returns
10100000: stations deleted successfully; else: failed to delete stations.

◆ getAllStations()

std::vector< StationMark > agvc_interface::AgvcInterface::getAllStations ( )

Queries all station information on the current map.

Returns
All station information on the current map.

◆ getAllStationsOfTargetMap()

std::vector< StationMark > agvc_interface::AgvcInterface::getAllStationsOfTargetMap ( const Header & map_header)

Queries all station information on the specified map.

Parameters
[in]map_headerHeader of the specified map (command ID, name, time, map ID).
Returns
All station information on the specified map.