18 #ifndef _GAZEBO_SENSORS_ALTIMETERSENSOR_HH_ 19 #define _GAZEBO_SENSORS_ALTIMETERSENSOR_HH_ 37 class AltimeterSensorPrivate;
52 public:
virtual void Load(
const std::string &_worldName,
53 sdf::ElementPtr _sdf);
56 public:
virtual void Load(
const std::string &_worldName);
59 public:
virtual void Init();
62 public:
virtual std::string GetTopic()
const;
65 protected:
virtual bool UpdateImpl(
const bool _force);
68 public:
virtual void Fini();
72 public:
double Altitude()
const;
76 public:
double VerticalVelocity()
const;
80 public:
double ReferenceAltitude()
const;
84 public:
void SetReferenceAltitude(
const double _refAlt);
88 private: std::unique_ptr<AltimeterSensorPrivate> dataPtr;
Forward declarations for the common classes.
Definition: Animation.hh:33
Forward declarations for transport.
AltimeterSensor to provide vertical position and velocity.
Definition: AltimeterSensor.hh:43
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:50
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:59