ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Arduino DUE + CMake with rosserial_arduino

asked 2016-02-01 01:43:29 -0600

ChickenSoup gravatar image

updated 2016-05-17 02:36:40 -0600

Hello all,

What is the board name I should use for BOARD? The following does not work.

  SRCS due_project.cpp ${ROS_LIB_DIR}/time.cpp
  BOARD due
  PORT /dev/ttyACM0

I have installed DUE related stuff in IDE by Tools -> Boards Manager. I just want the arduino things to be built using catkin just like other packages. Also, I noticed that /home/peshala/arduino-1.6.5-r5/hardware/arduino/avr/boards.txt does not contain an entry for "due".

Thank you.


edit retag flag offensive close merge delete


The due is not an avr processor, it will be under sam.

tonybaltovski gravatar image tonybaltovski  ( 2016-02-01 09:58:05 -0600 )edit

@tonybaltovski ok I understand. So, what modifications should I make to compile and upload to DUE as in link text

ChickenSoup gravatar image ChickenSoup  ( 2016-02-01 19:03:45 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-05-17 06:45:41 -0600

laazizi gravatar image

hello i work for me with arduino1.6.8 i change in ros_lib the file ArduinoHardware.h #if defined(USBCON) and !(defined(USE_USBCON)) /* Leonardo support */ iostream = &Serial1;


#if defined(USBCON) and !(defined(USE_USBCON)) /* Leonardo support */ iostream = &Serial;

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-02-01 01:43:29 -0600

Seen: 447 times

Last updated: May 17 '16