4#ifndef AUBO_SDK_ROBOT_STATE_INTERFACE_H
5#define AUBO_SDK_ROBOT_STATE_INTERFACE_H
9#include <aubo/global_config.h>
13namespace common_interface {
std::string getToolUniqueId()
Get the globally unique ID of the tool
bool isTeachPendantEnabled()
Get whether the teach pendant is enabled.
int getToolFirmwareVersion()
Get the tool firmware version
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
std::vector< double > getTcpSpeed()
Get the TCP speed
bool getTcpForceSensorStatus(const std::string &name)
Get the communication status of the tool force sensor
std::vector< JointServoModeType > getJointServoMode()
Get the servo state of the joints
int getSlowDownLevel()
Get the robot slow down level
std::vector< double > getBaseForce()
Get the base force/torque
std::vector< double > getTcpForce()
Get the TCP force/torque
std::vector< double > getJointTargetPositions()
Get the target joint positions (angles) of the manipulator
std::vector< double > getJointSpeeds()
Get the joint speeds of the manipulator
bool isWithinSafetyLimits()
Whether the robot is within safety limits
std::vector< double > getJointTargetSpeeds()
Get the target joint speeds of the manipulator
std::vector< double > getJointCurrents()
Get the joint currents of the manipulator
int getPedestalFirmwareVersion()
Get the pedestal firmware version
double getRobotVoltage()
Get the robot voltage
std::vector< double > getTcpTargetPose()
Get the last sent TCP target pose
double getMainCurrent()
Get the main bus current
bool isToolFlangeEnabled()
Get whether the tool flange is enabled.
std::vector< double > getJointPositionsHistory(int steps)
Get the historical joint positions of the manipulator
SafetyModeType getSafetyModeType()
Get the safety mode
double getControlBoxHumidity()
Get the control box humidity
bool isSteady()
Whether the robot has stopped
std::string getSlaveBoardUniqueId()
Get the globally unique ID of the SlaveBoard
bool isPowerOn()
Get the robot power-on state
std::vector< double > getActualTcpOffset()
Get the current TCP offset, which is the TCP offset used by the pose returned from getTcpPose
int getToolHardwareVersion()
Get the tool hardware version
bool isCollisionOccurred()
Whether a collision has occurred
std::vector< std::string > getJointUniqueIds()
Get the globally unique IDs of the joints
std::vector< double > getTargetTcpPose()
Get the next target waypoint.
int getMasterBoardFirmwareVersion()
Get the MasterBoard firmware version
std::vector< double > getToolPose()
Get the tool pose (without TCP offset)
int getSlaveBoardFirmwareVersion()
Get the SlaveBoard firmware version
int getToolCommMode()
Get the tool communication mode
std::string getPedestalUniqueId()
Get the globally unique ID of the pedestal
std::vector< JointStateType > getJointState()
Get the joint state of the manipulator
std::vector< double > getElbowPosistion()
Get the position of the elbow
double getControlBoxTemperature()
Get the control box temperature
std::vector< double > getJointAccelerations()
Get the joint accelerations of the manipulator
std::vector< double > getElbowVelocity()
Get the elbow velocity
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 > getTcpTargetSpeed()
Get the TCP target speed
double getRobotCurrent()
Get the robot current
double getMainVoltage()
Get the main bus voltage
std::vector< double > getTcpForceSensors()
Get the TCP force sensor readings
std::vector< double > getJointTemperatures()
Get the joint temperatures of the manipulator
int getPedestalHardwareVersion()
Get the pedestal hardware version
int getMasterBoardHardwareVersion()
Get the MasterBoard hardware version
std::vector< double > getJointPositions()
Get the joint positions of the manipulator
std::vector< double > getTcpPose()
Get the current TCP pose.
std::vector< int > getJointHardwareVersions()
Get the joint hardware versions
std::vector< double > getTcpTargetForce()
Get the TCP target force/torque
int getSlaveBoardHardwareVersion()
Get the SlaveBoard hardware version
std::string getMasterBoardUniqueId()
Get the globally unique ID of the MasterBoard
RobotModeType getRobotModeType()
Get the robot mode state
std::vector< double > getJointTorqueSensors()
Get the joint torques of the manipulator
std::vector< double > getJointVoltages()
Get the joint voltages of the manipulator
std::vector< int > getJointFirmwareVersions()
Get the joint firmware versions
SafetyModeType
Safety Mode.
std::shared_ptr< RobotState > RobotStatePtr