How to add extra gyro sensor for roomba[Solved]
How to add extra gyro sensor for roomba
Hi,I'm trying to implement my own turtlebot with iRobot Create 2(roomba 600).
Unfortunately, It seems that iRobot Create 2 has not the DB25(25pin) analog port of the iRobot Create base. (ref:http://answers.ros.org/question/9749/is-an-imu-required-to-run-turtlebot-stack/#1243)
Is there any simple/convenient way that can add an extra gyro sensor for iRobot Create 2? So the script "turtlebot_minimal_create.launch" in 'ROS by Example' can be launch smoothly. or "turtlebot_bringup/launch/minimal.launch" in 'ROS repository' can be launch smoothly.
I hope to run the script below(from rbx_hydro_vol1) to implement the SLAM with map creating simultaneously.
$ roslaunch rbx1_bringup turtlebot_minimal_create.launch
$ roslaunch rbx1_bringup fake_laser.launch #i'm using xtion_pro
$ rqt_console &
$ roslaunch rbx1_nav tb_nav_test.launch map:=my_map.yaml
$ rosrun rviz rviz -d `rospack find rbx1_nav`/nav_test.rviz
My quetion is:
Is there any simple/convenient way that can add an extra gyro sensor for iRobot Create 2?
Can I still launch the commands above without a gyro sensor?
Thank you very much!!
I am in the process of trying to add an IMU to Create 2 as well. My current solution is to download the ROS Sensors app ( http://wiki.ros.org/android_sensors_d... ) for Android and attach my phone to the robot. Wondering if you came across a solution for yourself?
@jacobperron , Thank you for your comment! I'v tried using an USB-ported IMU sensor module. I plugged it in my turtlebot's controller( the ubuntu notebook ) and using the usb-serial driver(e.g. r2serial_driver) to publish the data to ROS. We got the data but halted by other bussiness.
Hi @sonictl, can you elaborate on whether or not using the USB-ported IMU was a success? When you published the data from USB-IMU to ROS, did you encounter any problems? Were you able to use that IMU data to improve the odom estimate in the end?
@jacobperron, when working on android_sensors_driver, did it publish to sensor_msgs/Imu, as described in the wiki page? I am asking because according to this, it only publishes to android/fix and I'm confused.
@eugene_ang I just got data from IMU to ROS, I published the IMU data as a ROS topic. never used the data cuz I found the odom data was enough then.
@eugene_ang As long as your Android device supports the appropriate sensors then you should get the sensor_msgs/Imu too. For example, on one device I did not receive a magnetometer message, but it was present on a second device. I think that tutorial is out of date.
@jacobperron, @sonictl: Thanks for your inputs! In the end, I went the Android way and got my phone to publish imu messages.
@jacobperron: after you deployed your Android imu publisher, did you go on and calibrate the turtlebot like in this tutorial? Did it help in any way?