17 #ifndef IGNITION_SENSORS_NAVSAT_HH_ 18 #define IGNITION_SENSORS_NAVSAT_HH_ 22 #include <ignition/common/SuppressWarning.hh> 23 #include <sdf/Sensor.hh> 25 #include "ignition/sensors/config.hh" 26 #include "ignition/sensors/navsat/Export.hh" 35 inline namespace IGNITION_SENSORS_VERSION_NAMESPACE {
60 public:
virtual bool Load(
const sdf::Sensor &_sdf)
override;
65 public:
virtual bool Load(sdf::ElementPtr _sdf)
override;
69 public:
virtual bool Init()
override;
74 public:
virtual bool Update(
75 const std::chrono::steady_clock::duration &_now)
override;
79 public:
void SetLatitude(
const math::Angle &_latitude);
84 public:
const math::Angle &Latitude()
const;
88 public:
void SetLongitude(
const math::Angle &_longitude);
93 public:
const math::Angle &Longitude()
const;
97 public:
void SetAltitude(
double _altitude);
101 public:
double Altitude()
const;
105 public:
void SetVelocity(
const math::Vector3d &_vel);
109 public:
const math::Vector3d &Velocity()
const;
115 public:
void SetPosition(
const math::Angle &_latitude,
116 const math::Angle &_longitude,
double _altitude = 0.0);
118 IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING
122 IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING
a base sensor class
Definition: Sensor.hh:59
NavSat Sensor Class.
Definition: NavSatSensor.hh:49
Definition: AirPressureSensor.hh:31