Hi,
I am trying to communicate wirelessly between an Arduino with a bluetooth shield and my computer using rosserial. When I use rosserial through the USB cable, everything works fine, but nothing works wirelessly. Also, I can send regular serial messages sometimes to Putty using the Arduino serial functions, Serial.begin(), Serial.Write(), etc. I just can't seem to make the Arduino a ROS node through bluetooth (though, as mentioned before it does work with a USB serial connection).
I setup my bluetooth connection using: sudo rfcomm bind 0 00:00:01:08:01:65 1
There is an LED on the shield that indicates when the bluetooth is connected, however the messages that I get from the terminal are:
rosrun rosserial_python serial_node.py /dev/rfcomm0 _baud:=9600
[INFO] [WallTime: 1342369406.985011] ROS Serial Python Node
[INFO] [WallTime: 1342369406.987303] Connected on /dev/rfcomm0 at 9600 baud
[ERROR] [WallTime: 1342369421.988484] Lost sync with device, restarting...
I have tried playing around with the baud rates to no avail.
Does anyone know how I can make this work?
Originally posted by sgwhack on ROS Answers with karma: 73 on 2012-07-15
Post score: 0