Classes | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
cob_elmo_homing::ElmoMotor402 Class Reference
Inheritance diagram for cob_elmo_homing::ElmoMotor402:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Definition at line 23 of file plugin.cpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

template<typename T >
bool cob_elmo_homing::ElmoMotor402::test ( char  c1,
char  c2,
uint16_t  index,
uint32_t  val,
dur 
) [inline, private]

Definition at line 55 of file plugin.cpp.


Member Data Documentation

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.

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.

Definition at line 32 of file plugin.cpp.

Definition at line 31 of file plugin.cpp.

Definition at line 26 of file plugin.cpp.

Definition at line 33 of file plugin.cpp.

Definition at line 34 of file plugin.cpp.


The documentation for this class was generated from the following file:


cob_elmo_homing
Author(s): Mathias L├╝dtke
autogenerated on Sat Jun 8 2019 21:02:06