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