The Rokubimini RokubiminiEthercat Setup class. More...
#include <RokubiminiEthercat.hpp>
Public Member Functions | |
void | load (const std::string &rokubiminiName, NodeHandlePtr nh) override |
Loads the sensor configuration from the parameter server. More... | |
RokubiminiEthercat ()=default | |
Default constructor of a Rokubimini Ethercat Setup. More... | |
~RokubiminiEthercat () override=default | |
Public Member Functions inherited from rokubimini::setup::Rokubimini | |
Rokubimini ()=default | |
virtual | ~Rokubimini ()=default |
Public Attributes | |
uint32_t | ethercatAddress_ { 1 } |
The ethercat address. More... | |
std::string | ethercatBus_ { "eth0" } |
The ethercat bus name. More... | |
PdoTypeEnum | ethercatPdoTypeEnum_ { PdoTypeEnum::A } |
The PDO type. More... | |
Public Attributes inherited from rokubimini::setup::Rokubimini | |
configuration::Configuration | configuration_ |
std::string | name_ |
std::uint32_t | productCode_ |
Additional Inherited Members | |
Public Types inherited from rokubimini::setup::Rokubimini | |
typedef std::shared_ptr< ros::NodeHandle > | NodeHandlePtr |
The Rokubimini RokubiminiEthercat Setup class.
Inherits from the Rokubimini Setup class. It's used for parsing a setup file and creating a Rokubimini Ethercat Setup from it, by parsing specific ethercat attributes from the file (ethercat bus, ethercat address, etc.).
Definition at line 31 of file setup/RokubiminiEthercat.hpp.
|
default |
Default constructor of a Rokubimini Ethercat Setup.
|
overridedefault |
|
overridevirtual |
Loads the sensor configuration from the parameter server.
rokubiminiName | The name of the rokubimini to search in the parameter server. |
nh | The ROS NodeHandle to access the parameter server. |
Reimplemented from rokubimini::setup::Rokubimini.
Definition at line 10 of file setup/RokubiminiEthercat.cpp.
uint32_t rokubimini::ethercat::setup::RokubiminiEthercat::ethercatAddress_ { 1 } |
The ethercat address.
Definition at line 68 of file setup/RokubiminiEthercat.hpp.
std::string rokubimini::ethercat::setup::RokubiminiEthercat::ethercatBus_ { "eth0" } |
The ethercat bus name.
Definition at line 60 of file setup/RokubiminiEthercat.hpp.
PdoTypeEnum rokubimini::ethercat::setup::RokubiminiEthercat::ethercatPdoTypeEnum_ { PdoTypeEnum::A } |
The PDO type.
Definition at line 76 of file setup/RokubiminiEthercat.hpp.