IMU Driver and Visualization
Hint
The operating environment and software and hardware configurations are as follows:
- OriginBot Robot(Navigation Version)
- PC:Ubuntu (≥20.04) + ROS2 (≥Foxy)
IMU driver
After the SSH connection to OriginBot is successful, enter the following commands in the terminal to start the robot chassis and IMU:
Data visualization
On the PC side of the same network, install the IMU plug-in in Rivz:
Then start the host computer visualization software:
You can see the visual IMU information, and when you shake the robot, the coordinate system in Rviz will also follow the motion.
Hint
Make sure that the Ubuntu+ROS2 system has been installed on the PC, and the download and compilation of the originbot_desktop code repository have been completed. In addition, you can also use "ros2 run rviz2 rviz2" to start Rivz2 independently, manually configure the Fixed Frame to select the base_link, add imu display items, and subscribe to imu topics, you can also achieve a similar effect.