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

Navigation Stack : Speed of Robot

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

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 https://github.com/DaikiMaekawa/navig...

Parameters on the Robot seem to be in https://github.com/DaikiMaekawa/navig... https://github.com/DaikiMaekawa/navig...

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
2

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

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

Comments

Thanks for the help, thats awesome!

burf2000 gravatar image burf2000  ( 2017-01-24 02:09:34 -0600 )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 -0600 )edit
1

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 -0600 )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 -0600 )edit
1

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 -0600 )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 -0600 )edit
1

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 -0600 )edit

Question Tools

2 followers

Stats

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

Seen: 1,805 times

Last updated: Jan 23 '17