Classes | |
class | Allocator |
Public Member Functions | |
ElmoMotor402 (const std::string &name, boost::shared_ptr< canopen::ObjectStorage > storage, const canopen::Settings &settings) | |
void | handleInit (canopen::LayerStatus &status) |
Private Member Functions | |
uint64_t | readResponse (uint64_t command) |
bool | set (char c1, char c2, uint16_t index, uint32_t val) |
template<typename T > | |
bool | test (char c1, char c2, uint16_t index, uint32_t val, T dur) |
Private Attributes | |
canopen::ObjectStorage::Entry < uint64_t > | command_entry_ |
int32_t | event_ |
int32_t | offset_ |
canopen::ObjectStorage::Entry < uint64_t > | response_entry_ |
int32_t | speed_ |
uint32_t | timeout_ |
Static Private Attributes | |
static const uint64_t | byte_3_bit_6 = (1 << (3*8+6)) |
static const uint64_t | compare_mask = 0xFFFFFFFF ^ byte_3_bit_6 |
Definition at line 23 of file plugin.cpp.
cob_elmo_homing::ElmoMotor402::ElmoMotor402 | ( | const std::string & | name, |
boost::shared_ptr< canopen::ObjectStorage > | storage, | ||
const canopen::Settings & | settings | ||
) | [inline] |
Definition at line 69 of file plugin.cpp.
void cob_elmo_homing::ElmoMotor402::handleInit | ( | canopen::LayerStatus & | status | ) | [inline, virtual] |
Reimplemented from canopen::Motor402.
Definition at line 80 of file plugin.cpp.
uint64_t cob_elmo_homing::ElmoMotor402::readResponse | ( | uint64_t | command | ) | [inline, private] |
Definition at line 36 of file plugin.cpp.
bool cob_elmo_homing::ElmoMotor402::set | ( | char | c1, |
char | c2, | ||
uint16_t | index, | ||
uint32_t | val | ||
) | [inline, private] |
Definition at line 42 of file plugin.cpp.
bool cob_elmo_homing::ElmoMotor402::test | ( | char | c1, |
char | c2, | ||
uint16_t | index, | ||
uint32_t | val, | ||
T | dur | ||
) | [inline, private] |
Definition at line 55 of file plugin.cpp.
const uint64_t cob_elmo_homing::ElmoMotor402::byte_3_bit_6 = (1 << (3*8+6)) [static, private] |
Definition at line 28 of file plugin.cpp.
canopen::ObjectStorage::Entry<uint64_t> cob_elmo_homing::ElmoMotor402::command_entry_ [private] |
Definition at line 25 of file plugin.cpp.
const uint64_t cob_elmo_homing::ElmoMotor402::compare_mask = 0xFFFFFFFF ^ byte_3_bit_6 [static, private] |
Definition at line 29 of file plugin.cpp.
int32_t cob_elmo_homing::ElmoMotor402::event_ [private] |
Definition at line 32 of file plugin.cpp.
int32_t cob_elmo_homing::ElmoMotor402::offset_ [private] |
Definition at line 31 of file plugin.cpp.
canopen::ObjectStorage::Entry<uint64_t> cob_elmo_homing::ElmoMotor402::response_entry_ [private] |
Definition at line 26 of file plugin.cpp.
int32_t cob_elmo_homing::ElmoMotor402::speed_ [private] |
Definition at line 33 of file plugin.cpp.
uint32_t cob_elmo_homing::ElmoMotor402::timeout_ [private] |
Definition at line 34 of file plugin.cpp.