17 #ifndef _GAZEBO_SENSORS_MAGNETOMETER_SENSOR_HH_ 18 #define _GAZEBO_SENSORS_MAGNETOMETER_SENSOR_HH_ 23 #include <ignition/math/Vector3.hh> 35 class MagnetometerSensorPrivate;
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 public:
virtual std::string GetTopic()
const;
63 protected:
virtual bool UpdateImpl(
const bool _force);
66 public:
virtual void Fini();
70 public: ignition::math::Vector3d MagneticField()
const;
73 private: std::unique_ptr<MagnetometerSensorPrivate> dataPtr;
Forward declarations for the common classes.
Definition: Animation.hh:33
MagnetometerSensor to provide magnetic field measurement.
Definition: MagnetometerSensor.hh:41
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:50
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:59