#include <numatac_can_driver.h>
Public Member Functions | |
bool | connect () |
bool | getData () |
int16_t | getPAC (uint8_t id) |
uint16_t | getPDC (uint8_t id) |
bool | isConnected () |
NumaTacCANDriver (std::string canbus_dev, uint8_t number_of_sensors) | |
Private Attributes | |
std::string | canbus_dev_ |
bool | is_connected_ |
uint8_t | number_of_sensors_ |
std::vector< int16_t > | pac_ |
std::vector< uint16_t > | pdc_ |
int | socket_ |
Definition at line 47 of file numatac_can_driver.h.
numatac_can_driver::NumaTacCANDriver::NumaTacCANDriver | ( | std::string | canbus_dev, |
uint8_t | number_of_sensors | ||
) |
Definition at line 44 of file numatac_can_driver.cpp.
Definition at line 53 of file numatac_can_driver.cpp.
Definition at line 102 of file numatac_can_driver.cpp.
int16_t numatac_can_driver::NumaTacCANDriver::getPAC | ( | uint8_t | id | ) |
Definition at line 189 of file numatac_can_driver.cpp.
uint16_t numatac_can_driver::NumaTacCANDriver::getPDC | ( | uint8_t | id | ) |
Definition at line 193 of file numatac_can_driver.cpp.
Definition at line 96 of file numatac_can_driver.cpp.
std::string numatac_can_driver::NumaTacCANDriver::canbus_dev_ [private] |
Definition at line 60 of file numatac_can_driver.h.
bool numatac_can_driver::NumaTacCANDriver::is_connected_ [private] |
Definition at line 61 of file numatac_can_driver.h.
uint8_t numatac_can_driver::NumaTacCANDriver::number_of_sensors_ [private] |
Definition at line 62 of file numatac_can_driver.h.
std::vector<int16_t> numatac_can_driver::NumaTacCANDriver::pac_ [private] |
Definition at line 64 of file numatac_can_driver.h.
std::vector<uint16_t> numatac_can_driver::NumaTacCANDriver::pdc_ [private] |
Definition at line 65 of file numatac_can_driver.h.
int numatac_can_driver::NumaTacCANDriver::socket_ [private] |
Definition at line 59 of file numatac_can_driver.h.