Go to the documentation of this file.
17 #ifndef GZ_SENSORS_ALTIMETERSENSOR_HH_
18 #define GZ_SENSORS_ALTIMETERSENSOR_HH_
24 #include <gz/common/SuppressWarning.hh>
25 #include <gz/common/Time.hh>
27 #include <gz/sensors/config.hh>
28 #include <gz/sensors/altimeter/Export.hh>
37 inline namespace IGNITION_SENSORS_VERSION_NAMESPACE {
40 class AltimeterSensorPrivate;
57 public:
virtual bool Load(
const sdf::Sensor &_sdf)
override;
62 public:
virtual bool Load(sdf::ElementPtr _sdf)
override;
66 public:
virtual bool Init()
override;
71 public:
virtual bool Update(
const common::Time &_now)
override;
75 public:
void SetVerticalReference(
double _reference);
79 public:
double VerticalReference()
const;
83 public:
void SetPosition(
double _pos);
88 public:
double VerticalPosition()
const;
92 public:
void SetVerticalVelocity(
double _vel);
96 public:
double VerticalVelocity()
const;
98 IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING
102 IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING
Definition: gz/sensors/AirPressureSensor.hh:32
a base sensor class
Definition: gz/sensors/Sensor.hh:60
Altimeter Sensor Class.
Definition: gz/sensors/AltimeterSensor.hh:46