Go to the documentation of this file.
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();
64 public:
virtual void Fini();
72 public: ignition::math::Angle
Latitude()
const;
96 private: std::unique_ptr<GpsSensorPrivate> dataPtr;
ignition::math::Vector3d VelocityENU() const
Accessor for curent velocity in East-North-Up frame.
double VelocityUp() const
Accessor for current velocity in Up direction.
ignition::math::Angle Latitude() const
Accessor for current latitude angle.
Forward declarations for the common classes.
Definition: Animation.hh:27
ignition::math::Angle Longitude() const
Accessor for current longitude angle.
sensors
Definition: SensorManager.hh:35
Forward declarations and typedefs for sensors.
double Altitude() const
Accessor for current altitude.
virtual void Init()
Initialize the sensor.
virtual void Load(const std::string &_worldName, sdf::ElementPtr _sdf)
Load the sensor with SDF parameters.
virtual void Load(const std::string &_worldName)
Load the sensor with default parameters.
double VelocityNorth() const
Accessor for current velocity in North direction.
double VelocityEast() const
Accessor for current velocity in East direction.
Base class for sensors.
Definition: Sensor.hh:53
virtual void Fini()
Finalize the sensor.
GpsSensor to provide position measurement.
Definition: GpsSensor.hh:43
virtual bool UpdateImpl(const bool _force)
This gets overwritten by derived sensor types.
virtual ~GpsSensor()
Destructor.