17#ifndef SDF_AIRPRESSURE_HH_
18#define SDF_AIRPRESSURE_HH_
20#include <gz/utils/ImplPtr.hh>
30 inline namespace SDF_VERSION_NAMESPACE {
103 GZ_UTILS_IMPL_PTR(dataPtr)
AirPressure contains information about a general purpose fluid pressure sensor.
Definition: AirPressure.hh:35
double ReferenceAltitude() const
Get the reference altitude of the sensor in meters.
void SetPressureNoise(const Noise &_noise)
Set the noise values related to the pressure data.
bool operator==(const AirPressure &_air) const
Return true if both AirPressure objects contain the same values.
sdf::ElementPtr Element() const
Get a pointer to the SDF element that was used during load.
sdf::ElementPtr ToElement(sdf::Errors &_errors) const
Create and return an SDF element filled with data from this air pressure sensor.
AirPressure()
Default constructor.
sdf::ElementPtr ToElement() const
Create and return an SDF element filled with data from this air pressure sensor.
Errors Load(ElementPtr _sdf)
Load the airPressure based on an element pointer.
const Noise & PressureNoise() const
Get the noise values.
bool operator!=(const AirPressure &_air) const
Return true this AirPressure object does not contain the same values as the passed in parameter.
void SetReferenceAltitude(double _ref)
Set the reference altitude of the sensor in meters.
The Noise class contains information about a noise model, such as a Gaussian distribution.
Definition: Noise.hh:48
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:95
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:55
namespace for Simulation Description Format parser
Definition: Actor.hh:35
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system_util.hh:25