ROS2 driver for M5 Stack's Atom Matrix Micro-controller.
cd <your_ws>
git clone https://github.com/grassjelly/atom_matrix_ros2 src/atrom_matrix_ros2
rosdep install --from-paths src -i -r -y
colcon build
python3 -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/master/scripts/get-platformio.py)"
echo "PATH=\"\$PATH:\$HOME/.platformio/penv/bin\"" >> $HOME/.bashrc
source $HOME/.bashrc
cd atom_matrix_ros2/firmware
pio run --target upload
3.1 Run the launch file to run the microROS agent and IMU Madgwick Filter
ros2 launch atom_matrix_ros2 imu.launch
Optional arguments
rviz - If you want to run rviz and visualize the filter's estimated pose. For example:
ros2 Launch atom_matrix_ros2 imu.launch rviz:=true