Ask Your Question

Navigation Stack : Speed of Robot

asked 2017-01-23 14:40:27 -0500

burf2000 gravatar image

So finally got things working, again people on here are awesome and I am actually now reading a book on ROS to fill in the gaps.

I used code from

Parameters on the Robot seem to be in

My question is, does either of these files control the turning speed of the robot as it is struggling to turn on carpet?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-01-23 15:16:59 -0500

Steven_Daniluk gravatar image

Yes, the file base_local_planner_params.yaml will control the turning speed (as well as the longitudinal speed). Specifically, the parameters: max_vel_theta, min_vel_theta, and min_in_place_vel_theta. These are standard parameters for the base_local_planner package. You will find their definitions here.

The second file you reference contains parameters for the costmap, which you can read more about here.

However, the maximum velocity setting may not be you problem. When turning on carpet you could be power limited, or also be experiencing excessive slip, which will not only lengthen the turning time, but also add time just for the localization to realize the robot has not turned sufficiently far.

edit flag offensive delete link more


Thanks for the help, thats awesome!

burf2000 gravatar image burf2000  ( 2017-01-24 02:09:34 -0500 )edit

When you say power limited are you saying the motors are not powerful enough?

burf2000 gravatar image burf2000  ( 2017-01-24 07:02:41 -0500 )edit

It is possible. But without knowing anything about your robot I can't say for sure, I just though I would mention it since you emphasized the behaviour on carpet. A robot with small wheels, weak motors, and on plush carpet, could have difficulty moving.

Steven_Daniluk gravatar image Steven_Daniluk  ( 2017-01-24 09:01:06 -0500 )edit

Thank you, could I ask if max_vel_theta = 1 does that mean 100% power?

burf2000 gravatar image burf2000  ( 2017-01-24 09:29:38 -0500 )edit

No, that means 1 radians/sec. As per the definition of max_vel_theta on the base_local_planner link I provided: "The maximum rotational velocity allowed for the base in radians/sec".

Steven_Daniluk gravatar image Steven_Daniluk  ( 2017-01-24 09:46:45 -0500 )edit

Oh sorry I am pretty new to this, Now I just need to work out the actual value :)

burf2000 gravatar image burf2000  ( 2017-01-24 11:03:49 -0500 )edit

No worries. Just always try to look at the documentation for whatever you are doing. Most information you need is usually there.

Steven_Daniluk gravatar image Steven_Daniluk  ( 2017-01-24 11:53:42 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2017-01-23 14:40:27 -0500

Seen: 1,440 times

Last updated: Jan 23 '17