#include "canopen.h"
Go to the source code of this file.
Namespaces | |
namespace | canopen |
Functions | |
void | canopen::defaultListener () |
void | canopen::deviceManager () |
void | canopen::incomingNodeguardHandler (uint8_t CANid, BYTE data[8]) |
void | canopen::init (std::string deviceFile, std::chrono::milliseconds syncInterval) |
void | canopen::initDeviceManagerThread (std::function< void()> const &deviceManager) |
void | canopen::initListenerThread (std::function< void()> const &listener) |
void | canopen::modes_of_operation_display_incoming (uint8_t CANid, BYTE data[8]) |
bool | canopen::openConnection (std::string devName) |
void | canopen::schunkDefaultPDO_incoming (uint8_t CANid, const TPCANRdMsg m) |
void | canopen::schunkDefaultPDOOutgoing (uint16_t CANid, double positionValue) |
void | canopen::sendSDO (uint8_t CANid, SDOkey sdo) |
void | canopen::sendSDO (uint8_t CANid, SDOkey sdo, uint32_t value) |
void | canopen::sendSDO (uint8_t CANid, SDOkey sdo, int32_t value) |
void | canopen::sendSDO (uint8_t CANid, SDOkey sdo, uint8_t value) |
void | canopen::sendSDO (uint8_t CANid, SDOkey sdo, uint16_t value) |
void | canopen::setMotorState (uint16_t CANid, std::string targetState) |
void | canopen::statusword_incoming (uint8_t CANid, BYTE data[8]) |
Variables | |
bool | canopen::atFirstInit = true |
std::map< std::string, DeviceGroup > | canopen::deviceGroups |
std::map< uint8_t, Device > | canopen::devices |
HANDLE | canopen::h |
std::map< uint16_t, std::function< void(const TPCANRdMsg m)> > | canopen::incomingPDOHandlers |
TPCANMsg | canopen::NMTmsg |
TPCANMsg | canopen::nodeguardMsg |
std::function< void(uint16_t CANid, double positionValue) > | canopen::sendPos |
std::chrono::milliseconds | canopen::syncInterval |
TPCANMsg | canopen::syncMsg |