ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org

OpenCR Software Setup

Can’t add TurtleBot3 Firmware to OpenCR following Docs, get error. What could be the problem?

Arduino: 1.8.5 (Linux), Board: “OpenCR Board, OpenCR Bootloader”

In file included from /home/seeggel/Arduino/libraries/ros_lib/ros.h:39:0,
from sketch/turtlebot3_core_config.h:24,
from /home/seeggel/.arduino15/packages/OpenCR/hardware/OpenCR/1.0.13/libraries/turtlebot3/turtlebot3_burger/turtlebot3_core/turtlebot3_core.ino:19:
/home/seeggel/Arduino/libraries/ros_lib/ArduinoHardware.h: In constructor ‘ArduinoHardware::ArduinoHardware()’:
/home/seeggel/Arduino/libraries/ros_lib/ArduinoHardware.h:76:16: error: cannot convert ‘USBSerial*’ to ‘HardwareSerial*’ in assignment
iostream = &Serial;
^
Multiple libraries were found for "ros.h"
Used: /home/seeggel/Arduino/libraries/ros_lib
Not used: /home/seeggel/.arduino15/packages/OpenCR/hardware/OpenCR/1.0.13/libraries/turtlebot3_ros_lib
exit status 1
Error compiling for board OpenCR Board.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I was able to compile and flash the OpenCR firmware, but had to upgrade my Arduino software to do so. What version are you running?

I’m running Arduino 1.8.5

Same here. I did have to follow the procedure on the wiki site (http://turtlebot3.robotis.com/en/latest/opencr_software.html) for the USB setup of the OpenCR before flashing.

I followed procedure exactly but got this error. I will try to reinstall arduino completely!