17 #ifndef SDF_MAGNETOMETER_HH_
18 #define SDF_MAGNETOMETER_HH_
23 #include <sdf/sdf_config.h>
28 inline namespace SDF_VERSION_NAMESPACE {
30 class MagnetometerPrivate;
110 private: MagnetometerPrivate *dataPtr;
Magnetometer contains information about a magnetometer sensor.
Definition: Magnetometer.hh:35
const Noise & YNoise() const
Get the noise values related to the body-frame y axis.
void SetYNoise(const Noise &_noise)
Set the noise values related to the body-frame y axis.
Magnetometer(Magnetometer &&_magnetometer) noexcept
Move constructor.
const Noise & XNoise() const
Get the noise values related to the body-frame x axis.
Magnetometer & operator=(Magnetometer &&_magnetometer)
Move assignment operator.
Magnetometer()
Default constructor.
Magnetometer(const Magnetometer &_magnetometer)
Copy constructor.
~Magnetometer()
Destructor.
sdf::ElementPtr Element() const
Get a pointer to the SDF element that was used during load.
Magnetometer & operator=(const Magnetometer &_magnetometer)
Assignment operator.
Errors Load(ElementPtr _sdf)
Load the magnetometer based on an element pointer.
void SetZNoise(const Noise &_noise)
Set the noise values related to the body-frame z axis.
bool operator!=(const Magnetometer &_mag) const
Return true this Magnetometer object does not contain the same values as the passed in parameter.
void SetXNoise(const Noise &_noise)
Set the noise values related to the body-frame x axis.
bool operator==(const Magnetometer &_mag) const
Return true if both Magnetometer objects contain the same values.
const Noise & ZNoise() const
Get the noise values related to the body-frame z axis.
The Noise class contains information about a noise model, such as a Gaussian distribution.
Definition: Noise.hh:50
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:89
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:53
namespace for Simulation Description Format parser
Definition: Actor.hh:33
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system_util.hh:48