17 #ifndef SDF_AIRSPEED_HH_
18 #define SDF_AIRSPEED_HH_
20 #include <gz/utils/ImplPtr.hh>
30 inline namespace SDF_VERSION_NAMESPACE {
81 GZ_UTILS_IMPL_PTR(dataPtr)
AirSpeed contains information about a general purpose air speed sensor.
Definition: AirSpeed.hh:35
AirSpeed()
Default constructor.
bool operator!=(const AirSpeed &_air) const
Return true this AirSpeed object does not contain the same values as the passed in parameter.
void SetPressureNoise(const Noise &_noise)
Set the noise values related to the differential pressure data.
bool operator==(const AirSpeed &_air) const
Return true if both AirSpeed objects contain the same values.
Errors Load(ElementPtr _sdf)
Load the air speed based on an element pointer.
const Noise & PressureNoise() const
Get the noise values.
sdf::ElementPtr Element() const
Get a pointer to the SDF element that was used during load.
sdf::ElementPtr ToElement() const
Create and return an SDF element filled with data from this air pressure sensor.
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