Go to the documentation of this file.
17 #ifndef GZ_SENSORS_AIRPRESSURESENSOR_HH_
18 #define GZ_SENSORS_AIRPRESSURESENSOR_HH_
24 #include <gz/common/SuppressWarning.hh>
26 #include <gz/sensors/config.hh>
27 #include <gz/sensors/air_pressure/Export.hh>
36 inline namespace IGNITION_SENSORS_VERSION_NAMESPACE {
39 class AirPressureSensorPrivate;
56 public:
virtual bool Load(
const sdf::Sensor &_sdf)
override;
61 public:
virtual bool Load(sdf::ElementPtr _sdf)
override;
65 public:
virtual bool Init()
override;
70 public:
virtual bool Update(
71 const std::chrono::steady_clock::duration &_now)
override;
75 public:
void SetReferenceAltitude(
double _reference);
79 public:
double ReferenceAltitude()
const;
84 public:
bool HasConnections()
const;
86 IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING
90 IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING
Definition: gz/sensors/AirPressureSensor.hh:31
AirPressure Sensor Class.
Definition: gz/sensors/AirPressureSensor.hh:44
a base sensor class
Definition: gz/sensors/Sensor.hh:59