|
AGVC SDK
0.8.0
|
|
|
|
Functions | |
| int | agvc_interface::AgvcInterface::setSystemClock (const std::string &stamp) |
| Sets the AGV system time. | |
| AsyncInterfaceResultStatus | agvc_interface::AgvcInterface::getAsyncInterfaceResultStatus () |
| Queries the running status of asynchronous APIs; this does not represent each API's own execution result. | |
| std::vector< std::string > | agvc_interface::AgvcInterface::getWifiList () |
| Gets the currently scanned WiFi list. | |
| int | agvc_interface::AgvcInterface::connectWifi (const std::string &ssid, const std::string &password) |
| Connects to the specified WiFi and automatically switches to WiFi mode. | |
| int | agvc_interface::AgvcInterface::enableHotspot (const std::string &password) |
| Enables hotspot mode and automatically switches to hotspot mode. | |
| std::vector< IpAddressInfo > | agvc_interface::AgvcInterface::getIpAddressList () |
| Gets all local IP addresses. | |
| std::string | agvc_interface::AgvcInterface::getAgvControllerParametersFile () |
| Gets the AGV controller parameter file. | |
| int | agvc_interface::AgvcInterface::setAgvControllerParametersFile (const std::string &agv_parameters) |
| Sets the AGV controller parameter file. | |
| int | agvc_interface::AgvcInterface::refreshAgvControllerParametersFile () |
| Refreshes parameters on AGV nodes after the AGV controller parameter file is modified. | |
| int | agvc_interface::AgvcInterface::resetAgvControllerParametersFile () |
| Restores the AGV controller parameter file to factory defaults. | |
| int | agvc_interface::AgvcInterface::updateSoftware (const std::string &upgrade_pack_path) |
| Upgrades AGV software. | |
| std::vector< std::string > | agvc_interface::AgvcInterface::getSoftwareVersionList () |
| Gets the AGV software version list. | |
| int | agvc_interface::AgvcInterface::switchSoftwareVersion (const std::string &software_version) |
| Switches the AGV software version. | |
| int | agvc_interface::AgvcInterface::uninstallSoftware (const std::string &software_version) |
| Uninstalls an AGV software version. | |
| int | agvc_interface::AgvcInterface::updateFirmware (const FirmwareUpdateParam &update_firmware) |
| Updates AGV firmware. | |
| FirmwareUpdateProcessInfo | agvc_interface::AgvcInterface::getUpdateFirmwareProcess () |
| Gets firmware update process information. | |
| int | agvc_interface::AgvcInterface::startCollectCalibrationData (const CalibrationType &type, const Header &command_header={ "99999", "99999", 1, "99999" }) |
| Starts collecting calibration data. | |
| int | agvc_interface::AgvcInterface::cancelCollectCalibrationData (const CalibrationType &type, const Header &command_header={ "99999", "99999", 1, "99999" }) |
| Cancels calibration data collection. | |
| int | agvc_interface::AgvcInterface::startCalibration (const CalibrationType &type, const Header &command_header={ "99999", "99999", 1, "99999" }) |
| Starts calibration. | |
| CalibrationProcessInfo | agvc_interface::AgvcInterface::getCalibrationProcessInfo (const CalibrationType &type) |
| Gets calibration information. | |
| int | agvc_interface::AgvcInterface::restartAgv () |
| Restarts the AGV. | |
| int | agvc_interface::AgvcInterface::setAgvName (const std::string &agv_name) |
| Sets the AGV name. | |
| int | agvc_interface::AgvcInterface::setPriority (const std::string &name, const std::string &ip="") |
| Sets control priority. | |
| int | agvc_interface::AgvcInterface::releasePriority () |
| Releases control priority. | |
| int | agvc_interface::AgvcInterface::scriptPaused () |
| Pauses the script. | |
| int | agvc_interface::AgvcInterface::scriptResume () |
| Resumes the script. | |
| int | agvc_interface::AgvcInterface::scriptStop () |
| Stops the script. | |
| int | agvc_interface::AgvcInterface::setScriptStatus (ScriptRuntimeState status) |
| Sets the script runtime state. | |
| int | agvc_interface::AgvcInterface::autoAlignRailway (const Header &command_header={ "99999", "99999", 1, "99999" }) |
| Automatically aligns with the rail and boards the rail. | |
System-level functions for AGVC configuration, control priority, software upgrades, and firmware updates.
| int agvc_interface::AgvcInterface::autoAlignRailway | ( | const Header & | command_header = { "99999", "99999", 1, "99999" } | ) |
Automatically aligns with the rail and boards the rail.
| [in] | command_header | The id field is the ID of this command; other fields have no special meaning. |
| int agvc_interface::AgvcInterface::cancelCollectCalibrationData | ( | const CalibrationType & | type, |
| const Header & | command_header = { "99999", "99999", 1, "99999" } ) |
Cancels calibration data collection.
| [in] | type | Calibration type. |
| [in] | command_header | The id field is the ID of this command; other fields have no special meaning. |
| int agvc_interface::AgvcInterface::connectWifi | ( | const std::string & | ssid, |
| const std::string & | password ) |
Connects to the specified WiFi and automatically switches to WiFi mode.
| [in] | ssid | WiFi SSID. |
| [in] | password | WiFi password. |
| int agvc_interface::AgvcInterface::enableHotspot | ( | const std::string & | password | ) |
Enables hotspot mode and automatically switches to hotspot mode.
| [in] | password | Hotspot password. If empty, "administrator" is used as the default password, and the SSID defaults to the SN. |
| std::string agvc_interface::AgvcInterface::getAgvControllerParametersFile | ( | ) |
Gets the AGV controller parameter file.
| AsyncInterfaceResultStatus agvc_interface::AgvcInterface::getAsyncInterfaceResultStatus | ( | ) |
Queries the running status of asynchronous APIs; this does not represent each API's own execution result.
| CalibrationProcessInfo agvc_interface::AgvcInterface::getCalibrationProcessInfo | ( | const CalibrationType & | type | ) |
Gets calibration information.
| [in] | type | Calibration type. |
| std::vector< IpAddressInfo > agvc_interface::AgvcInterface::getIpAddressList | ( | ) |
Gets all local IP addresses.
| std::vector< std::string > agvc_interface::AgvcInterface::getSoftwareVersionList | ( | ) |
Gets the AGV software version list.
| FirmwareUpdateProcessInfo agvc_interface::AgvcInterface::getUpdateFirmwareProcess | ( | ) |
Gets firmware update process information.
| std::vector< std::string > agvc_interface::AgvcInterface::getWifiList | ( | ) |
Gets the currently scanned WiFi list.
| int agvc_interface::AgvcInterface::refreshAgvControllerParametersFile | ( | ) |
Refreshes parameters on AGV nodes after the AGV controller parameter file is modified.
| int agvc_interface::AgvcInterface::releasePriority | ( | ) |
Releases control priority.
| int agvc_interface::AgvcInterface::resetAgvControllerParametersFile | ( | ) |
Restores the AGV controller parameter file to factory defaults.
| int agvc_interface::AgvcInterface::restartAgv | ( | ) |
Restarts the AGV.
| int agvc_interface::AgvcInterface::scriptPaused | ( | ) |
Pauses the script.
| int agvc_interface::AgvcInterface::scriptResume | ( | ) |
Resumes the script.
| int agvc_interface::AgvcInterface::scriptStop | ( | ) |
Stops the script.
| int agvc_interface::AgvcInterface::setAgvControllerParametersFile | ( | const std::string & | agv_parameters | ) |
Sets the AGV controller parameter file.
| [in] | agv_parameters | Parameter information for the AGV controller. |
| int agvc_interface::AgvcInterface::setAgvName | ( | const std::string & | agv_name | ) |
Sets the AGV name.
| [in] | agv_name | AGV name to set. |
| int agvc_interface::AgvcInterface::setPriority | ( | const std::string & | name, |
| const std::string & | ip = "" ) |
Sets control priority.
| [in] | name | User name registered during RPC login. |
| [in] | ip | IP address. |
| int agvc_interface::AgvcInterface::setScriptStatus | ( | ScriptRuntimeState | status | ) |
Sets the script runtime state.
| int agvc_interface::AgvcInterface::setSystemClock | ( | const std::string & | stamp | ) |
Sets the AGV system time.
| [in] | stamp | Timestamp in YYYY-MM-DDTHH:mm:ss.ssZ format, for example “2017-04-15T11:40:03.12Z”. |
| int agvc_interface::AgvcInterface::startCalibration | ( | const CalibrationType & | type, |
| const Header & | command_header = { "99999", "99999", 1, "99999" } ) |
Starts calibration.
| [in] | type | Calibration type. |
| [in] | command_header | The id field is the ID of this command; other fields have no special meaning. |
| int agvc_interface::AgvcInterface::startCollectCalibrationData | ( | const CalibrationType & | type, |
| const Header & | command_header = { "99999", "99999", 1, "99999" } ) |
Starts collecting calibration data.
| [in] | type | Calibration type. |
| [in] | command_header | The id field is the ID of this command; other fields have no special meaning. |
| int agvc_interface::AgvcInterface::switchSoftwareVersion | ( | const std::string & | software_version | ) |
Switches the AGV software version.
| [in] | software_version | Software version, for example "0.3.2+3b807d1-Linux_x86_64". |
| int agvc_interface::AgvcInterface::uninstallSoftware | ( | const std::string & | software_version | ) |
Uninstalls an AGV software version.
| [in] | software_version | Software version, for example "0.3.2+3b807d1-Linux_x86_64". |
| int agvc_interface::AgvcInterface::updateFirmware | ( | const FirmwareUpdateParam & | update_firmware | ) |
Updates AGV firmware.
| [in] | update_firmware | Configures the firmware modules to update and the firmware storage path. |
| int agvc_interface::AgvcInterface::updateSoftware | ( | const std::string & | upgrade_pack_path | ) |
Upgrades AGV software.
| [in] | upgrade_pack_path | Upgrade package path, for example "/root/agvc_release-0.1.1+398d1f7-Linux_x86_64.tar.gz". |