#include <sys/mman.h>
#include <signal.h>
#include <threemxl/platform/hardware/dynamixel/dynamixel/Dynamixel.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
Defines | |
#define | MAX_DEVICE_NAME_LEN 20 |
Functions | |
void | catch_signal (int sig) |
bool | dxl_init_all_motors () |
void | dxl_task_off_proc (void *arg) |
void | dxl_task_on_proc (void *arg) |
void | dxl_task_ping_proc (void *arg) |
void | dxl_task_pos_proc (void *arg) |
void | dxl_task_report_proc (void *arg) |
void | dxl_task_volt_proc (void *arg) |
int | main (int argc, char **argv) |
Variables | |
char | devicename [MAX_DEVICE_NAME_LEN] |
int | gDxlMaxID = DXL_BROADCAST_ID-1 |
int | gDxlMinID = 0 |
bool | gDxlTaskProcDone = false |
CDynamixel | gDynamixels [MAX_NUM_DYNAMIXELS] |
bool | gMotorsInitialized = false |
int | gNumDynamixels = 0 |
bool | gQuit = false |
LxSerial | serialPort |
#define MAX_DEVICE_NAME_LEN 20 |
Definition at line 18 of file dxl-all.cpp.
void catch_signal | ( | int | sig | ) |
Definition at line 149 of file dxl-all.cpp.
bool dxl_init_all_motors | ( | ) |
Definition at line 32 of file dxl-all.cpp.
void dxl_task_off_proc | ( | void * | arg | ) |
Definition at line 74 of file dxl-all.cpp.
void dxl_task_on_proc | ( | void * | arg | ) |
Definition at line 62 of file dxl-all.cpp.
void dxl_task_ping_proc | ( | void * | arg | ) |
Definition at line 115 of file dxl-all.cpp.
void dxl_task_pos_proc | ( | void * | arg | ) |
Definition at line 100 of file dxl-all.cpp.
void dxl_task_report_proc | ( | void * | arg | ) |
Definition at line 131 of file dxl-all.cpp.
void dxl_task_volt_proc | ( | void * | arg | ) |
Definition at line 86 of file dxl-all.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 155 of file dxl-all.cpp.
Definition at line 19 of file dxl-all.cpp.
int gDxlMaxID = DXL_BROADCAST_ID-1 |
Definition at line 23 of file dxl-all.cpp.
int gDxlMinID = 0 |
Definition at line 22 of file dxl-all.cpp.
bool gDxlTaskProcDone = false |
Definition at line 27 of file dxl-all.cpp.
Definition at line 25 of file dxl-all.cpp.
bool gMotorsInitialized = false |
Definition at line 28 of file dxl-all.cpp.
int gNumDynamixels = 0 |
Definition at line 21 of file dxl-all.cpp.
bool gQuit = false |
Definition at line 30 of file dxl-all.cpp.
Definition at line 16 of file dxl-all.cpp.