Robotics StackExchange | Archived questions

Roomba 780 bluetooth ROS

Is it possible to have my roomba 780 controlled via bluetooth and ROS? I found the roomba 500 package but unfortunately the source is no longer available. http://wiki.ros.org/roomba_500_series

Asked by gijsje170 on 2016-09-23 08:25:42 UTC

Comments

Check out my driver create_autonomy to handle the serial communication. I'm not sure about Bluetooth. iRobot has a brief tutorial on making a Bluetooth Serial Adaptor

Asked by jacobperron on 2016-09-24 02:02:39 UTC

Unfortunately I am using ROS hydro which will not work.

Asked by gijsje170 on 2016-09-26 01:29:55 UTC

Have you tried building create_autonomy from source with Hydro? I'm curious what build errors (if any) arise.

Asked by jacobperron on 2016-09-26 11:20:07 UTC

Yea i was able to build it from source. I was not able to run create_2.launch due to giving errors in the urdf.xacro. After replacing the urdf xacro it works. When running the application the roomba starts to beep and the terminal says serial error - Operation canceled and failed to receive data.

Asked by gijsje170 on 2016-09-27 02:14:18 UTC

Bascially this is the sequence: /opt/ros/hydro/lib/robot_state_publisher/robot_state_publisher [create::Serial] failed to receive data from Create. Check if robot is powered! [create::Create] retrying to establish serial connection... [create::Serial] serial error - Operation canceled

Asked by gijsje170 on 2016-09-27 02:37:16 UTC

Did some more testing it fails here

if (!robot_->connect(dev_, baud_))

So maybe it is not connecting correctly via bluetooth. Unfortunately i dont have usb cable for roomba.

Asked by gijsje170 on 2016-09-27 02:52:27 UTC

It is working now for some reason don't know yet but this confirms your library works with bluetooth and roomba 780 Thank you for your help. Edit: Looks like for some reason it isn't working again :P

Asked by gijsje170 on 2016-09-27 04:27:58 UTC

I am going to make a cable for it but basically your library works with ros hydro except for the urdf xacro file.

Asked by gijsje170 on 2016-09-27 07:34:16 UTC

Ok, good to know. Hopefully the issues will go away with the cable.

Asked by jacobperron on 2016-09-29 14:27:01 UTC

Answers