4#ifndef AUBO_SDK_AXIS_INTERFACE_H
5#define AUBO_SDK_AXIS_INTERFACE_H
11namespace common_interface {
External axis API interface.
int poweroffExtAxis()
Power off.
int enableExtAxis()
Enable.
double getExtAxisCurrent()
Get external axis current
int speedExtJoint(double v, double a, double duration)
Set target speed, acceleration and duration
int poweronExtAxis()
Power on.
int followAnotherAxis(const std::string &target_name, double phase, double err)
Follow motion of another external axis (not to be used during motion)
double getExtAxisVelocity()
Get external axis speed
int setExtAxisMountingPose(const std::vector< double > &pose)
Set mounting pose of external axis (wrt world frame)
double getExtAxisMaxPosition()
Get external axis max position
double getExtAxisBusVoltage()
Get external axis voltage
std::vector< double > getExtAxisPose()
Get pose wrt mounting coordinate system, axis can be positioner or linear rail
int moveExtJoint(double pos, double v, double a, double duration)
move to pos, rotation or linear
double getExtAxisPosition()
Get external axis position
double getExtAxisMaxVelocity()
Get external axis max speed
double getExtAxisAcceleration()
Get external axis acceleration
double getExtAxisBusCurrent()
Get external axis current
std::vector< double > getExtAxisMountingPose()
Get external axis mounting pose
int stopFollowAnotherAxis()
stopFollowAnotherAxis(not to be used during motion)
int getErrorCode()
Get external axis error code
double getExtMinPosition()
Get external axis min position
int getExtAxisType()
Get external axis type: 0 for rotation, 1 for linear.
AxisModeType getAxisModeType()
Get external axis status
double getExtAxisTemperature()
Get external axis temperature
double getExtAxisMaxAcceleration()
Get external axis max acceleration
int stopExtJoint(double a)
int clearAxisError()
Reset axis error
std::shared_ptr< AxisInterface > AxisInterfacePtr
Interface for injecting logs into the controller's logging system.