![]() |
AUBO SDK
0.26.0
|
#include <robot_state.h>
Public Member Functions | |
| RobotState () | |
| virtual | ~RobotState () |
| RobotModeType | getRobotModeType () |
| Get the robot mode state | |
| SafetyModeType | getSafetyModeType () |
| Get the safety mode | |
| bool | isPowerOn () |
| Get the robot power-on state | |
| bool | isSteady () |
| Whether the robot has stopped | |
| bool | isCollisionOccurred () |
| Whether a collision has occurred | |
| bool | isWithinSafetyLimits () |
| Whether the robot is within safety limits | |
| std::vector< double > | getTcpPose () |
| Get the current TCP pose. | |
| std::vector< double > | getActualTcpOffset () |
| Get the current TCP offset, which is the TCP offset used by the pose returned from getTcpPose | |
| std::vector< double > | getTargetTcpPose () |
| Get the next target waypoint. | |
| std::vector< double > | getToolPose () |
| Get the tool pose (without TCP offset) | |
| std::vector< double > | getTcpSpeed () |
| Get the TCP speed | |
| std::vector< double > | getTcpForce () |
| Get the TCP force/torque | |
| std::vector< double > | getElbowPosistion () |
| Get the position of the elbow | |
| std::vector< double > | getElbowVelocity () |
| Get the elbow velocity | |
| std::vector< double > | getBaseForce () |
| Get the base force/torque | |
| std::vector< double > | getTcpTargetPose () |
| Get the last sent TCP target pose | |
| std::vector< double > | getTcpTargetSpeed () |
| Get the TCP target speed | |
| std::vector< double > | getTcpTargetForce () |
| Get the TCP target force/torque | |
| std::vector< JointStateType > | getJointState () |
| Get the joint state of the manipulator | |
| std::vector< JointServoModeType > | getJointServoMode () |
| Get the servo state of the joints | |
| std::vector< double > | getJointPositions () |
| Get the joint positions of the manipulator | |
| std::vector< double > | getJointPositionsHistory (int steps) |
| Get the historical joint positions of the manipulator | |
| std::vector< double > | getJointSpeeds () |
| Get the joint speeds of the manipulator | |
| std::vector< double > | getJointAccelerations () |
| Get the joint accelerations of the manipulator | |
| std::vector< double > | getJointTorqueSensors () |
| Get the joint torques of the manipulator | |
| std::vector< double > | getJointContactTorques () |
| Get the joint contact torques (external torques) of the manipulator | |
| std::vector< double > | getBaseForceSensor () |
| Get the base force sensor readings | |
| std::vector< double > | getTcpForceSensors () |
| Get the TCP force sensor readings | |
| std::vector< double > | getJointCurrents () |
| Get the joint currents of the manipulator | |
| std::vector< double > | getJointVoltages () |
| Get the joint voltages of the manipulator | |
| std::vector< double > | getJointTemperatures () |
| Get the joint temperatures of the manipulator | |
| std::vector< std::string > | getJointUniqueIds () |
| Get the globally unique IDs of the joints | |
| std::vector< int > | getJointFirmwareVersions () |
| Get the joint firmware versions | |
| std::vector< int > | getJointHardwareVersions () |
| Get the joint hardware versions | |
| std::string | getMasterBoardUniqueId () |
| Get the globally unique ID of the MasterBoard | |
| int | getMasterBoardFirmwareVersion () |
| Get the MasterBoard firmware version | |
| int | getMasterBoardHardwareVersion () |
| Get the MasterBoard hardware version | |
| std::string | getSlaveBoardUniqueId () |
| Get the globally unique ID of the SlaveBoard | |
| int | getSlaveBoardFirmwareVersion () |
| Get the SlaveBoard firmware version | |
| int | getSlaveBoardHardwareVersion () |
| Get the SlaveBoard hardware version | |
| std::string | getToolUniqueId () |
| Get the globally unique ID of the tool | |
| int | getToolFirmwareVersion () |
| Get the tool firmware version | |
| int | getToolHardwareVersion () |
| Get the tool hardware version | |
| int | getToolCommMode () |
| Get the tool communication mode | |
| std::string | getPedestalUniqueId () |
| Get the globally unique ID of the pedestal | |
| int | getPedestalFirmwareVersion () |
| Get the pedestal firmware version | |
| int | getPedestalHardwareVersion () |
| Get the pedestal hardware version | |
| std::vector< double > | getJointTargetPositions () |
| Get the target joint positions (angles) of the manipulator | |
| std::vector< double > | getJointTargetSpeeds () |
| Get the target joint speeds of the manipulator | |
| std::vector< double > | getJointTargetAccelerations () |
| Get the target joint accelerations of the manipulator | |
| std::vector< double > | getJointTargetTorques () |
| Get the target joint torques of the manipulator | |
| std::vector< double > | getJointTargetCurrents () |
| Get the target joint currents of the manipulator | |
| bool | isTeachPendantEnabled () |
| Get whether the teach pendant is enabled. | |
| bool | isToolFlangeEnabled () |
| Get whether the tool flange is enabled. | |
| double | getControlBoxTemperature () |
| Get the control box temperature | |
| double | getControlBoxHumidity () |
| Get the control box humidity | |
| double | getMainVoltage () |
| Get the main bus voltage | |
| double | getMainCurrent () |
| Get the main bus current | |
| double | getRobotVoltage () |
| Get the robot voltage | |
| double | getRobotCurrent () |
| Get the robot current | |
| int | getSlowDownLevel () |
| Get the robot slow down level | |
| bool | getTcpForceSensorStatus (const std::string &name) |
| Get the communication status of the tool force sensor | |
Protected Attributes | |
| void * | d_ |
Definition at line 15 of file robot_state.h.
| arcs::common_interface::RobotState::RobotState | ( | ) |
|
virtual |
| std::vector< double > arcs::common_interface::RobotState::getActualTcpOffset | ( | ) |
Get the current TCP offset, which is the TCP offset used by the pose returned from getTcpPose
| std::vector< double > arcs::common_interface::RobotState::getBaseForce | ( | ) |
Get the base force/torque
| arcs::common_interface::AuboException |
| std::vector< double > arcs::common_interface::RobotState::getBaseForceSensor | ( | ) |
Get the base force sensor readings
| arcs::common_interface::AuboException |
| double arcs::common_interface::RobotState::getControlBoxHumidity | ( | ) |
Get the control box humidity
| arcs::common_interface::AuboException |
| double arcs::common_interface::RobotState::getControlBoxTemperature | ( | ) |
Get the control box temperature
| arcs::common_interface::AuboException |
| std::vector< double > arcs::common_interface::RobotState::getElbowPosistion | ( | ) |
Get the position of the elbow
| arcs::common_interface::AuboException |
| std::vector< double > arcs::common_interface::RobotState::getElbowVelocity | ( | ) |
Get the elbow velocity
| arcs::common_interface::AuboException |
| std::vector< double > arcs::common_interface::RobotState::getJointAccelerations | ( | ) |
Get the joint accelerations of the manipulator
| arcs::common_interface::AuboException |
| std::vector< double > arcs::common_interface::RobotState::getJointContactTorques | ( | ) |
Get the joint contact torques (external torques) of the manipulator
| arcs::common_interface::AuboException |
| std::vector< double > arcs::common_interface::RobotState::getJointCurrents | ( | ) |
Get the joint currents of the manipulator
| arcs::common_interface::AuboException |
| std::vector< int > arcs::common_interface::RobotState::getJointFirmwareVersions | ( | ) |
Get the joint firmware versions
| arcs::common_interface::AuboException |
| std::vector< int > arcs::common_interface::RobotState::getJointHardwareVersions | ( | ) |
Get the joint hardware versions
| arcs::common_interface::AuboException |
| std::vector< double > arcs::common_interface::RobotState::getJointPositions | ( | ) |
Get the joint positions of the manipulator
| arcs::common_interface::AuboException |
| std::vector< double > arcs::common_interface::RobotState::getJointPositionsHistory | ( | int | steps | ) |
Get the historical joint positions of the manipulator
| steps | Number of steps |
| std::vector< JointServoModeType > arcs::common_interface::RobotState::getJointServoMode | ( | ) |
Get the servo state of the joints
| arcs::common_interface::AuboException |
| std::vector< double > arcs::common_interface::RobotState::getJointSpeeds | ( | ) |
Get the joint speeds of the manipulator
| arcs::common_interface::AuboException |
| std::vector< JointStateType > arcs::common_interface::RobotState::getJointState | ( | ) |
Get the joint state of the manipulator
| arcs::common_interface::AuboException |
| std::vector< double > arcs::common_interface::RobotState::getJointTargetAccelerations | ( | ) |
Get the target joint accelerations of the manipulator
| arcs::common_interface::AuboException |
| std::vector< double > arcs::common_interface::RobotState::getJointTargetCurrents | ( | ) |
Get the target joint currents of the manipulator
| arcs::common_interface::AuboException |
| std::vector< double > arcs::common_interface::RobotState::getJointTargetPositions | ( | ) |
Get the target joint positions (angles) of the manipulator
| arcs::common_interface::AuboException |
| std::vector< double > arcs::common_interface::RobotState::getJointTargetSpeeds | ( | ) |
Get the target joint speeds of the manipulator
| arcs::common_interface::AuboException |
| std::vector< double > arcs::common_interface::RobotState::getJointTargetTorques | ( | ) |
Get the target joint torques of the manipulator
| arcs::common_interface::AuboException |
| std::vector< double > arcs::common_interface::RobotState::getJointTemperatures | ( | ) |
Get the joint temperatures of the manipulator
| arcs::common_interface::AuboException |
| std::vector< double > arcs::common_interface::RobotState::getJointTorqueSensors | ( | ) |
Get the joint torques of the manipulator
| arcs::common_interface::AuboException |
| std::vector< std::string > arcs::common_interface::RobotState::getJointUniqueIds | ( | ) |
Get the globally unique IDs of the joints
| arcs::common_interface::AuboException |
| std::vector< double > arcs::common_interface::RobotState::getJointVoltages | ( | ) |
Get the joint voltages of the manipulator
| arcs::common_interface::AuboException |
| double arcs::common_interface::RobotState::getMainCurrent | ( | ) |
Get the main bus current
| arcs::common_interface::AuboException |
| double arcs::common_interface::RobotState::getMainVoltage | ( | ) |
Get the main bus voltage
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotState::getMasterBoardFirmwareVersion | ( | ) |
Get the MasterBoard firmware version
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotState::getMasterBoardHardwareVersion | ( | ) |
Get the MasterBoard hardware version
| arcs::common_interface::AuboException |
| std::string arcs::common_interface::RobotState::getMasterBoardUniqueId | ( | ) |
Get the globally unique ID of the MasterBoard
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotState::getPedestalFirmwareVersion | ( | ) |
Get the pedestal firmware version
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotState::getPedestalHardwareVersion | ( | ) |
Get the pedestal hardware version
| arcs::common_interface::AuboException |
| std::string arcs::common_interface::RobotState::getPedestalUniqueId | ( | ) |
Get the globally unique ID of the pedestal
| arcs::common_interface::AuboException |
| double arcs::common_interface::RobotState::getRobotCurrent | ( | ) |
Get the robot current
| arcs::common_interface::AuboException |
| RobotModeType arcs::common_interface::RobotState::getRobotModeType | ( | ) |
Get the robot mode state
| arcs::common_interface::AuboException |
| double arcs::common_interface::RobotState::getRobotVoltage | ( | ) |
Get the robot voltage
| arcs::common_interface::AuboException |
| SafetyModeType arcs::common_interface::RobotState::getSafetyModeType | ( | ) |
Get the safety mode
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotState::getSlaveBoardFirmwareVersion | ( | ) |
Get the SlaveBoard firmware version
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotState::getSlaveBoardHardwareVersion | ( | ) |
Get the SlaveBoard hardware version
| arcs::common_interface::AuboException |
| std::string arcs::common_interface::RobotState::getSlaveBoardUniqueId | ( | ) |
Get the globally unique ID of the SlaveBoard
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotState::getSlowDownLevel | ( | ) |
Get the robot slow down level
| arcs::common_interface::AuboException |
| std::vector< double > arcs::common_interface::RobotState::getTargetTcpPose | ( | ) |
Get the next target waypoint.
Note the difference from getTcpTargetPose; the definition here is ambiguous and the naming needs improvement.
The pose is represented as (x, y, z, rx, ry, rz). x, y, z are the target position of the Tool Center Point (TCP) in the base coordinate system, in meters. rx, ry, rz are the target orientation of the TCP in the base coordinate system, as ZYX Euler angles in radians.
| arcs::common_interface::AuboException |
| std::vector< double > arcs::common_interface::RobotState::getTcpForce | ( | ) |
Get the TCP force/torque
| std::vector< double > arcs::common_interface::RobotState::getTcpForceSensors | ( | ) |
Get the TCP force sensor readings
| arcs::common_interface::AuboException |
| bool arcs::common_interface::RobotState::getTcpForceSensorStatus | ( | const std::string & | name | ) |
Get the communication status of the tool force sensor
| name | force sensor name, it is consistent with the parameters of 'selectTcpForceSensor' |
| arcs::common_interface::AuboException |
| std::vector< double > arcs::common_interface::RobotState::getTcpPose | ( | ) |
Get the current TCP pose.
The TCP offset can be obtained by getActualTcpOffset.
The pose is represented as (x, y, z, rx, ry, rz). x, y, z are the position of the Tool Center Point (TCP) in the base coordinate system, in meters. rx, ry, rz are the orientation of the TCP in the base coordinate system, as ZYX Euler angles in radians.
| arcs::common_interface::AuboException |
| std::vector< double > arcs::common_interface::RobotState::getTcpSpeed | ( | ) |
Get the TCP speed
| arcs::common_interface::AuboException |
| std::vector< double > arcs::common_interface::RobotState::getTcpTargetForce | ( | ) |
Get the TCP target force/torque
| arcs::common_interface::AuboException |
| std::vector< double > arcs::common_interface::RobotState::getTcpTargetPose | ( | ) |
Get the last sent TCP target pose
| arcs::common_interface::AuboException |
| std::vector< double > arcs::common_interface::RobotState::getTcpTargetSpeed | ( | ) |
Get the TCP target speed
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotState::getToolCommMode | ( | ) |
Get the tool communication mode
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotState::getToolFirmwareVersion | ( | ) |
Get the tool firmware version
| arcs::common_interface::AuboException |
| int arcs::common_interface::RobotState::getToolHardwareVersion | ( | ) |
Get the tool hardware version
| arcs::common_interface::AuboException |
| std::vector< double > arcs::common_interface::RobotState::getToolPose | ( | ) |
Get the tool pose (without TCP offset)
The pose is represented as (x, y, z, rx, ry, rz). x, y, z are the target position of the flange center in the base coordinate system, in meters. rx, ry, rz are the target orientation of the flange center in the base coordinate system, as ZYX Euler angles in radians.
| arcs::common_interface::AuboException |
| std::string arcs::common_interface::RobotState::getToolUniqueId | ( | ) |
Get the globally unique ID of the tool
| arcs::common_interface::AuboException |
| bool arcs::common_interface::RobotState::isCollisionOccurred | ( | ) |
Whether a collision has occurred
| arcs::common_interface::AuboException |
| bool arcs::common_interface::RobotState::isPowerOn | ( | ) |
Get the robot power-on state
| arcs::common_interface::AuboException |
| bool arcs::common_interface::RobotState::isSteady | ( | ) |
Whether the robot has stopped
| arcs::common_interface::AuboException |
| bool arcs::common_interface::RobotState::isTeachPendantEnabled | ( | ) |
Get whether the teach pendant is enabled.
Indicates whether the enable button of teach pendant is in the pressed state.
| arcs::common_interface::AuboException |
| bool arcs::common_interface::RobotState::isToolFlangeEnabled | ( | ) |
Get whether the tool flange is enabled.
| arcs::common_interface::AuboException |
| bool arcs::common_interface::RobotState::isWithinSafetyLimits | ( | ) |
Whether the robot is within safety limits
| arcs::common_interface::AuboException |
|
protected |
Definition at line 2951 of file robot_state.h.