Arduino Due and rosserial

asked 2015-05-14 19:20:58 -0600

jbrown gravatar image

I am using a rosserial node to communicate with the arduino Due with a baud rate of 115200. The Due takes in velocity messages from an xbox controller (joy_node), but the motors always read high (3.3V, measuring using a multimeter), and we use the joysticks on the xbox controller for those. The 115200 baud rate is the only baud rate thus far that even remotely works. Eventually though, I get a "lost sync with device, restarting..." error. Any advice? Thanks!

Main problems:

Motors always read high (we use analogWrite()) Loses connection

edit retag flag offensive close merge delete

Comments

Have you watched the Ardunio serial output directly. The ROS arduino library can panic and crash.

sonyccd gravatar image sonyccd  ( 2016-04-07 08:07:29 -0600 )edit