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> 39 #include <dynamic_reconfigure/server.h> 51 virtual void Load(physics::ModelPtr _model, sdf::ElementPtr _sdf);
66 #if (GAZEBO_MAJOR_VERSION >= 8) 92 #endif // HECTOR_GAZEBO_PLUGINS_GAZEBO_ROS_MAGNETIC_H double reference_heading_
event::ConnectionPtr updateConnection
physics::LinkPtr link
The link referred to by this plugin.
geometry_msgs::Vector3Stamped magnetic_field_
ros::Publisher publisher_
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_