17 #ifndef _GAZEBO_SENSORS_GPSSENSOR_HH_ 18 #define _GAZEBO_SENSORS_GPSSENSOR_HH_ 23 #include <ignition/math/Angle.hh> 36 class GpsSensorPrivate;
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 protected:
virtual bool UpdateImpl(
const bool _force);
65 public:
virtual void Fini();
69 public: ignition::math::Angle Longitude()
const;
73 public: ignition::math::Angle Latitude()
const;
82 public:
double Altitude()
const;
86 private: std::unique_ptr<GpsSensorPrivate> dataPtr;
Forward declarations for the common classes.
Definition: Animation.hh:33
#define GAZEBO_DEPRECATED(version)
Definition: CommonTypes.hh:48
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:43
Base class for sensors.
Definition: Sensor.hh:50
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:59