#include <yarp/dev/ControlBoardInterfaces.h>
#include <yarp/dev/Drivers.h>
#include <yarp/dev/ISerialDevice.h>
#include <yarp/dev/PolyDriver.h>
#include <cstdio>
#include <cstdlib>
#include <cstring>
Go to the source code of this file.
Classes | |
class | SerialServoBoard |
SerialServoBoard : Documentation to be added More... | |
Macros | |
#define | round(x) ((x) >= 0 ? (int)((x) + 0.5) : (int)((x)-0.5)) |
#define | FABS(x) (x >= 0 ? x : -x) |
#define | SSC32 1 |
#define | MINISSC 2 |
#define | PONTECHSV203X 3 |
#define | MONDOTRONICSMI 4 |
#define | POLOLUUSB16 6 |
#define | PICOPIC 7 |
Functions | |
bool | movessc32 (int j, double ref, double *positions, double *speeds, ISerialDevice *serial) |
bool | moveminissc (int j, double ref, double *positions, double *speeds, ISerialDevice *serial) |
bool | movepontech (int j, double ref, double *positions, double *speeds, ISerialDevice *serial) |
bool | movemondotronic (int j, double ref, double *positions, double *speeds, ISerialDevice *serial) |
bool | movepololu (int j, double ref, double *positions, double *speeds, ISerialDevice *serial) |
bool | movepicopic (int j, double ref, double *positions, double *speeds, ISerialDevice *serial) |
#define FABS | ( | x | ) | (x >= 0 ? x : -x) |
Definition at line 17 of file SerialServoBoard.h.
#define MINISSC 2 |
Definition at line 20 of file SerialServoBoard.h.
#define MONDOTRONICSMI 4 |
Definition at line 22 of file SerialServoBoard.h.
#define PICOPIC 7 |
Definition at line 24 of file SerialServoBoard.h.
#define POLOLUUSB16 6 |
Definition at line 23 of file SerialServoBoard.h.
#define PONTECHSV203X 3 |
Definition at line 21 of file SerialServoBoard.h.
Definition at line 16 of file SerialServoBoard.h.
#define SSC32 1 |
Definition at line 19 of file SerialServoBoard.h.
Definition at line 315 of file SerialServoBoard.cpp.
bool movemondotronic | ( | int | j, |
double | ref, | ||
double * | positions, | ||
double * | speeds, | ||
ISerialDevice * | serial | ||
) |
Definition at line 348 of file SerialServoBoard.cpp.
Definition at line 386 of file SerialServoBoard.cpp.
Definition at line 365 of file SerialServoBoard.cpp.
Definition at line 332 of file SerialServoBoard.cpp.
Definition at line 291 of file SerialServoBoard.cpp.