17 #ifndef GZ_SENSORS_AIRSPEEDSENSOR_HH_
18 #define GZ_SENSORS_AIRSPEEDSENSOR_HH_
24 #include <gz/utils/SuppressWarning.hh>
26 #include <gz/sensors/config.hh>
27 #include <gz/sensors/air_speed/Export.hh>
36 inline namespace GZ_SENSORS_VERSION_NAMESPACE {
39 class AirSpeedSensorPrivate;
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;
69 public: gz::math::Vector3d Velocity()
const;
72 public:
void SetVelocity(
const gz::math::Vector3d &_vel);
79 public:
virtual bool Update(
80 const std::chrono::steady_clock::duration &_now)
override;
84 public:
virtual bool HasConnections()
const override;
86 GZ_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING
90 GZ_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING