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

Error while running rosserial on bluetooth

asked 2017-02-01 15:40:13 -0500

Kishore Kumar gravatar image

updated 2017-02-02 16:18:29 -0500

I have connected HC-05 to Arduino mega and initialized the bluetooth connection through port rfcomm0. I had uploaded the code to arduino and When i try running rosserial node to subscribe the message as

$rosrun rosserial_python serial_node.py _port:=/dev/rfcomm0

I have bumped into the error below

netceilo@netceilo-OptiPlex-780:~$ rosrun rosserial_python serial_node.py _port:=/dev/rfcomm0 _baud:=57600
[INFO] [WallTime: 1486073151.351080] ROS Serial Python Node
[INFO] [WallTime: 1486073151.354630] Connecting to /dev/rfcomm0 at 57600 baud
[ERROR] [WallTime: 1486073168.457418] Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino
[ERROR] [WallTime: 1486073183.458364] Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino

How to get around this issue, i had checked the baud rates and it seems to be fine and also there is no issue in code as the code is working well with usb port.

edit retag flag offensive close merge delete

Comments

Is your bt connection full duplex?

Humpelstilzchen gravatar image Humpelstilzchen  ( 2017-02-03 02:47:41 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-02-01 17:13:04 -0500

duck-development gravatar image

Did you set the right boad in the Arduino code (I see on the Linux site 9600)? Do you use the Right Serialport on the Arduino?

look at this Anser

http://answers.ros.org/question/206972/baud-rate-parameter-in-rosserial_python-arduino/

may this help

Greet

edit flag offensive delete link more

Comments

Yes i Tried that fix as well but it didnt help

Kishore Kumar gravatar image Kishore Kumar  ( 2017-02-02 02:14:28 -0500 )edit

Did you Desolder the USB/Uart Chip from the Arduino, cause you can use ether usb or bluetooth but not the both at the same time.

the problem ist the TX line. only one Chip can drive it.

Had the same problem wih the Bluetooth Uart Bridge and my 3D printer.

duck-development gravatar image duck-development  ( 2017-02-11 14:13:57 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2017-02-01 15:40:13 -0500

Seen: 513 times

Last updated: Feb 02 '17