rosserial - Arduino DUE - sync issues
I am trying to get an Arduino DUE to work with ROS Kinetic on my machine running Ubuntu 16.04 (using the DUE programming port, although I've tried the native one too). I seem to be having issues unique to the DUE as everything seems to work perfectly fine with the exact same cone with an Ardunio Uno.
When running the code:
rosrun rosserial_python serial_node.py /dev/ttyACM0
I get the following error message:
[ERROR] [1498484524.793356]: Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino
Again using the exact same code uploaded to the Arduino Uno I do not get this error. I have tried a number of different baud rates (all from 9600 - 115200), where I found that the Uno gives the same error if it doesn't have the correct baud rate set, however, I continue to get the same message for the DUE regardless of the setting.
I have tried both my simple custom code as well as the example code provided with ros (e.g. pubsub), but have had not success. Further to force a specific baud rate I have including the following lines in setup (both individually, and alone):
nh.getHardware()->setBaud(115200);
Serial.begin(115200);
Using pyserial I can connect to the DUE unlike with ROS. It appears that others have been successful using the DUE based on other questions on here, however, nothing that I have found seems to resolve my issue.
Any ideas what might resolve the issue?
I've tried pretty much everything suggested related to arduino sync issues included in this question too:
http://answers.ros.org/question/19620...
From rosserial/SerialClient.py (found at https://github.com/ros-drivers/rosser... ) line 432, it appears that the given Error is simply indicative of sync timing out.
Looking at https://github.com/ros-drivers/rosser... It appears that you need to add:
however, this does not seem to work. There's also mention something about using:
which also does not work.