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

Create-based turtlebot simulation problem

asked 2014-03-30 07:02:39 -0500

INait gravatar image

updated 2014-04-19 02:46:27 -0500

When I launch turtlebot simulation with base = create the robot starts to constantly moving.

I changed file turtlebot_empty_world.launch in package turtlebot_gazebo:

<arg name="base"      value="$(optenv TURTLEBOT_BASE create)"/> <!-- create, roomba -->
<arg name="battery"   value="$(optenv TURTLEBOT_BATTERY /proc/acpi/battery/BAT0)"/>  <!-- /proc/acpi/battery/BAT0 --> 
<arg name="stacks"    value="$(optenv TURTLEBOT_STACKS circles)"/>  <!-- circles, hexagons --> 
<arg name="3d_sensor" value="$(optenv TURTLEBOT_3D_SENSOR kinect)"/>  <!-- kinect, asus_xtion_pro -->

I launch turtlebot now by command

roslaunch turtlebot_gazebo turtlebot_empty_world.launch

It starts without errors, but, it doesn't stop slowly moving around by himself!

When the base was kobuki - the turtlebot stayed still.

I also tried to spawn pure irobot create in gazebo, it has the same problem, but I managed to solve it by adding gazebo plugin "differential drive". However, adding this plugin to turtlebot create base urdf file didn't help.

I'm really stuck with this issue, could you please at least point me to the digging direction?

edit retag flag offensive close merge delete


@Ken_in_JAPAN thanks for your answer! I'll check it out.

INait gravatar image INait  ( 2014-04-22 08:38:00 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2014-04-29 01:00:04 -0500

INait gravatar image

Found this in ROS tutorial

Caution: Gazebo plugins for Create and Roomba bases don't work perfectly on Hydro, so expect strange behaviors when using them.

So the behaviour is undefined.

edit flag offensive delete link more

answered 2014-04-21 06:58:02 -0500

Ken_in_JAPAN gravatar image

updated 2014-04-21 06:58:23 -0500

create.launch.xml includes node robot_pose_ekf, kobuki.launch.xml doesn't include it. So I think that create-based turtlebot is moving around by itself to estimate robot's pose. Please check how it will do if commenting some sentences of Odometry estimator!

edit flag offensive delete link more

Question Tools


Asked: 2014-03-30 07:02:39 -0500

Seen: 725 times

Last updated: Apr 29 '14