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

Rosserial and Arduino DUE

asked 2013-03-13 12:27:58 -0600

Yeti gravatar image

Hi,

I tried to compile a .ino for my Arduino DUE with rosserial package and Arduino IDE-1.5.2, but this warning happens :

ArduinoHardware.h:68: warning: undefined reference to `HardwareSerial::begin(unsigned long)'

And that is surely why I can't communicate with serial port when I use ROS :

Lost sync with device

However, the code compiles and works with an Arduino MEGA.

Does anyone had this problem before ?

edit retag flag offensive close merge delete

Comments

Have you found a resolution to your problem?

0pc0 gravatar image 0pc0  ( 2013-06-28 12:35:39 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-08-15 20:33:14 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

It is necessary to use UARTClass or USARTClass (which are subclasses of HardwareSerial). See http://forum.arduino.cc/index.php?topic=142753.0. I haven't gotten Rosserial communicating yet, but my progress notes are here: http://wiki.jigren.org/index.php?title=Rosserial_On_Arduino_Due

edit flag offensive delete link more

Comments

cha gravatar image cha  ( 2013-08-18 19:16:27 -0600 )edit
0

answered 2013-03-13 19:27:28 -0600

fergs gravatar image

The Arduino DUE is based on a different chip than the other Arduinos (ARM Cortex M3 rather than AVR). There are several tickets open for other ARM processors on limitations with in the rosserial framework that are affecting them, so there could be a variety of issues.

edit flag offensive delete link more

Comments

I have a chipkit max32, that is powered by a pic32 chip using Mpide 23. Is this the reason that rosserial says "Lost sync with device"?

packrat gravatar image packrat  ( 2013-03-16 05:40:58 -0600 )edit

Very possible, I don't use PICs and so I can't speak to the architectural differences in the pic32.

fergs gravatar image fergs  ( 2013-03-26 11:17:43 -0600 )edit

Question Tools

Stats

Asked: 2013-03-13 12:27:58 -0600

Seen: 1,669 times

Last updated: Aug 15 '13