#include <ServoSerial.h>
Public Member Functions | |
void | clear_packet () |
int | getDuration (int id, double *duration) |
int | getMaxTorque (int id, short *percentage) |
int | getPosition (int id, double *angle) |
int | getSpeed (int id, double *duration) |
int | getState (int id, unsigned char *data) |
int | getTemperature (int id, double *temperature) |
int | getTorque (int id, double *torque) |
int | getVoltage (int id, double *voltage) |
int | receivePacket (int id, int address, int length, unsigned char data[]) |
int | sendPacket (int header, int id, int flag, int address, int length, int count, void *data) |
ServoSerial (const char *devname) | |
int | setMaxTorque (int id, short percentage) |
int | setPosition (int id, double rad) |
int | setPosition (int id, double rad, double sec) |
int | setPositions (int len, int *id, double *rad) |
int | setPositions (int len, int *id, double *rad, double *sec) |
int | setReset (int id) |
int | setTorqueBreak (int id) |
int | setTorqueOff (int id) |
int | setTorqueOn (int id) |
~ServoSerial () | |
Public Attributes | |
int | fd |
Definition at line 23 of file ServoSerial.h.
|
inline |
Definition at line 27 of file ServoSerial.h.
|
inline |
Definition at line 70 of file ServoSerial.h.
|
inline |
Definition at line 389 of file ServoSerial.h.
Definition at line 164 of file ServoSerial.h.
Definition at line 192 of file ServoSerial.h.
Definition at line 150 of file ServoSerial.h.
Definition at line 178 of file ServoSerial.h.
Definition at line 248 of file ServoSerial.h.
Definition at line 220 of file ServoSerial.h.
Definition at line 206 of file ServoSerial.h.
Definition at line 234 of file ServoSerial.h.
Definition at line 260 of file ServoSerial.h.
|
inline |
Definition at line 316 of file ServoSerial.h.
Definition at line 125 of file ServoSerial.h.
Definition at line 78 of file ServoSerial.h.
Definition at line 99 of file ServoSerial.h.
Definition at line 86 of file ServoSerial.h.
Definition at line 109 of file ServoSerial.h.
Definition at line 74 of file ServoSerial.h.
Definition at line 144 of file ServoSerial.h.
Definition at line 138 of file ServoSerial.h.
Definition at line 132 of file ServoSerial.h.
int ServoSerial::fd |
Definition at line 25 of file ServoSerial.h.