Public Member Functions | Public Attributes | List of all members
rokubimini::ethercat::setup::RokubiminiEthercat Class Reference

The Rokubimini RokubiminiEthercat Setup class. More...

#include <RokubiminiEthercat.hpp>

Inheritance diagram for rokubimini::ethercat::setup::RokubiminiEthercat:
Inheritance graph
[legend]

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::NodeHandleNodeHandlePtr
 

Detailed Description

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.

Constructor & Destructor Documentation

rokubimini::ethercat::setup::RokubiminiEthercat::RokubiminiEthercat ( )
default

Default constructor of a Rokubimini Ethercat Setup.

rokubimini::ethercat::setup::RokubiminiEthercat::~RokubiminiEthercat ( )
overridedefault

Member Function Documentation

void rokubimini::ethercat::setup::RokubiminiEthercat::load ( const std::string &  rokubiminiName,
NodeHandlePtr  nh 
)
overridevirtual

Loads the sensor configuration from the parameter server.

Parameters
rokubiminiNameThe name of the rokubimini to search in the parameter server.
nhThe ROS NodeHandle to access the parameter server.

Reimplemented from rokubimini::setup::Rokubimini.

Definition at line 10 of file setup/RokubiminiEthercat.cpp.

Member Data Documentation

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.


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


rokubimini_ethercat
Author(s):
autogenerated on Wed Mar 3 2021 03:09:16