Simulating IMU on Gazebo
Similar to GPS, we can start the IMU simulation using the following command:
$ roslaunch sensor_sim_gazebo imu.launch
You will get orientation values, linear acceleration, and angular velocity from this plugin. After launching this file, you can list out the topics published by the imu
plugin. Here is the list of topics published by this plugin:
Figure 22: List of topics published from the imu ROS plugin
We can check out the /imu
topic by echoing the topic. You can find orientation, linear acceleration, and angular velocity data from this topic. The values are shown here:
Figure 23: Data from the /imu topic
If you look at ...
Get ROS Robotics Projects now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.