4#ifndef AUBO_SDK_AXIS_INTERFACE_H
5#define AUBO_SDK_AXIS_INTERFACE_H
11namespace common_interface {
double getExtAxisCurrent()
获取外部轴电流
int speedExtJoint(double v, double a, double duration)
制定目标运动速度
int followAnotherAxis(const std::string &target_name, double phase, double err)
跟踪另一个外部轴的运动(禁止运动过程中使用)
double getExtAxisVelocity()
获取外部轴运行速度
int setExtAxisMountingPose(const std::vector< double > &pose)
设置外部轴的安装位姿(相对于世界坐标系)
double getExtAxisMaxPosition()
获取外部轴最大位置
double getExtAxisBusVoltage()
获取外部轴电压
std::vector< double > getExtAxisPose()
获取相对于安装坐标系的位姿,外部轴可能为变位机或者导轨
int moveExtJoint(double pos, double v, double a, double duration)
运动到指定点, 旋转或者平移
double getExtAxisPosition()
获取外部轴位置
double getExtAxisMaxVelocity()
获取外部轴最大速度
double getExtAxisAcceleration()
获取外部轴运行加速度
double getExtAxisBusCurrent()
获取外部轴电流
std::vector< double > getExtAxisMountingPose()
获取外部轴安装位姿
int stopFollowAnotherAxis()
stopFollowAnotherAxis(禁止运动过程中使用)
int getErrorCode()
获取外部轴错误码
double getExtMinPosition()
获取外部轴最小位置
int getExtAxisType()
获取外部轴的类型 0代表是旋转 1代表平移
AxisModeType getAxisModeType()
获取当前外部轴的状态
double getExtAxisTemperature()
获取外部轴温度
double getExtAxisMaxAcceleration()
获取外部轴最大加速度
int stopExtJoint(double a)
int clearAxisError()
重置外部轴错误
std::shared_ptr< AxisInterface > AxisInterfacePtr