17 #ifndef _GAZEBO_GPSSENSOR_HH_
18 #define _GAZEBO_GPSSENSOR_HH_
49 public:
virtual void Load(
const std::string & _worldName,
50 sdf::ElementPtr _sdf);
53 public:
virtual void Load(
const std::string & _worldName);
56 public:
virtual void Init();
59 protected:
virtual bool UpdateImpl(
bool _force);
62 public:
virtual void Fini();
72 public: ignition::math::Angle Longitude()
const;
82 public: ignition::math::Angle Latitude()
const;
86 public:
double GetAltitude()
const;
92 private: std::string topicName;
101 private: msgs::GPS lastGpsMsg;
Forward declarations for transport.
#define GAZEBO_DEPRECATED(version)
Definition: CommonTypes.hh:47
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.
An angle and related functions.
Definition: Angle.hh:53
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:49
GpsSensor to provide position measurement.
Definition: GpsSensor.hh:40
boost::shared_ptr< SphericalCoordinates > SphericalCoordinatesPtr
Definition: CommonTypes.hh:138
Base class for sensors.
Definition: Sensor.hh:69
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:66
boost::shared_ptr< Link > LinkPtr
Definition: PhysicsTypes.hh:92