AUBO SDK  0.26.0
arcs::common_interface::AxisInterface Class Reference

#include <axis_interface.h>

Public Member Functions

 AxisInterface ()
virtual ~AxisInterface ()
int poweronExtAxis ()
 Power on.
int poweroffExtAxis ()
 Power off.
int enableExtAxis ()
 Enable.
int setExtAxisMountingPose (const std::vector< double > &pose)
 Set mounting pose of external axis (wrt world frame).
int moveExtJoint (double pos, double v, double a, double duration)
 move to pos, rotation or linear
int speedExtJoint (double v, double a, double duration)
 Set target speed, acceleration and duration
int stopExtJoint (double a)
 stop ext joint
int getExtAxisType ()
 Get external axis type: 0 for rotation, 1 for linear.
AxisModeType getAxisModeType ()
 Get external axis status
std::vector< double > getExtAxisMountingPose ()
 Get external axis mounting pose
std::vector< double > getExtAxisPose ()
 Get pose wrt mounting coordinate system, axis can be positioner or linear rail
double getExtAxisPosition ()
 Get external axis position
double getExtAxisVelocity ()
 Get external axis speed
double getExtAxisAcceleration ()
 Get external axis acceleration
double getExtAxisCurrent ()
 Get external axis current
double getExtAxisTemperature ()
 Get external axis temperature
double getExtAxisBusVoltage ()
 Get external axis voltage
double getExtAxisBusCurrent ()
 Get external axis current
double getExtAxisMaxPosition ()
 Get external axis max position
double getExtMinPosition ()
 Get external axis min position
double getExtAxisMaxVelocity ()
 Get external axis max speed
double getExtAxisMaxAcceleration ()
 Get external axis max acceleration
int followAnotherAxis (const std::string &target_name, double phase, double err)
 Follow motion of another external axis (not to be used during motion)
int stopFollowAnotherAxis ()
 stopFollowAnotherAxis(not to be used during motion)
int getErrorCode ()
 Get external axis error code
int clearAxisError ()
 Reset axis error

Protected Attributes

void * d_

Detailed Description

Definition at line 18 of file axis_interface.h.

Constructor & Destructor Documentation

◆ AxisInterface()

arcs::common_interface::AxisInterface::AxisInterface ( )

◆ ~AxisInterface()

virtual arcs::common_interface::AxisInterface::~AxisInterface ( )
virtual

Member Data Documentation

◆ d_

void* arcs::common_interface::AxisInterface::d_
protected

Definition at line 415 of file axis_interface.h.


The documentation for this class was generated from the following file: