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

Revision history [back]

The baud rate set in the Serial Monitor of the Arduino IDE needs to match the baud rate set in the ROSArduinoBridge firmware which is 57600 by default. This is actually explained in the documentation which I quote below:

NOTE: Before trying these commands, set the Serial Monitor baudrate to 57600 and the line terminator to "Carriage return" or "Both NL & CR" using the two pulldown menus on the lower right of the Serial Monitor window.

The baud rate set in the Serial Monitor of the Arduino IDE needs to match the baud rate set in the ROSArduinoBridge firmware which is 57600 by default. This is actually explained in the documentation which I quote below:

NOTE: Before trying these commands, set the Serial Monitor baudrate to 57600 and the line terminator to "Carriage return" or "Both NL & CR" using the two pulldown menus on the lower right of the Serial Monitor window.

EDIT: Please confirm the following three steps:

(1) In the ROSArduinoBridge.ino file, make sure you have the following #define:

#define BAUDRATE     57600

(2) Compile and upload the sketch to your Arduino.

(3) In the Arduino IDE, open the Serial Monitor and set its baud rate to 57600 and the line ending to Carriage Return.

Then try the firmware commands.

Also, you do not specify the hardware you are using to run ROS. Are you using a serial port that is capable of baud rates greater than 9600?