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 private: std::unique_ptr<GpsSensorPrivate> dataPtr;
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
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:58