The Rokubimini Serial Setup class. More...
#include <RokubiminiSerial.hpp>
Public Member Functions | |
void | load (const std::string &rokubiminiName, NodeHandlePtr nh) override |
Loads the sensor configuration from the parameter server. More... | |
RokubiminiSerial ()=default | |
Default constructor of a Rokubimini Serial Setup. More... | |
~RokubiminiSerial () override=default | |
Public Member Functions inherited from rokubimini::setup::Rokubimini | |
Rokubimini ()=default | |
virtual | ~Rokubimini ()=default |
Public Attributes | |
uint32_t | baudRate_ { 0 } |
The baud rate of the serial communication. More... | |
std::string | serialPort_ { "/dev/ttyUSB0" } |
The serial port name. 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 Serial Setup class.
Inherits from the Rokubimini Setup class. It's used for parsing a setup file and creating a Rokubimini Serial Setup from it, by parsing specific serial attributes from the file (port, baudrate, etc.).
Definition at line 28 of file setup/RokubiminiSerial.hpp.
|
default |
Default constructor of a Rokubimini Serial 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/RokubiminiSerial.cpp.
uint32_t rokubimini::serial::setup::RokubiminiSerial::baudRate_ { 0 } |
The baud rate of the serial communication.
Definition at line 63 of file setup/RokubiminiSerial.hpp.
std::string rokubimini::serial::setup::RokubiminiSerial::serialPort_ { "/dev/ttyUSB0" } |
The serial port name.
Definition at line 55 of file setup/RokubiminiSerial.hpp.