4 #ifndef AUBO_SDK_ROBOT_CONTROL_INTERFACE_H 5 #define AUBO_SDK_ROBOT_CONTROL_INTERFACE_H 10 #include <aubo/global_config.h> 14 namespace common_interface {
143 int backdrive(
bool enable);
180 int freedrive(
bool enable);
197 int handguideMode(
const std::vector<int> &freeAxes,
198 const std::vector<double> &feature);
213 int exitHandguideMode();
228 int getHandguideStatus();
240 int getHandguideTrigger();
256 bool isHandguideEnabled();
291 int setSim(
bool enable);
415 bool isFreedriveEnabled();
444 bool isBackdriveEnabled();
473 bool isSimulationEnabled();
504 int setUnlockProtectiveStop();
535 int restartInterfaceBoard();
551 int startRecord(
const std::string &file_name);
591 int pauseRecord(
bool pause);
626 int setLinkModeEnable(
bool enable);
655 bool isLinkModeEnabled();
663 #define RobotManage_DECLARES \ 664 _FUNC(RobotManage, 0, poweron) \ 665 _FUNC(RobotManage, 0, startup) \ 666 _FUNC(RobotManage, 0, poweroff) \ 667 _FUNC(RobotManage, 1, backdrive, enable) \ 668 _FUNC(RobotManage, 1, freedrive, enable) \ 669 _FUNC(RobotManage, 2, handguideMode, freeAxes,feature) \ 670 _FUNC(RobotManage, 0, exitHandguideMode) \ 671 _FUNC(RobotManage, 0, getHandguideStatus) \ 672 _FUNC(RobotManage, 0, getHandguideTrigger) \ 673 _FUNC(RobotManage, 0, isHandguideEnabled) \ 674 _FUNC(RobotManage, 1, setSim, enable) \ 675 _FUNC(RobotManage, 1, setOperationalMode, mode) \ 676 _FUNC(RobotManage, 0, getOperationalMode) \ 677 _FUNC(RobotManage, 0, getRobotControlMode) \ 678 _FUNC(RobotManage, 0, isSimulationEnabled) \ 679 _FUNC(RobotManage, 0, isFreedriveEnabled) \ 680 _FUNC(RobotManage, 0, isBackdriveEnabled) \ 681 _FUNC(RobotManage, 0, setUnlockProtectiveStop) \ 682 _INST(RobotManage, 1, startRecord, file_name) \ 683 _INST(RobotManage, 0, stopRecord) \ 684 _INST(RobotManage, 1, pauseRecord, pause) \ 685 _FUNC(RobotManage, 0, restartInterfaceBoard) \ 686 _FUNC(RobotManage, 1, setLinkModeEnable, enable) \ 687 _FUNC(RobotManage, 0, isLinkModeEnabled) 692 #endif // AUBO_SDK_ROBOT_CONTROL_INTERFACE_H
RobotControlModeType
机器人控制模式
std::shared_ptr< RobotManage > RobotManagePtr