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

Turtlebot Spinning

asked 2016-07-12 10:21:02 -0500

newellr gravatar image

I'm having an issue when simulating a turtlebot in gazebo where the turtlebot will spin around while being given velocity commands. I've had this issue both when following this tutuorial: http://learn.turtlebot.com/2015/02/03/9/ , and when writing scripts to give velocity commands myself. The turtlebot can eventually navigate to its target location, it just spins on the way and sometimes will spin so much that it falls over. This isn't an issue when using teleop commands.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
5

answered 2016-09-04 20:46:22 -0500

Rick Armstrong gravatar image

updated 2016-09-04 20:46:58 -0500

I've found that turtlebot_navigation requires a bit of tuning. It's not bad if the (simulated) turtlebot is already facing in the general direction of a nav goal, but if the little guy has to do a 180, it's Spin City (extreme overshoot when coming about). Here are the settings I use (from my launch file):

  <!-- move_base -->
  <include file="$(find turtlebot_navigation)/launch/includes/move_base.launch.xml"/>
  <!-- default turtlebot is poorly-tuned-->
  <param name="move_base/DWAPlannerROS/max_rot_vel" value="1.0"/>
  <param name="move_base/DWAPlannerROS/acc_lim_theta" value="10.0"/>

This (mostly) damps the overshoot in my setup.

edit flag offensive delete link more

Comments

Thanks, that fixed the problem for me. The question is, whether this is a problem.

  • If move_base is poorly tuned for gazebo simulation, is it good tuned for the real robot?

  • If it is good tuned for the real robot, is gazebo bad simulating the real robot?

Stopfer gravatar image Stopfer  ( 2016-10-07 06:48:51 -0500 )edit

is gazebo bad simulating the real robot?

Good question. Unfortunately, I don't own a Turtlebot (would love to have one, though).

Rick Armstrong gravatar image Rick Armstrong  ( 2016-10-07 13:55:53 -0500 )edit

Oh, BTW, would you mind marking the answer as correct if it did the trick?

Rick Armstrong gravatar image Rick Armstrong  ( 2016-10-07 21:11:40 -0500 )edit

That can only be done by the original poster.

Stopfer gravatar image Stopfer  ( 2016-10-08 15:12:48 -0500 )edit

Ah, missed that.

Rick Armstrong gravatar image Rick Armstrong  ( 2016-10-08 15:39:35 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-07-12 10:21:02 -0500

Seen: 1,170 times

Last updated: Sep 04 '16