Alex exoskeleton
ALEX SoftwareDocumentation
|
A script to test the functionality of the Drive Objects. More...
Go to the source code of this file.
Functions | |
void | CO_errExit (char *msg) |
void | CO_error (const uint32_t info) |
int | main () |
Variables | |
pthread_mutex_t | CO_CAN_VALID_mtx = PTHREAD_MUTEX_INITIALIZER |
volatile uint32_t | CO_timer1ms = 0U |
A script to test the functionality of the Drive Objects.
Definition in file testDrives.cpp.
void CO_errExit | ( | char * | msg | ) |
Definition at line 21 of file testDrives.cpp.
void CO_error | ( | const uint32_t | info | ) |
Definition at line 27 of file testDrives.cpp.
int main | ( | void | ) |
Definition at line 32 of file testDrives.cpp.
pthread_mutex_t CO_CAN_VALID_mtx = PTHREAD_MUTEX_INITIALIZER |
Mutex is locked, when CAN is not valid (configuration state). May be used from other threads. RT threads may use CO->CANmodule[0]->CANnormal instead.
Definition at line 17 of file testDrives.cpp.
volatile uint32_t CO_timer1ms = 0U |
Global variable increments each millisecond
Definition at line 18 of file testDrives.cpp.