|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
19 #define round(x) ((x) >= 0 ? (int)((x) + 0.5) : (int)((x)-0.5))
20 #define FABS(x) (x >= 0 ? x : -x)
24 #define PONTECHSV203X 3
25 #define MONDOTRONICSMI 4
55 bool (*move)(
int j,
double ref,
double* positions,
double* speeds,
ISerialDevice* serial);
60 bool getAxes(
int* ax)
override;
61 bool positionMove(
int j,
double ref)
override;
62 bool positionMove(
const double* refs)
override;
63 bool relativeMove(
int j,
double delta)
override;
64 bool relativeMove(
const double* deltas)
override;
65 bool checkMotionDone(
int j,
bool* flag)
override;
66 bool checkMotionDone(
bool* flag)
override;
67 bool setRefSpeed(
int j,
double sp)
override;
68 bool setRefSpeeds(
const double* spds)
override;
69 bool setRefAcceleration(
int j,
double acc)
override;
70 bool setRefAccelerations(
const double* accs)
override;
71 bool getRefSpeed(
int j,
double* ref)
override;
72 bool getRefSpeeds(
double* spds)
override;
73 bool getRefAcceleration(
int j,
double* acc)
override;
74 bool getRefAccelerations(
double* accs)
override;
75 bool stop(
int j)
override;
77 bool positionMove(
const int n_joint,
const int* joints,
const double* refs)
override;
78 bool relativeMove(
const int n_joint,
const int* joints,
const double* deltas)
override;
79 bool checkMotionDone(
const int n_joint,
const int* joints,
bool* flags)
override;
80 bool setRefSpeeds(
const int n_joint,
const int* joints,
const double* spds)
override;
81 bool setRefAccelerations(
const int n_joint,
const int* joints,
const double* accs)
override;
82 bool getRefSpeeds(
const int n_joint,
const int* joints,
double* spds)
override;
83 bool getRefAccelerations(
const int n_joint,
const int* joints,
double* accs)
override;
84 bool stop(
const int n_joint,
const int* joints)
override;
87 bool close()
override;
A base class for nested structures that can be searched.
Interface implemented by all device drivers.
SerialServoBoard: Documentation to be added
A generic interface to serial port devices.
define control board standard interfaces
bool movessc32(int j, double ref, double *positions, double *speeds, ISerialDevice *serial)
An interface for the device drivers.
bool moveminissc(int j, double ref, double *positions, double *speeds, ISerialDevice *serial)
bool movepololu(int j, double ref, double *positions, double *speeds, ISerialDevice *serial)
A container for a device driver.
An interface to the operating system, including Port based communication.
bool movepicopic(int j, double ref, double *positions, double *speeds, ISerialDevice *serial)
bool movemondotronic(int j, double ref, double *positions, double *speeds, ISerialDevice *serial)
Interface for a generic control board device implementing position control.
bool movepontech(int j, double ref, double *positions, double *speeds, ISerialDevice *serial)