ARCS SDK API  0.24.0
| 命名空间 | 宏定义 | 类型定义 | 枚举 | 函数
type_def.h 文件参考

数据类型的定义 更多...

#include <stddef.h>
#include <array>
#include <vector>
#include <memory>
#include <functional>
#include <iostream>
#include <string>
type_def.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

struct  arcs::common_interface::RobotSafetyParameterRange
 
struct  arcs::common_interface::CircleParameters
 圆周运动参数定义 更多...
 
struct  arcs::common_interface::SpiralParameters
 
struct  arcs::common_interface::Enveloping
 
struct  arcs::common_interface::TrajConfig
 用于负载辨识的轨迹配置 更多...
 
struct  arcs::common_interface::RobotMsg
 
struct  arcs::common_interface::RtdeRecipe
 RTDE菜单 更多...
 
class  arcs::common_interface::AuboException
 自定义异常类 AuboException 更多...
 

命名空间

 arcs
 
 arcs::common_interface
 

宏定义

#define CARTESIAN_DOF   6
 Cartesion degree of freedom, 6 for x,y,z,rx,ry,rz. 更多...
 
#define SAFETY_PARAM_SELECT_NUM   2
 
#define SAFETY_PLANES_NUM   8
 
#define SAFETY_CUBIC_NUM   10
 
#define TOOL_CONFIGURATION_NUM   3
 
#define ENUM_AuboErrorCodes_DECLARES
 接口函数返回值定义 更多...
 
#define ENUM_RuntimeState_DECLARES
 The RuntimeState enum. 更多...
 
#define ENUM_RobotModeType_DECLARES
 The RobotModeType enum. 更多...
 
#define ENUM_SafetyModeType_DECLARES
 
#define ENUM_OperationalModeType_DECLARES
 根据ISO 10218-1:2011(E) 5.7节 Automatic: In automatic mode, the robot shall execute the task programme and the safeguarding measures shall be functioning. 更多...
 
#define ENUM_RobotControlModeType_DECLARES
 机器人的控制模式, 最终的控制对象 更多...
 
#define ENUM_JointServoModeType_DECLARES
 
#define ENUM_JointStateType_DECLARES
 
#define ENUM_StandardInputAction_DECLARES
 
#define ENUM_StandardOutputRunState_DECLARES
 
#define ENUM_SafetyInputAction_DECLARES
 
#define ENUM_SafetyOutputRunState_DECLARES
 
#define ENUM_PayloadIdentifyMoveAxis_DECLARES
 
#define ENUM_EnvelopingShape_DECLARES
 
#define ENUM_TaskFrameType_DECLARES
 
#define ENUM_TraceLevel_DECLARES
 
#define ENUM_AxisModeType_DECLARES
 
#define ENUM_SafeguedStopType_DECLARES
 
#define ENUM_ITEM(c, n, ...)   c = n,
 
#define DECL_TO_STRING_FUNC(ENUM)
 
#define ENUM_ITEM(c, n, ...)
 
#define ENUM_ITEM(n, v, s)   s,
 
#define ENUM_ITEM(n, v, s)   n##_INDEX,
 
#define ENUM_ITEM(n, v, s)
 

类型定义

using arcs::common_interface::Vector3d = std::array< double, 3 >
 
using arcs::common_interface::Vector4d = std::array< double, 4 >
 
using arcs::common_interface::Vector3f = std::array< float, 3 >
 
using arcs::common_interface::Vector4f = std::array< float, 4 >
 
using arcs::common_interface::Vector6f = std::array< float, 6 >
 
using arcs::common_interface::ResultWithErrno = std::tuple< std::vector< double >, int >
 
using arcs::common_interface::ResultWithErrno1 = std::tuple< std::vector< std::vector< double >>, int >
 
using arcs::common_interface::Payload = std::tuple< double, std::vector< double >, std::vector< double >, std::vector< double >>
 
using arcs::common_interface::ForceSensorCalibResult = std::tuple< std::vector< double >, std::vector< double >, double, std::vector< double >>
 
using arcs::common_interface::ForceSensorCalibResultWithError = std::tuple< std::vector< double >, std::vector< double >, double, std::vector< double >, double >
 
using arcs::common_interface::DynamicsModel = std::tuple< std::vector< double >, std::vector< double >, std::vector< double >>
 
using arcs::common_interface::Box = std::vector< double >
 
using arcs::common_interface::Cylinder = std::vector< double >
 
using arcs::common_interface::Sphere = std::vector< double >
 
using arcs::common_interface::RobotMsgVector = std::vector< RobotMsg >
 

枚举

enum  arcs::common_interface::AuboErrorCodes : int { arcs::common_interface::ENUM_AuboErrorCodes_DECLARES }
 
enum  arcs::common_interface::RuntimeState : int { arcs::common_interface::RuntimeState::ENUM_RuntimeState_DECLARES }
 
enum  arcs::common_interface::RobotModeType : int { arcs::common_interface::RobotModeType::ENUM_RobotModeType_DECLARES }
 
enum  arcs::common_interface::AxisModeType : int { arcs::common_interface::AxisModeType::ENUM_AxisModeType_DECLARES }
 
enum  arcs::common_interface::SafetyModeType : int { arcs::common_interface::SafetyModeType::ENUM_SafetyModeType_DECLARES }
 安全状态: 更多...
 
enum  arcs::common_interface::OperationalModeType : int { arcs::common_interface::OperationalModeType::ENUM_OperationalModeType_DECLARES }
 操作模式 更多...
 
enum  arcs::common_interface::RobotControlModeType : int { arcs::common_interface::RobotControlModeType::ENUM_RobotControlModeType_DECLARES }
 机器人控制模式 更多...
 
enum  arcs::common_interface::JointServoModeType : int { arcs::common_interface::JointServoModeType::ENUM_JointServoModeType_DECLARES }
 关节伺服模式 更多...
 
enum  arcs::common_interface::JointStateType : int { arcs::common_interface::JointStateType::ENUM_JointStateType_DECLARES }
 关节状态 更多...
 
enum  arcs::common_interface::StandardOutputRunState : int { arcs::common_interface::StandardOutputRunState::ENUM_StandardOutputRunState_DECLARES }
 标准输出运行状态 更多...
 
enum  arcs::common_interface::StandardInputAction : int { arcs::common_interface::StandardInputAction::ENUM_StandardInputAction_DECLARES }
 The StandardInputAction enum. 更多...
 
enum  arcs::common_interface::SafetyInputAction : int { arcs::common_interface::SafetyInputAction::ENUM_SafetyInputAction_DECLARES }
 
enum  arcs::common_interface::SafetyOutputRunState : int { arcs::common_interface::SafetyOutputRunState::ENUM_SafetyOutputRunState_DECLARES }
 
enum  arcs::common_interface::TaskFrameType { arcs::common_interface::ENUM_TaskFrameType_DECLARES }
 
enum  arcs::common_interface::EnvelopingShape : int { arcs::common_interface::ENUM_EnvelopingShape_DECLARES }
 
enum  arcs::common_interface::PayloadIdentifyMoveAxis : int { arcs::common_interface::ENUM_PayloadIdentifyMoveAxis_DECLARES }
 
enum  arcs::common_interface::TraceLevel { arcs::common_interface::ENUM_TraceLevel_DECLARES }
 
enum  arcs::common_interface::SafeguedStopType : int { arcs::common_interface::ENUM_SafeguedStopType_DECLARES }
 
enum  arcs::common_interface::ForceControlState { arcs::common_interface::ForceControlState::Stopped, arcs::common_interface::ForceControlState::Starting, arcs::common_interface::ForceControlState::Stropping, arcs::common_interface::ForceControlState::Running }
 
enum  arcs::common_interface::RefFrameType { arcs::common_interface::RefFrameType::None, arcs::common_interface::RefFrameType::Tool, arcs::common_interface::RefFrameType::Path, arcs::common_interface::RefFrameType::Base }
 
enum  arcs::common_interface::error_type {
  arcs::common_interface::parse_error = -32700, arcs::common_interface::invalid_request = -32600, arcs::common_interface::method_not_found = -32601, arcs::common_interface::invalid_params = -32602,
  arcs::common_interface::internal_error = -32603, arcs::common_interface::server_error, arcs::common_interface::invalid
}
 异常类型 更多...
 
enum  arcs::common_interface::ExceptionCode {
  arcs::common_interface::EC_DISCONNECTED = -1, arcs::common_interface::EC_NOT_LOGINED = -2, arcs::common_interface::EC_INVAL_SOCKET = -3, arcs::common_interface::EC_REQUEST_BUSY = -4,
  arcs::common_interface::EC_SEND_FAILED = -5, arcs::common_interface::EC_RECV_TIMEOUT = -6, arcs::common_interface::EC_RECV_ERROR = -7, arcs::common_interface::EC_PARSE_ERROR = -8,
  arcs::common_interface::EC_INVALID_REQUEST = -9, arcs::common_interface::EC_METHOD_NOT_FOUND = -10, arcs::common_interface::EC_INVALID_PARAMS = -11, arcs::common_interface::EC_INTERNAL_ERROR = -12,
  arcs::common_interface::EC_SERVER_ERROR = -13, arcs::common_interface::EC_INVALID = -14
}
 异常码 更多...
 

函数

std::ostream & arcs::common_interface::operator<< (std::ostream &os, const RobotSafetyParameterRange &vd)
 
std::ostream & arcs::common_interface::operator<< (std::ostream &os, CircleParameters p)
 
std::ostream & arcs::common_interface::operator<< (std::ostream &os, SpiralParameters p)
 
std::ostream & arcs::common_interface::operator<< (std::ostream &os, Enveloping p)
 
std::ostream & arcs::common_interface::operator<< (std::ostream &os, TrajConfig p)
 
const char * arcs::common_interface::returnValue2Str (int retval)
 

详细描述

数据类型的定义

在文件 type_def.h 中定义.

宏定义说明

#define CARTESIAN_DOF   6

Cartesion degree of freedom, 6 for x,y,z,rx,ry,rz.

在文件 type_def.h23 行定义.

#define DECL_TO_STRING_FUNC (   ENUM)
值:
inline std::string toString(ENUM v) \
{ \
using T = ENUM; \
std::string name = #ENUM "."; \
ENUM_##ENUM##_DECLARES \
\
return #ENUM ".Unkown"; \
} \
inline std::ostream &operator<<(std::ostream &os, ENUM v) \
{ \
os << toString(v); \
return os; \
}
std::ostream & operator<<(std::ostream &os, TrajConfig p)
Definition: type_def.h:655

在文件 type_def.h540 行定义.

#define ENUM_AuboErrorCodes_DECLARES

接口函数返回值定义

整数为警告,负数为错误,0为没有错误也没有警告

在文件 type_def.h185 行定义.

#define ENUM_AxisModeType_DECLARES
值:
ENUM_ITEM(NoController, -1, "提供给示教器使用的, 如果aubo_control进程崩溃则会显示为NoController") \
ENUM_ITEM(Disconnected, 0, "未连接") \
ENUM_ITEM(PowerOff, 1, "断电") \
ENUM_ITEM(BrakeReleasing, 2, "刹车松开中") \
ENUM_ITEM(Idle, 3, "空闲") \
ENUM_ITEM(Running, 4, "运行中") \
ENUM_ITEM(Fault, 5, "错误状态")
#define ENUM_ITEM(c, n,...)
Definition: type_def.h:555

在文件 type_def.h409 行定义.

#define ENUM_EnvelopingShape_DECLARES
值:
ENUM_ITEM(Cube, 1,"立方体") \
ENUM_ITEM(Column, 2,"柱状体") \
ENUM_ITEM(Stl, 3,"以STL文件的形式描述负载碰撞集合体")
#define ENUM_ITEM(c, n,...)
Definition: type_def.h:555

在文件 type_def.h382 行定义.

#define ENUM_ITEM (   c,
  n,
  ... 
)    c = n,

在文件 type_def.h555 行定义.

#define ENUM_ITEM (   c,
  n,
  ... 
)
值:
if (v == T::c) { \
return name + #c; \
}

在文件 type_def.h555 行定义.

#define ENUM_ITEM (   n,
  v,
 
)    s,

在文件 type_def.h555 行定义.

#define ENUM_ITEM (   n,
  v,
 
)    n##_INDEX,

在文件 type_def.h555 行定义.

#define ENUM_ITEM (   n,
  v,
 
)
值:
if (retval == v) \
index = n##_INDEX;

在文件 type_def.h555 行定义.

#define ENUM_JointServoModeType_DECLARES
值:
ENUM_ITEM(Unknown, -1, "未知") \
ENUM_ITEM(Open, 0, "开环模式") \
ENUM_ITEM(Current, 1, "电流伺服模式") \
ENUM_ITEM(Velocity, 2, "速度伺服模式") \
ENUM_ITEM(Position, 3, "位置伺服模式") \
ENUM_ITEM(Torque, 4, "力矩伺服模式")
#define ENUM_ITEM(c, n,...)
Definition: type_def.h:555

在文件 type_def.h302 行定义.

#define ENUM_JointStateType_DECLARES
值:
ENUM_ITEM(Poweroff, 0, "节点未连接到接口板或者已经断电") \
ENUM_ITEM(Idle, 2, "节点空闲") \
ENUM_ITEM(Fault, 3, "节点错误, 节点停止伺服运动, 刹车抱死") \
ENUM_ITEM(Running, 4, "节点伺服") \
ENUM_ITEM(Bootload, 5, "节点bootloader状态, 暂停一切通讯")
#define ENUM_ITEM(c, n,...)
Definition: type_def.h:555

在文件 type_def.h310 行定义.

#define ENUM_OperationalModeType_DECLARES
值:
ENUM_ITEM(Disabled, 0, "禁用模式: 不使用Operational Mode") \
ENUM_ITEM(Automatic, 1, "自动模式: 机器人正常工作模式, 运行速度不会被限制") \
ENUM_ITEM(Manual, 2, "手动模式: 机器人编程示教模式(T1), 机器人运行速度将会被限制或者机器人程序校验模式(T2)")
#define ENUM_ITEM(c, n,...)
Definition: type_def.h:555

根据ISO 10218-1:2011(E) 5.7节 Automatic: In automatic mode, the robot shall execute the task programme and the safeguarding measures shall be functioning.

Automatic operation shall be prevented if any stop condition is detected. Switching from this mode shall result in a stop.

在文件 type_def.h284 行定义.

#define ENUM_PayloadIdentifyMoveAxis_DECLARES
值:
ENUM_ITEM(Joint_2_6, 0,"第2和6关节运动") \
ENUM_ITEM(Joint_3_6, 1,"第3和6关节运动") \
ENUM_ITEM(Joint_4_6, 2,"第4和6关节运动") \
ENUM_ITEM(Joint_4_5_6, 3,"第4、5、6关节运动") \
#define ENUM_ITEM(c, n,...)
Definition: type_def.h:555

在文件 type_def.h376 行定义.

#define ENUM_RobotControlModeType_DECLARES
值:
ENUM_ITEM(Unknown, 0, "未知的控制模式") \
ENUM_ITEM(Position, 1, "位置控制 movej") \
ENUM_ITEM(Speed, 2, "速度控制 speedj/speedl") \
ENUM_ITEM(Servo, 3, "位置控制 servoj") \
ENUM_ITEM(Freedrive, 4, "拖动示教 freedrive_mode") \
ENUM_ITEM(Force, 5, "末端力控 force_mode") \
ENUM_ITEM(Torque, 6, "关节力矩控制") \
ENUM_ITEM(Collision, 7, "碰撞模式")
#define ENUM_ITEM(c, n,...)
Definition: type_def.h:555

机器人的控制模式, 最终的控制对象

在文件 type_def.h292 行定义.

#define ENUM_RobotModeType_DECLARES
值:
ENUM_ITEM(NoController, -1, "提供给示教器使用的, 如果aubo_control进程崩溃则会显示为NoController") \
ENUM_ITEM(Disconnected, 0, "没有连接到机械臂本体(控制器与接口板断开连接或是 EtherCAT 等总线断开)") \
ENUM_ITEM(ConfirmSafety, 1, "正在进行安全配置, 断电状态下进行") \
ENUM_ITEM(Booting, 2, "机械臂本体正在上电初始化") \
ENUM_ITEM(PowerOff, 3, "机械臂本体处于断电状态") \
ENUM_ITEM(PowerOn, 4, "机械臂本体上电成功, 刹车暂未松开(抱死), 关节初始状态未获取") \
ENUM_ITEM(Idle, 5, "机械臂上电成功, 刹车暂未松开(抱死), 电机不通电, 关节初始状态获取完成") \
ENUM_ITEM(BrakeReleasing, 6, "机械臂上电成功, 刹车正在松开") \
ENUM_ITEM(BackDrive, 7, "反向驱动:刹车松开, 电机不通电") \
ENUM_ITEM(Running, 8, "机械臂刹车松开, 运行模式, 控制权由硬件移交给软件") \
ENUM_ITEM(Maintaince, 9, "维护模式: 包括固件升级、参数写入等") \
ENUM_ITEM(Error, 10, "") \
ENUM_ITEM(PowerOffing, 11, "机械臂本体处于断电过程中")
#define ENUM_ITEM(c, n,...)
Definition: type_def.h:555

The RobotModeType enum.

硬件强相关

在文件 type_def.h249 行定义.

#define ENUM_RuntimeState_DECLARES
值:
ENUM_ITEM(Running, 0, "正在运行中") \
ENUM_ITEM(Retracting, 1, "倒退") \
ENUM_ITEM(Pausing, 2, "暂停中") \
ENUM_ITEM(Paused, 3, "暂停状态") \
ENUM_ITEM(Stepping, 4, "单步执行中") \
ENUM_ITEM(Stopping, 5, "受控停止中(保持原有轨迹)") \
ENUM_ITEM(Stopped, 6, "已停止") \
ENUM_ITEM(Aborting, 7, "停止(最大速度关节运动停机)")
#define ENUM_ITEM(c, n,...)
Definition: type_def.h:555

The RuntimeState enum.

在文件 type_def.h234 行定义.

#define ENUM_SafeguedStopType_DECLARES
值:
ENUM_ITEM(None, 0, "无安全停止") \
ENUM_ITEM(SafeguedStopIOInput, 1, "安全停止(IO输入)") \
ENUM_ITEM(SafeguedStop3PE, 2, "安全停止(三态开关)") \
ENUM_ITEM(SafeguedStopOperational, 3, "安全停止(操作模式)")
#define ENUM_ITEM(c, n,...)
Definition: type_def.h:555

在文件 type_def.h418 行定义.

#define ENUM_SafetyInputAction_DECLARES
值:
ENUM_ITEM(Unassigned, 0, "安全输入未分配动作") \
ENUM_ITEM(EmergencyStop, 1, "安全输入触发急停") \
ENUM_ITEM(SafeguardStop, 2, "安全输入触发防护停止, 边沿触发") \
ENUM_ITEM(SafeguardReset, 3, "安全输入触发防护重置, 边沿触发") \
ENUM_ITEM(ThreePositionSwitch, 4, "3档位使能开关") \
ENUM_ITEM(OperationalMode, 5, "切换自动模式和手动模式") \
ENUM_ITEM(HandGuide, 6, "拖动示教") \
ENUM_ITEM(ReducedMode, 7, "安全参数切换1(缩减模式),序号越低优先级越高,三路输出都无效时,选用第0组安全参数") \
ENUM_ITEM(AutomaticModeSafeguardStop, 8, "自动模式下防护停机输入(需要配置三档位使能设备)") \
ENUM_ITEM(AutomaticModeSafeguardReset, 9, "自动模式下上升沿触发防护重置(需要配置三档位使能设备)")
#define ENUM_ITEM(c, n,...)
Definition: type_def.h:555

在文件 type_def.h353 行定义.

#define ENUM_SafetyModeType_DECLARES
值:
ENUM_ITEM(Undefined, 0, "安全状态待定") \
ENUM_ITEM(Normal, 1, "正常运行模式") \
ENUM_ITEM(ReducedMode, 2, "缩减运行模式") \
ENUM_ITEM(Recovery, 3, "启动时如果在安全限制之外, 机器人将进入recovery模式") \
ENUM_ITEM(Violation, 4, "超出安全限制(根据安全配置, 例如速度超限等)") \
ENUM_ITEM(ProtectiveStop, 5, "软件触发的停机(保持轨迹, 不抱闸, 不断电)") \
ENUM_ITEM(SafeguardStop, 6, "IO触发的防护停机(不保持轨迹, 抱闸, 不断电)") \
ENUM_ITEM(SystemEmergencyStop,7, "系统急停:急停信号由外部输入(可配置输入), 不对外输出急停信号") \
ENUM_ITEM(RobotEmergencyStop, 8, "机器人急停:控制柜急停输入或者示教器急停按键触发, 对外输出急停信号") \
ENUM_ITEM(Fault, 9, "机械臂硬件故障或者系统故障")
#define ENUM_ITEM(c, n,...)
Definition: type_def.h:555

在文件 type_def.h264 行定义.

#define ENUM_SafetyOutputRunState_DECLARES
值:
ENUM_ITEM(Unassigned, 0, "安全输出未定义") \
ENUM_ITEM(SystemEmergencyStop, 1, "输出高当有机器人急停输入或者急停按键被按下") \
ENUM_ITEM(NotSystemEmergencyStop, 2, "输出低当有机器人急停输入或者急停按键被按下") \
ENUM_ITEM(RobotMoving, 3, "输出高当有关节运动速度超过 0.1rad/s") \
ENUM_ITEM(RobotNotMoving, 4, "输出高当所有的关节运动速度不超过 0.1rad/s") \
ENUM_ITEM(ReducedMode, 5, "输出高当机器人处于缩减模式") \
ENUM_ITEM(NotReducedMode, 6, "输出高当机器人不处于缩减模式") \
ENUM_ITEM(SafeHome, 7, "输出高当机器人已经处于安全Home位姿") \
ENUM_ITEM(RobotNotStopping, 8, "输出低当机器人正在急停或者安全停止中")
#define ENUM_ITEM(c, n,...)
Definition: type_def.h:555

在文件 type_def.h365 行定义.

#define ENUM_StandardInputAction_DECLARES
值:
ENUM_ITEM(Default, 0, "无触发") \
ENUM_ITEM(Handguide, 1, "拖动示教,高电平触发") \
ENUM_ITEM(GoHome, 2, "运动到工程初始位姿,高电平触发") \
ENUM_ITEM(StartProgram, 3, "开始工程,上升沿触发") \
ENUM_ITEM(StopProgram, 4, "停止工程,上升沿触发") \
ENUM_ITEM(PauseProgram, 5, "暂停工程,上升沿触发") \
ENUM_ITEM(PopupDismiss, 6, "消除弹窗,上升沿触发") \
ENUM_ITEM(PowerOn, 7, "机器人上电/松刹车,上升沿触发") \
ENUM_ITEM(PowerOff, 8, "机器人抱死刹车/断电,上升沿触发") \
ENUM_ITEM(ResumeProgram, 9, "恢复工程,上升沿触发") \
ENUM_ITEM(SlowDown1, 10, "机器人减速触发1,高电平触发") \
ENUM_ITEM(SlowDown2, 11, "机器人减速触发2,高电平触发") \
ENUM_ITEM(SafeStop, 12, "安全停止,高电平触发") \
ENUM_ITEM(RunningGuard, 13, "信号,高电平有效") \
ENUM_ITEM(MoveToFirstPoint, 14, "运动到工程初始位姿,高电平触发") \
ENUM_ITEM(xSlowDown1, 15, "机器人减速触发1,低电平触发") \
ENUM_ITEM(xSlowDown2, 16, "机器人减速触发2,低电平触发")
#define ENUM_ITEM(c, n,...)
Definition: type_def.h:555

在文件 type_def.h317 行定义.

#define ENUM_StandardOutputRunState_DECLARES
值:
ENUM_ITEM(None, 0, "标准输出状态未定义") \
ENUM_ITEM(StopLow, 1, "低电平指示工程停止") \
ENUM_ITEM(StopHigh, 2, "高电平指示机器人停止") \
ENUM_ITEM(RunningHigh, 3, "指示工程正在运行") \
ENUM_ITEM(PausedHigh, 4, "指示工程已经暂停") \
ENUM_ITEM(AtHome, 5, "高电平指示机器人正在拖动") \
ENUM_ITEM(Handguiding, 6, "高电平指示机器人正在拖动") \
ENUM_ITEM(PowerOn, 7, "高电平指示机器人已经上电") \
ENUM_ITEM(RobotEmergencyStop, 8, "高电平指示机器人急停按下") \
ENUM_ITEM(SystemEmergencyStop, 9, "高电平指示外部输入系统急停按下") \
ENUM_ITEM(InternalEmergencyStop, 8, "高电平指示机器人急停按下") \
ENUM_ITEM(ExternalEmergencyStop, 9, "高电平指示外部输入系统急停按下") \
ENUM_ITEM(SystemError, 10, "系统错误,包括故障、超限、急停、安全停止、防护停止 ") \
ENUM_ITEM(NotSystemError, 11, "无系统错误,包括普通模式、缩减模式和恢复模式 ") \
ENUM_ITEM(RobotOperable, 12, "机器人可操作,机器人上电且松刹车了 ")
#define ENUM_ITEM(c, n,...)
Definition: type_def.h:555

在文件 type_def.h336 行定义.

#define ENUM_TaskFrameType_DECLARES
值:
ENUM_ITEM(NONE, 0,"") \
ENUM_ITEM(POINT_FORCE, 1, "力控坐标系发生变换, 使得力控参考坐标系的y轴沿着机器人TCP指向力控所选特征的原点, x和z轴取决于所选特征的原始方向" \
"力控坐标系发生变换, 使得力控参考坐标系的y轴沿着机器人TCP指向力控所选特征的原点, x和z轴取决于所选特征的原始方向" \
"机器人TCP与所选特征的起点之间的距离至少为10mm" \
"优先选择X轴, 为所选特征的X轴在力控坐标系Y轴垂直平面上的投影, 如果所选特征的X轴与力控坐标系的Y轴平行, " \
"通过类似方法确定力控坐标系Z轴, Y-X或者Y-Z轴确定之后, 通过右手法则确定剩下的轴") \
ENUM_ITEM(FRAME_FORCE, 2,"力控坐标系不发生变换 SIMPLE_FORC") \
ENUM_ITEM(MOTION_FORCE, 3,"力控坐标系发生变换, 使得力控参考坐标系的x轴为机器人TCP速度在所选特征x-y平面上的投影y轴将垂直于机械臂运动, 并在所选特征的x-y平面内")\
ENUM_ITEM(TOOL_FORCE, 4,"以工具末端坐标系作为力控参考坐标系")
#define ENUM_ITEM(c, n,...)
Definition: type_def.h:555

在文件 type_def.h387 行定义.

#define ENUM_TraceLevel_DECLARES
值:
ENUM_ITEM(FATAL, 0, "") \
ENUM_ITEM(ERROR, 1, "") \
ENUM_ITEM(WARNING, 2, "") \
ENUM_ITEM(INFO, 3, "") \
ENUM_ITEM(DEBUG, 4, "")
#define ENUM_ITEM(c, n,...)
Definition: type_def.h:555

在文件 type_def.h402 行定义.

#define SAFETY_CUBIC_NUM   10
#define SAFETY_PARAM_SELECT_NUM   2
#define SAFETY_PLANES_NUM   8
#define TOOL_CONFIGURATION_NUM   3