Defines | Functions | Variables
3mxl-all.cpp File Reference
#include <sys/mman.h>
#include <signal.h>
#include <threemxl/platform/hardware/dynamixel/3mxl/3mxl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for 3mxl-all.cpp:

Go to the source code of this file.

Defines

#define MAX_DEVICE_NAME_LEN   20

Functions

void catch_signal (int sig)
void dxl_init_all_motors ()
void dxl_task_communication_endurence_test (void *arg)
void dxl_task_off_proc (void *arg)
void dxl_task_on_proc (void *arg)
void dxl_task_ping_proc (void *arg)
void dxl_task_report_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
C3mxl gDynamixels [MAX_NUM_DYNAMIXELS]
bool gMotorsInitialized = false
int gNumDynamixels = 0
bool gQuit = false
LxSerial serialPort

Define Documentation

#define MAX_DEVICE_NAME_LEN   20

Definition at line 24 of file 3mxl-all.cpp.


Function Documentation

void catch_signal ( int  sig)

Definition at line 139 of file 3mxl-all.cpp.

Definition at line 38 of file 3mxl-all.cpp.

Definition at line 115 of file 3mxl-all.cpp.

void dxl_task_off_proc ( void *  arg)

Definition at line 77 of file 3mxl-all.cpp.

void dxl_task_on_proc ( void *  arg)

Definition at line 67 of file 3mxl-all.cpp.

void dxl_task_ping_proc ( void *  arg)

Definition at line 87 of file 3mxl-all.cpp.

void dxl_task_report_proc ( void *  arg)

Definition at line 101 of file 3mxl-all.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 145 of file 3mxl-all.cpp.


Variable Documentation

Definition at line 25 of file 3mxl-all.cpp.

Definition at line 29 of file 3mxl-all.cpp.

int gDxlMinID = 0

Definition at line 28 of file 3mxl-all.cpp.

bool gDxlTaskProcDone = false

Definition at line 33 of file 3mxl-all.cpp.

Definition at line 31 of file 3mxl-all.cpp.

bool gMotorsInitialized = false

Definition at line 34 of file 3mxl-all.cpp.

int gNumDynamixels = 0

Definition at line 27 of file 3mxl-all.cpp.

bool gQuit = false

Definition at line 36 of file 3mxl-all.cpp.

Definition at line 22 of file 3mxl-all.cpp.



threemxl
Author(s):
autogenerated on Fri Aug 28 2015 13:21:08