- Flash m5stack_9axis_data_publisher.ino to your M5Stack.
- Install and setup ROS/ROS 2 on your PC. ROS Melodic, ROS 2 Dashing is recommended.
- Install <ROS Distro>-devel branch of the rt_usb_9axisimu_driver.
Connect M5Stack to PC with USB Type-C cable, and run the following command.
$ roslaunch rt_usb_9axisimu_driver rt_usb_9axisimu_driver.launchConnect M5Stack to PC with USB Type-C cable, and run the following command.
$ ros2 launch rt_usb_9axisimu_driver rt_usb_9axisimu_driver.launch.py- "MPU9250 I AM 0 I should be 71"
