![]() |
AUBO SDK
0.26.0
|
#include <robot_manage.h>
Public Member Functions | |
| RobotManage () | |
| virtual | ~RobotManage () |
| int | poweron () |
| Initiate robot power-on request | |
| int | startup () |
| Initiate robot startup request | |
| int | releaseRobotBrake () |
| Initiate robot brake release request | |
| int | lockRobotBrake () |
| Initiate robot brake lock request | |
| int | poweroff () |
| Initiate robot power-off request | |
| int | backdrive (bool enable) |
| Initiate robot backdrive request | |
| int | freedrive (bool enable) |
| Initiate robot freedrive request This interface is deprecated after software version 0.31.x, use handguideMode instead: handguideMode({1,1,1,1,1}, {0,0,0,0,0,0}) | |
| int | handguideMode (const std::vector< int > &freeAxes, const std::vector< double > &feature) |
| Advanced hand-guiding mode | |
| int | exitHandguideMode () |
| Exit hand-guiding mode | |
| int | getHandguideStatus () |
| Get the status of the hand-guiding device (whether it is in a singular space) | |
| int | getHandguideTrigger () |
| Get the trigger source of the hand-guiding device | |
| bool | isHandguideEnabled () |
| Get the hand-guiding enable status | |
| int | setSim (bool enable) |
| Initiate robot enter/exit simulation mode request | |
| int | setOperationalMode (OperationalModeType mode) |
| Set the robot operational mode | |
| OperationalModeType | getOperationalMode () |
| Get the robot operational mode | |
| RobotControlModeType | getRobotControlMode () |
| Get the control mode | |
| bool | isFreedriveEnabled () |
| Whether the freedrive mode is enabled | |
| bool | isBackdriveEnabled () |
| Whether the backdrive mode is enabled | |
| bool | isSimulationEnabled () |
| Whether the simulation mode is enabled | |
| int | setUnlockProtectiveStop () |
| Clear protective stop, including collision stop | |
| int | restartInterfaceBoard () |
| Reset the safety interface board, usually called after the robot is powered off and needs to be reset, such as after emergency stop or fault. | |
| int | startRecord (const std::string &file_name) |
| Start real-time trajectory recording | |
| int | stopRecord () |
| Stop real-time recording | |
| int | pauseRecord (bool pause) |
| Pause real-time recording | |
| int | setLinkModeEnable (bool enable) |
| Initiate robot enter/exit link mode request. | |
| bool | isLinkModeEnabled () |
| Whether the link mode is enabled. | |
| int | generateDiagnoseFile (const std::string &reason) |
| Manually trigger the generation of a diagnostic file | |
Protected Attributes | |
| void * | d_ |
Definition at line 16 of file robot_manage.h.
| arcs::common_interface::RobotManage::RobotManage | ( | ) |
|
virtual |
| int arcs::common_interface::RobotManage::backdrive | ( | bool | enable | ) |
Initiate robot backdrive request
| enable |
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotManage::exitHandguideMode | ( | ) |
Exit hand-guiding mode
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotManage::freedrive | ( | bool | enable | ) |
Initiate robot freedrive request This interface is deprecated after software version 0.31.x, use handguideMode instead: handguideMode({1,1,1,1,1}, {0,0,0,0,0,0})
| enable |
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotManage::generateDiagnoseFile | ( | const std::string & | reason | ) |
Manually trigger the generation of a diagnostic file
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotManage::getHandguideStatus | ( | ) |
Get the status of the hand-guiding device (whether it is in a singular space)
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotManage::getHandguideTrigger | ( | ) |
Get the trigger source of the hand-guiding device
| arcs::common_interface::AuboException |
| OperationalModeType arcs::common_interface::RobotManage::getOperationalMode | ( | ) |
Get the robot operational mode
| arcs::common_interface::AuboException |
| RobotControlModeType arcs::common_interface::RobotManage::getRobotControlMode | ( | ) |
Get the control mode
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotManage::handguideMode | ( | const std::vector< int > & | freeAxes, |
| const std::vector< double > & | feature | ||
| ) |
Advanced hand-guiding mode
| freeAxes | Axes that can be moved: 0-cannot move, 1-can move |
| feature | If the dimension is 0, it means hand-guiding based on the TCP coordinate system |
| arcs::common_interface::AuboException |
| bool arcs::common_interface::RobotManage::isBackdriveEnabled | ( | ) |
Whether the backdrive mode is enabled
| arcs::common_interface::AuboException |
| bool arcs::common_interface::RobotManage::isFreedriveEnabled | ( | ) |
Whether the freedrive mode is enabled
| arcs::common_interface::AuboException |
| bool arcs::common_interface::RobotManage::isHandguideEnabled | ( | ) |
Get the hand-guiding enable status
| arcs::common_interface::AuboException |
| bool arcs::common_interface::RobotManage::isLinkModeEnabled | ( | ) |
Whether the link mode is enabled.
In link mode, users can control the robot via external IO (users can configure the IO functions).
| arcs::common_interface::AuboException |
| bool arcs::common_interface::RobotManage::isSimulationEnabled | ( | ) |
Whether the simulation mode is enabled
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotManage::lockRobotBrake | ( | ) |
Initiate robot brake lock request
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotManage::pauseRecord | ( | bool | pause | ) |
Pause real-time recording
| pause |
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotManage::poweroff | ( | ) |
Initiate robot power-off request
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotManage::poweron | ( | ) |
Initiate robot power-on request
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotManage::releaseRobotBrake | ( | ) |
Initiate robot brake release request
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotManage::restartInterfaceBoard | ( | ) |
Reset the safety interface board, usually called after the robot is powered off and needs to be reset, such as after emergency stop or fault.
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotManage::setLinkModeEnable | ( | bool | enable | ) |
Initiate robot enter/exit link mode request.
Link mode can only be enabled when the operation mode is Automatic or None.
| enable |
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotManage::setOperationalMode | ( | OperationalModeType | mode | ) |
Set the robot operational mode
| mode | Operational mode |
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotManage::setSim | ( | bool | enable | ) |
Initiate robot enter/exit simulation mode request
| enable |
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotManage::setUnlockProtectiveStop | ( | ) |
Clear protective stop, including collision stop
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotManage::startRecord | ( | const std::string & | file_name | ) |
Start real-time trajectory recording
| file_name |
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotManage::startup | ( | ) |
Initiate robot startup request
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotManage::stopRecord | ( | ) |
Stop real-time recording
| arcs::common_interface::AuboException |
|
protected |
Definition at line 1607 of file robot_manage.h.