Creates a ROS node that publishes to IMU.msg.
Based off of FRC Team 900's repository
- Clone this project to your catkin's workspace src folder
- Navigate into navx_ros directory and run
git submodule init
andgit submodule update
- Install rviz_imu_plugin: roswiki, github
- Start the imu node (including roscore) and run
rosrun rviz rviz
- Navigate to the bottom left corner and click 'add' and scroll down and add
Imu
under the 'rviz_imu_plugin' folder - On the left Display panel, add the IMU topic (default should be
/Imu
) and change the 'Fixed Frame' variable toimu
- Change the settings for the box, axes, and acceleration as needed
With all of the other sensors attached to the computer, the order in which the sensors are mounted can change, therefore changing their names. Therefore, the script create_udev_rules.sh
should be used to assign a unique name to the IMU. After running the script, the IMU should show up as /dev/navx.