17 #ifndef _GAZEBO_SENSORS_GPSSENSOR_HH_ 18 #define _GAZEBO_SENSORS_GPSSENSOR_HH_ 23 #include <ignition/math/Angle.hh> 35 class GpsSensorPrivate;
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 protected:
virtual bool UpdateImpl(
const bool _force);
64 public:
virtual void Fini();
68 public: ignition::math::Angle Longitude()
const;
72 public: ignition::math::Angle Latitude()
const;
76 public:
double Altitude()
const;
80 public: ignition::math::Vector3d VelocityENU()
const;
84 public:
double VelocityEast()
const;
88 public:
double VelocityNorth()
const;
92 public:
double VelocityUp()
const;
96 private: std::unique_ptr<GpsSensorPrivate> dataPtr;
Forward declarations for the common classes.
Definition: Animation.hh:26
sensors
Definition: SensorManager.hh:36
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
Forward declarations and typedefs for sensors.
GpsSensor to provide position measurement.
Definition: GpsSensor.hh:42
Base class for sensors.
Definition: Sensor.hh:51