yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
IMU Sensor Module📖
1. Introduction to the IMU Module
  • Introduction to IMU Module
2. Multi-master communication case
1. PC Communication
  • For PC
2. Serial communication
  • For STM32F103C8T6
  • For MSPM0G3507
  • For MSPM0G3519new
  • For ESP32
  • For Arduino
  • For Raspberry Pi Pico
  • For Raspberry Pi 5
  • For Jetson
  • For RDK
3. IIC Communication
  • For STM32F103C8T6
  • For MSPM0G3507
  • For MSPM0G3519new
  • For ESP32
  • For Arduino
  • For Raspberry Pi Pico
  • For Raspberry Pi 5
  • For Jetson
  • For RDK
3. Application Cases of Microcontroller-Based Cars
  • 1. Autonomous Driving Car
4. ROS Application Cases
ROS1 Applications
  • 1. IMU data printing
  • 2. Rviz Visualization
  • 3. IMU-integrated radar mapping and navigation
ROS2 Applications
  • 1. IMU data printing
  • 2. Rviz Visualization
  • 3. IMU-integrated radar mapping and navigation
Download
  • Code
  • VM_File
  • Docker_Image
  • 3D_Model_File
  • Hardware_DataSheet
  • Communication_Protocol
  • PC_Software
Download ZIP

Welcome to IMU Sensor Module repository

2. Rviz Visualization

Rviz Visualization

Rviz Visualization1. Connecting the Device2. Check device connection status3. Rviz Visualization4. Raspberry Pi 5, RDK X5 series, Jetson series4.1 Starting the Docker image4.2 Rviz visualization

This tutorial uses Ubuntu 20.04 and ROS1 version Noetic as an example. Other ROS1 versions can use this as a reference.

Note: Before running, please ensure that you have completed the "IMU Data Printing" section of the previous chapter and that it is running normally.

1. Connecting the Device

Connect the IMU attitude sensor to the host controller's USB port using a Type-C cable.

If using a virtual machine, refer to the following steps:

Virtual machine displays a pop-up window

image-20251017172535342

Virtual machine does not display a pop-up window

image-20251017172815386

2. Check device connection status

View device ID

xxxxxxxxxx
lsusb

image-20251017173003617

View device number

xxxxxxxxxx
ll /dev/ttyU*

image-20251017173034606

View IMU mapping

xxxxxxxxxx
ll /dev/my*

image-20251017173324078

3. Rviz Visualization

Run the command to view

xxxxxxxxxx
roslaunch imu_ros1_device ybimu_display.launch

image-20251017182540000

After running, an Rviz window will pop up. If the following prompt appears, click OK. That's it.

image-20251017182612337

After entering, you can rotate the IMU module, and you'll see the IMU on the screen rotate accordingly.

image-20251017182640400

Note:

If, after starting the command, you find that the blocks displayed by rviz are tilted horizontally, as shown in the image, you need to calibrate them.

image-20251021193607644

Refer to the calibration tutorial in the attached folder for details.

4. Raspberry Pi 5, RDK X5 series, Jetson series

Note: Before running, please ensure that you have completed the "IMU data printing" section of the previous chapter and that it is running normally.

4.1 Starting the Docker image

xxxxxxxxxx
sh ros1_noetic.sh

4.2 Rviz visualization

xxxxxxxxxx
roslaunch imu_ros1_device ybimu_display.launch

image-20251027165359895

IMU data printing
IMU-integrated radar mapping and navigation

COMPANY

  • About us
  • Team Style
  • Blog

LEARNING & EXPLORATION

  • Tutorials
  • Edge AI hardware
  • Educational robots
  • Embedded intelligent hardware

WHERE TO BUY

  • Yahboom Online Store
  • Amazon
  • Alibaba
  • AliExpress
  • Mercado

TECHNOLOGY SUPPORT

  • Email: support@yahboom.com

BE A DISTRIBUTOR

  • Email: sales@yahboom.com
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文