17 #ifndef _GAZEBO_SENSORS_MAGNETOMETER_SENSOR_HH_
18 #define _GAZEBO_SENSORS_MAGNETOMETER_SENSOR_HH_
23 #include <ignition/math/Vector3.hh>
34 class MagnetometerSensorPrivate;
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 public:
virtual std::string GetTopic()
const;
62 protected:
virtual bool UpdateImpl(
const bool _force);
65 public:
virtual void Fini();
69 public: ignition::math::Vector3d MagneticField()
const;
72 private: std::unique_ptr<MagnetometerSensorPrivate> dataPtr;
MagnetometerSensor to provide magnetic field measurement.
Definition: MagnetometerSensor.hh:40
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
Forward declarations and typedefs for sensors.
Base class for sensors.
Definition: Sensor.hh:51
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:58