emanual
emanual copied to clipboard
I had to manually add Dynamixel2Arduino to Arduino IDE
Hi all,
I am trying to run a turtlebot3 waffle using ROS 2. I was following the steps for Foxy from: https://emanual.robotis.com/docs/en/platform/turtlebot3/opencr_setup/#opencr-setup and then I opened the Arduino IDE part "Click here to expand more details about the firmware upload using Arduino IDE". When I open examples -> Turtlebot3 ROS 2 -> turtlebot3_waffle and try to build it, I got the error:
In file included from /home/wilco/.arduino15/packages/OpenCR/hardware/OpenCR/1.5.1/libraries/turtlebot3_ros2/src/../include/turtlebot3/turtlebot3.h:21:0,
from /home/wilco/.arduino15/packages/OpenCR/hardware/OpenCR/1.5.1/libraries/turtlebot3_ros2/src/TurtleBot3_ROS2.h:1,
from /home/wilco/.arduino15/packages/OpenCR/hardware/OpenCR/1.5.1/libraries/turtlebot3_ros2/examples/turtlebot3_waffle/turtlebot3_waffle.ino:17:
/home/wilco/.arduino15/packages/OpenCR/hardware/OpenCR/1.5.1/libraries/turtlebot3_ros2/src/../include/turtlebot3/turtlebot3_motor_driver.h:20:31: fatal error: Dynamixel2Arduino.h: No such file or directory
compilation terminated.
exit status 1
Error compiling for board OpenCR Board.
This could be resolved by manually adding the Dynamixel2Arduino library to the Arduino IDE (Sketch -> Include Library -> Manage Libraries). Is this something that should have happened automagically? Or should this step be added to the documentation?