![]() |
MercurySDK
Software development kit for Mercury digital servos
|
Go to the source code of this file.
Macros | |
#define | ADDR_MX_TORQUE_ENABLE 0x30 |
#define | MCY_ID 1 |
#define | BAUDRATE 1000000 |
#define | DEVICENAME "/dev/ttyACM0" |
#define | TORQUE_ENABLE 1 |
#define | TORQUE_DISABLE 0 |
#define | ESC_ASCII_VALUE 0x1b |
Functions | |
int | getch () |
int | kbhit (void) |
int | main () |
#define ADDR_MX_TORQUE_ENABLE 0x30 |
Definition at line 45 of file action.cpp.
#define BAUDRATE 1000000 |
Definition at line 49 of file action.cpp.
#define DEVICENAME "/dev/ttyACM0" |
Definition at line 50 of file action.cpp.
#define ESC_ASCII_VALUE 0x1b |
Definition at line 56 of file action.cpp.
#define MCY_ID 1 |
Definition at line 48 of file action.cpp.
#define TORQUE_DISABLE 0 |
Definition at line 54 of file action.cpp.
#define TORQUE_ENABLE 1 |
Definition at line 53 of file action.cpp.
int getch | ( | ) |
Definition at line 58 of file action.cpp.
int kbhit | ( | void | ) |
Definition at line 75 of file action.cpp.
int main | ( | ) |
Definition at line 106 of file action.cpp.