18 #ifndef _GPSSENSOR_HH_
19 #define _GPSSENSOR_HH_
50 public:
virtual void Load(
const std::string & _worldName,
51 sdf::ElementPtr _sdf);
54 public:
virtual void Load(
const std::string & _worldName);
57 public:
virtual void Init();
60 protected:
virtual bool UpdateImpl(
bool _force);
63 public:
virtual void Fini();
75 public:
double GetAltitude()
const;
78 private:
NoisePtr horizontalPositionNoise;
81 private:
NoisePtr verticalPositionNoise;
84 private:
NoisePtr horizontalVelocityNoise;
87 private:
NoisePtr verticalVelocityNoise;
93 private: std::string topicName;
102 private: msgs::GPS lastGpsMsg;
boost::shared_ptr< Noise > NoisePtr
Definition: SensorTypes.hh:107
Forward declarations for transport.
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:52
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:44
GpsSensor to provide position measurement.
Definition: GpsSensor.hh:41
boost::shared_ptr< SphericalCoordinates > SphericalCoordinatesPtr
Definition: CommonTypes.hh:135
Base class for sensors.
Definition: Sensor.hh:67
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48
boost::shared_ptr< Link > LinkPtr
Definition: PhysicsTypes.hh:90