Package Containing ROS2 Package and Arduino script to establish serial link between them
Upload the Arduino code to the Arduino.
The Arduino code is based on the Adafruit BNO055 library
In order to run the node. You need to run the serial_link.py.
Please run the following command in the terminal:
python3 bno_055_arduino_ros2_serial/src/serial_link.pyThe node will publish the IMU data to the topic: /IMU_Data.
The custom message type can be found in the ImuData.msg file.
Even though the Node is written for 4 IMUs, the Arduino code is written for 2 IMUs. So the Arduino code needs to be modified to work with 4 IMUs.