Go to the documentation of this file.
12 #include <eigen3/Eigen/Core>
16 namespace configuration
void setUseCustomCalibration(const bool useCustomCalibration)
Sets the useCustomCalibration variable.
std::recursive_mutex mutex_
Mutex for synchronized access on the object's private variables.
unsigned int getImuAccelerationFilter() const
bool hasImuAccelerationRange() const
Checks if the value of the imuAccelerationRange_ variable has been set by the user in the configurati...
void setImuAccelerationRange(const uint8_t imuAccelerationRange)
Sets the imuAccelerationRange variable.
bool getUseCustomCalibration() const
Gets the useCustomCalibration variable.
SensorConfiguration sensorConfiguration_
The sensorConfiguration variable.
const ForceTorqueFilter & getForceTorqueFilter() const
Gets the forceTorqueFilter variable.
void printConfiguration() const
Prints the existing Configuration.
bool hasUseCustomCalibration_
Flag indicating if useCustomCalibration_ is set.
bool hasForceTorqueOffset_
Flag indicating if forceTorqueOffset_ is set.
uint8_t getImuAccelerationRange() const
Gets the imuAccelerationRange variable.
bool hasImuAccelerationRange_
Flag indicating if imuAccelerationRange_ is set.
unsigned int imuAngularRateFilter_
The imuAngularRateFilter variable.
bool hasForceTorqueOffset() const
Checks if the value of the forceTorqueOffset_ variable has been set by the user in the configuration ...
void setSensorConfiguration(const SensorConfiguration &sensorConfiguration)
Sets the sensorConfiguration variable.
unsigned int getImuAngularRateFilter() const
Gets the imuAccelerationFilter variable.
bool hasImuAngularRateFilter_
Flag indicating if imuAngularRateFilter_ is set.
void load(const std::string &key, const NodeHandlePtr &nh)
Loads the configuration from the parameter server.
bool hasSensorConfiguration_
Flag indicating if sensorConfiguration_ is set.
void setImuAngularRateRange(const uint8_t imuAngularRateRange)
Sets the imuAngularRateRange variable.
bool hasImuAngularRateRange_
Flag indicating if imuAngularRateRange_ is set.
bool hasForceTorqueFilter() const
Checks if the value of the forceTorqueFilter_ variable has been set by the user in the configuration ...
bool hasSetReadingToNanOnDisconnect_
Flag indicating if setReadingToNanOnDisconnect_ is set.
bool getSetReadingToNanOnDisconnect() const
Gets the setReadingToNanOnDisconnect variable.
Class holding the force-torque filter settings.
bool hasImuAccelerationFilter_
Flag indicating if imuAccelerationFilter_ is set.
bool hasSetReadingToNanOnDisconnect() const
Checks if the value of the setReadingToNanOnDisconnect_ variable has been set by the user in the conf...
const Eigen::Matrix< double, 6, 1 > & getForceTorqueOffset() const
Gets the forceTorqueOffset variable.
bool hasSensorConfiguration() const
Checks if the value of the sensorConfiguration_ variable has been set by the user in the configuratio...
void setSensorCalibration(const calibration::SensorCalibration &sensorCalibration)
Sets the sensorCalibration variable.
bool hasImuAccelerationFilter() const
Checks if the value of the imuAccelerationFilter_ variable has been set by the user in the configurat...
unsigned int imuAccelerationFilter_
The imuAccelerationFilter variable.
void setForceTorqueFilter(const ForceTorqueFilter &forceTorqueFilter)
Sets the forceTorqueFilter variable.
bool hasUseCustomCalibration() const
Checks if the value of the useCustomCalibration_ variable has been set by the user in the configurati...
bool hasSensorCalibration() const
Checks if the value of the sensorCalibration_ variable has been set by the user in the configuration ...
bool hasSaveConfiguration_
Flag indicating if saveConfiguration_ is set.
calibration::SensorCalibration sensorCalibration_
The sensorCalibration variable.
bool setReadingToNanOnDisconnect_
The setReadingToNanOnDisconnect variable.
bool hasSaveConfiguration() const
Checks if the value of the saveConfiguration_ variable has been set by the user in the configuration ...
bool saveConfiguration_
The saveConfiguration_ variable.
bool hasForceTorqueFilter_
Flag indicating if forceTorqueFilter_ is set.
unsigned int imuAngularRateRange_
The imuAngularRateRange variable.
void setSaveConfiguration(const bool saveConfiguration)
Sets the saveConfiguration variable.
void setImuAccelerationFilter(const unsigned int imuAccelerationFilter)
Sets the imuAccelerationFilter variable.
bool hasSensorCalibration_
Flag indicating if sensorCalibration_ is set.
Configuration & operator=(const Configuration &other)
Assignment operator for Configuration.
void setSetReadingToNanOnDisconnect(const bool setReadingToNanOnDisconnect)
Sets the setReadingToNanOnDisconnect variable.
unsigned int imuAccelerationRange_
The imuAccelerationRange variable.
uint8_t getImuAngularRateRange() const
Gets the imuAngularRateRange variable.
ForceTorqueFilter forceTorqueFilter_
The forceTorqueFilter variable.
bool useCustomCalibration_
The useCustomCalibration variable.
Class holding the configuration of the sensor.
const calibration::SensorCalibration & getSensorCalibration() const
Gets the sensorCalibration variable.
Class holding the sensor configuration settings.
const SensorConfiguration & getSensorConfiguration() const
Gets the sensorConfiguration variable.
virtual ~Configuration()=default
The SensorCalibration class is used for holding the calibration information of each rokubi mini senso...
bool getSaveConfiguration() const
Gets the saveConfiguration variable.
bool hasImuAngularRateRange() const
Checks if the value of the imuAngularRateRange_ variable has been set by the user in the configuratio...
void setForceTorqueOffset(const Eigen::Matrix< double, 6, 1 > &forceTorqueOffset)
Sets the forceTorqueOffset variable.
void setImuAngularRateFilter(const unsigned int imuAngularRateFilter)
Sets the imuAngularRateFilter variable.
bool hasImuAngularRateFilter() const
Checks if the value of the imuAngularRateFilter_ variable has been set by the user in the configurati...
Eigen::Matrix< double, 6, 1 > forceTorqueOffset_
The forceTorqueOffset variable.
std::shared_ptr< ros::NodeHandle > NodeHandlePtr
Configuration()=default
Default constructor.
rokubimini
Author(s):
autogenerated on Sat Apr 15 2023 02:53:52