29 #ifndef HECTOR_GAZEBO_PLUGINS_GAZEBO_ROS_MAGNETIC_H 30 #define HECTOR_GAZEBO_PLUGINS_GAZEBO_ROS_MAGNETIC_H 32 #include <gazebo/common/Plugin.hh> 35 #include <geometry_msgs/Vector3Stamped.h> 36 #include <sensor_msgs/MagneticField.h> 40 #include <dynamic_reconfigure/server.h> 52 virtual void Load(physics::ModelPtr _model, sdf::ElementPtr _sdf);
68 #if (GAZEBO_MAJOR_VERSION >= 8) 94 #endif // HECTOR_GAZEBO_PLUGINS_GAZEBO_ROS_MAGNETIC_H double reference_heading_
event::ConnectionPtr updateConnection
physics::LinkPtr link
The link referred to by this plugin.
ros::Publisher publisher_
bool use_magnetic_field_msgs_
gazebo::math::Vector3 magnetic_field_world_
physics::WorldPtr world
The parent World.
SensorModel3 sensor_model_
virtual ~GazeboRosMagnetic()
virtual void Load(physics::ModelPtr _model, sdf::ElementPtr _sdf)
boost::shared_ptr< dynamic_reconfigure::Server< SensorModelConfig > > dynamic_reconfigure_server_
ros::NodeHandle * node_handle_