Public Types | Public Member Functions | Private Attributes | List of all members
rokubimini::configuration::SensorConfiguration Class Reference

Class holding the sensor configuration settings. More...

#include <SensorConfiguration.hpp>

Public Types

using NodeHandlePtr = std::shared_ptr< ros::NodeHandle >
 

Public Member Functions

uint8_t getCalibrationMatrixActive () const
 Gets the calibrationMatrixActive variable. More...
 
uint8_t getCoordinateSystemConfigurationActive () const
 Gets the coordinateSystemConfigurationActive variable. More...
 
uint8_t getImuActive () const
 Gets the imuActive variable. More...
 
uint8_t getInertiaCompensationActive () const
 Gets the inertiaCompensationActive variable. More...
 
uint8_t getOrientationEstimationActive () const
 Gets the orientationEstimationActive variable. More...
 
uint8_t getTemperatureCompensationActive () const
 Gets the temperatureCompensationActive variable. More...
 
bool load (const std::string &key, NodeHandlePtr nh)
 Loads the sensor configuration from the parameter server. More...
 
void print () const
 Prints the existing sensor configuration settings. More...
 
 SensorConfiguration ()=default
 Default constructor. More...
 
 SensorConfiguration (const uint8_t calibrationMatrixActive, const uint8_t temperatureCompensationActive, const uint8_t imuActive, const uint8_t coordinateSystemConfigurationActive, const uint8_t inertiaCompensationActive, const uint8_t orientationEstimationActive)
 
void setCalibrationMatrixActive (const uint8_t calibrationMatrixActive)
 Sets the calibrationMatrixActive variable. More...
 
void setCoordinateSystemConfigurationActive (const uint8_t coordinateSystemConfigurationActive)
 Sets the coordinateSystemConfigurationActive variable. More...
 
void setImuActive (const uint8_t imuActive)
 Sets the imuActive variable. More...
 
void setInertiaCompensationActive (const uint8_t inertiaCompensationActive)
 Sets the inertiaCompensationActive variable. More...
 
void setOrientationEstimationActive (const uint8_t orientationEstimationActive)
 Sets the orientationEstimationActive variable. More...
 
void setTemperatureCompensationActive (const uint8_t temperatureCompensationActive)
 Sets the temperatureCompensationActive variable. More...
 
 ~SensorConfiguration ()=default
 

Private Attributes

uint8_t calibrationMatrixActive_
 
uint8_t coordinateSystemConfigurationActive_
 
uint8_t imuActive_
 
uint8_t inertiaCompensationActive_
 
uint8_t orientationEstimationActive_
 
uint8_t temperatureCompensationActive_
 

Detailed Description

Class holding the sensor configuration settings.

Definition at line 17 of file SensorConfiguration.hpp.

Member Typedef Documentation

Definition at line 20 of file SensorConfiguration.hpp.

Constructor & Destructor Documentation

rokubimini::configuration::SensorConfiguration::SensorConfiguration ( )
default

Default constructor.

rokubimini::configuration::SensorConfiguration::SensorConfiguration ( const uint8_t  calibrationMatrixActive,
const uint8_t  temperatureCompensationActive,
const uint8_t  imuActive,
const uint8_t  coordinateSystemConfigurationActive,
const uint8_t  inertiaCompensationActive,
const uint8_t  orientationEstimationActive 
)

Definition at line 7 of file SensorConfiguration.cpp.

rokubimini::configuration::SensorConfiguration::~SensorConfiguration ( )
default

Member Function Documentation

uint8_t rokubimini::configuration::SensorConfiguration::getCalibrationMatrixActive ( ) const
inline

Gets the calibrationMatrixActive variable.

Returns
The calibrationMatrixActive value.

Definition at line 68 of file SensorConfiguration.hpp.

uint8_t rokubimini::configuration::SensorConfiguration::getCoordinateSystemConfigurationActive ( ) const
inline

Gets the coordinateSystemConfigurationActive variable.

Returns
The coordinateSystemConfigurationActive value.

Definition at line 140 of file SensorConfiguration.hpp.

uint8_t rokubimini::configuration::SensorConfiguration::getImuActive ( ) const
inline

Gets the imuActive variable.

Returns
The imuActive value.

Definition at line 116 of file SensorConfiguration.hpp.

uint8_t rokubimini::configuration::SensorConfiguration::getInertiaCompensationActive ( ) const
inline

Gets the inertiaCompensationActive variable.

Returns
The inertiaCompensationActive value.

Definition at line 164 of file SensorConfiguration.hpp.

uint8_t rokubimini::configuration::SensorConfiguration::getOrientationEstimationActive ( ) const
inline

Gets the orientationEstimationActive variable.

Returns
The orientationEstimationActive value.

Definition at line 188 of file SensorConfiguration.hpp.

uint8_t rokubimini::configuration::SensorConfiguration::getTemperatureCompensationActive ( ) const
inline

Gets the temperatureCompensationActive variable.

Returns
The temperatureCompensationActive value.

Definition at line 92 of file SensorConfiguration.hpp.

bool rokubimini::configuration::SensorConfiguration::load ( const std::string &  key,
NodeHandlePtr  nh 
)

Loads the sensor configuration from the parameter server.

Parameters
keyThe key to search in the parameter server.
nhThe ROS NodeHandle to access the parameter server.
Returns
True if the sensor configuration was loaded successfully.

Definition at line 21 of file SensorConfiguration.cpp.

void rokubimini::configuration::SensorConfiguration::print ( ) const

Prints the existing sensor configuration settings.

Definition at line 76 of file SensorConfiguration.cpp.

void rokubimini::configuration::SensorConfiguration::setCalibrationMatrixActive ( const uint8_t  calibrationMatrixActive)
inline

Sets the calibrationMatrixActive variable.

Parameters
calibrationMatrixActiveThe value to set.

Definition at line 80 of file SensorConfiguration.hpp.

void rokubimini::configuration::SensorConfiguration::setCoordinateSystemConfigurationActive ( const uint8_t  coordinateSystemConfigurationActive)
inline

Sets the coordinateSystemConfigurationActive variable.

Parameters
coordinateSystemConfigurationActiveThe value to set.

Definition at line 152 of file SensorConfiguration.hpp.

void rokubimini::configuration::SensorConfiguration::setImuActive ( const uint8_t  imuActive)
inline

Sets the imuActive variable.

Parameters
imuActiveThe value to set.

Definition at line 128 of file SensorConfiguration.hpp.

void rokubimini::configuration::SensorConfiguration::setInertiaCompensationActive ( const uint8_t  inertiaCompensationActive)
inline

Sets the inertiaCompensationActive variable.

Parameters
inertiaCompensationActiveThe value to set.

Definition at line 176 of file SensorConfiguration.hpp.

void rokubimini::configuration::SensorConfiguration::setOrientationEstimationActive ( const uint8_t  orientationEstimationActive)
inline

Sets the orientationEstimationActive variable.

Parameters
orientationEstimationActiveThe value to set.

Definition at line 200 of file SensorConfiguration.hpp.

void rokubimini::configuration::SensorConfiguration::setTemperatureCompensationActive ( const uint8_t  temperatureCompensationActive)
inline

Sets the temperatureCompensationActive variable.

Parameters
temperatureCompensationActiveThe value to set.

Definition at line 104 of file SensorConfiguration.hpp.

Member Data Documentation

uint8_t rokubimini::configuration::SensorConfiguration::calibrationMatrixActive_
private

Definition at line 220 of file SensorConfiguration.hpp.

uint8_t rokubimini::configuration::SensorConfiguration::coordinateSystemConfigurationActive_
private

Definition at line 244 of file SensorConfiguration.hpp.

uint8_t rokubimini::configuration::SensorConfiguration::imuActive_
private

Definition at line 236 of file SensorConfiguration.hpp.

uint8_t rokubimini::configuration::SensorConfiguration::inertiaCompensationActive_
private

Definition at line 252 of file SensorConfiguration.hpp.

uint8_t rokubimini::configuration::SensorConfiguration::orientationEstimationActive_
private

Definition at line 260 of file SensorConfiguration.hpp.

uint8_t rokubimini::configuration::SensorConfiguration::temperatureCompensationActive_
private

Definition at line 228 of file SensorConfiguration.hpp.


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


rokubimini
Author(s):
autogenerated on Wed Mar 3 2021 03:09:12