tu-darmstadt-ros-pkg / hector_gazebo

hector_gazebo provides packages related to the simulation of robots using gazebo (gazebo plugins, world files etc.).
http://www.ros.org/wiki/hector_gazebo
181 stars 155 forks source link

IMU plugin #50

Open tongtybj opened 6 years ago

tongtybj commented 6 years ago

I am considering to use imu plugin in gazebo. What is the main difference between hector imu plugin and GazeboRosImuSensor?

meyerj commented 6 years ago

The GazeboRosImuSensor plugin was only added/merged recently (https://github.com/ros-simulation/gazebo_ros_pkgs/pull/363), while the IMU plugin in hector_gazebo dates back to 2012. Back then there was no proper IMU plugin in ros-gazebo-pkgs, that

The approach of GazeboRosImuSensor, that uses Gazebo's ImuSensor internally, is definitely cleaner and should be preferred for new projects. But I have not compared the output of both plugins in detail yet. I think the last two "features" are still unique to hector_gazebo_ros_imu.

Another IMU plugin I am aware of is provided by the rotors_simulator.

tongtybj commented 6 years ago

@meyerj

Thank you for your kind explanation! I also agree that the last two features are important. Hope GazeboRosImuSensor can also implement these features.