18 #ifndef _GAZEBO_SENSORS_ALTIMETERSENSOR_HH_
19 #define _GAZEBO_SENSORS_ALTIMETERSENSOR_HH_
36 class AltimeterSensorPrivate;
51 public:
virtual void Load(
const std::string &_worldName,
52 sdf::ElementPtr _sdf);
55 public:
virtual void Load(
const std::string &_worldName);
58 public:
virtual void Init();
61 public:
virtual std::string GetTopic()
const;
64 protected:
virtual bool UpdateImpl(
const bool _force);
67 public:
virtual void Fini();
71 public:
double Altitude()
const;
75 public:
double VerticalVelocity()
const;
79 public:
double ReferenceAltitude()
const;
83 public:
void SetReferenceAltitude(
const double _refAlt);
87 private: std::unique_ptr<AltimeterSensorPrivate> dataPtr;
Forward declarations for transport.
AltimeterSensor to provide vertical position and velocity.
Definition: AltimeterSensor.hh:42
default namespace for gazebo
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
Forward declarations and typedefs for sensors.
Base class for sensors.
Definition: Sensor.hh:51