How sohail103/blackpillcdc_rvizvisualization works
Project type and purpose
• This is a ROS 2 Humble visualization package (“BlackPillCDC_RvizVisualization”).
• It reads IMU data from an STM32/MPU6050 over USB-CDC, filters it with imu_tools, and visualizes it in RViz.
File structure
• src/serial_mpu_reader: the ROS 2 Python package
• serial_reader node (serial_reader.py)
• launch/imu_visualize.launch.py
• package.xml, setup.py, setup.cfg
• resource/serial_mpu_reader (entry point)
• test/… (unit/flake8/pep257 checks)
• rvizconfig.rviz: RViz display configuration
• build/ & install/: artifacts from colcon build/install
• demo.mp4: usage demo
README
• One node (“serial_reader”) subscribes to the USB serial port (/dev/ttyACM0), parses raw IMU registers, and publishes sensor_msgs/Imu on /imu/data_raw.
• A Madgwick filter node from imu_tools subscribes to /imu/data_raw and republishes on /imu/data.