#include <pthread.h>
#include <queue>
#include <cob_utilities/Mutex.h>
#include <cob_generic_can/CanItf.h>
#include <cob_generic_can/CanPeakSysUSB.h>
#include <CANOpen_buffer.h>
#include <CANOpenCiA401_Schunk.h>
Go to the source code of this file.
Classes | |
struct | Thread_data |
Defines | |
#define | MAX_InBuffer_Lenght 32 |
#define | MAX_PDOS 32 |
Functions | |
void | AcitvatePDO (int, int, double) |
void | AssignValue2PDO (int, char *) |
void * | EvaluateBuffers (void *) |
int | GetRecievedMsgs (CanMsg *) |
void | InitMaster () |
void * | MasterThreadFunc (void *) |
void | SendSYNC () |
void | StartMasterThread (double) |
Variables | |
CANPeakSysUSB * | can_itf |
CANOpenCiA401_Schunk | CANObj |
std::queue< CanMsg > | InBuffer |
CANOpen_buffer * | PDO_buffer |
struct Thread_data | TD_Master |
#define MAX_InBuffer_Lenght 32 |
Definition at line 74 of file CANOpenMaster.h.
#define MAX_PDOS 32 |
Definition at line 73 of file CANOpenMaster.h.
void AcitvatePDO | ( | int | , |
int | , | ||
double | |||
) |
Definition at line 83 of file CANOpenMaster.cpp.
void AssignValue2PDO | ( | int | , |
char * | |||
) |
Definition at line 91 of file CANOpenMaster.cpp.
void* EvaluateBuffers | ( | void * | ) |
Definition at line 145 of file CANOpenMaster.cpp.
int GetRecievedMsgs | ( | CanMsg * | ) |
Definition at line 99 of file CANOpenMaster.cpp.
void InitMaster | ( | ) |
Definition at line 58 of file CANOpenMaster.cpp.
void* MasterThreadFunc | ( | void * | ) |
Definition at line 118 of file CANOpenMaster.cpp.
void SendSYNC | ( | ) |
Definition at line 183 of file CANOpenMaster.cpp.
void StartMasterThread | ( | double | ) |
Definition at line 70 of file CANOpenMaster.cpp.
CANPeakSysUSB* can_itf |
Definition at line 78 of file CANOpenMaster.h.
CANOpenCiA401_Schunk CANObj |
Definition at line 76 of file CANOpenMaster.h.
std::queue<CanMsg> InBuffer |
Definition at line 79 of file CANOpenMaster.h.
Definition at line 77 of file CANOpenMaster.h.
struct Thread_data TD_Master |