Ask Your Question
0

On speed limit in SLAM

asked 2018-11-15 19:44:19 -0500

saito gravatar image

Hello. I am a ROS beginner. I am doing SLAM of turtlebot 3 (waffle) in the ubuntu 16.04, ros (kinetic) personal computer environment.

I'd like to limit the speed of the robot in real time during SLAM. So there are two questions. First, what is the difference between max_vel_x and max_trans_vel of dwa_local_planner_params? Second, is it possible to change the values of max_vel_x and max_trans_vel in real time using local cost map information? Thank you.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-11-15 21:22:55 -0500

Hui Zhang gravatar image
  1. max_vel_x is how fast your robot can move in x axis, and max_trans_vel is how fast your robot can move.

  2. I tried changing these two params in real time by using "rosparam set", but seems like the real velocity of robot didn't affect by it. So I think the answer would be no. I think there are also speed limits in robot's description files so maybe you want to consider them too.

If my answer was wrong please tell me and I will delete it.

edit flag offensive delete link more

Comments

you are correct about 1. max_vel_x is only the x-component, max_trans_vel is the "vector" in x and y.

about 2: Typically, the parameter is not used to dynamically adapt parameters on the fly (nodes can be implemented like that, but typically aren't. ...

mgruhler gravatar image mgruhler  ( 2018-11-16 01:01:44 -0500 )edit

The wiki states:

As it is not designed for high-performance, it is best used for static, non-binary data such as configuration parameters.

For dynamically changing parameters, there is a tool called dynamic_reconfigure. ...

mgruhler gravatar image mgruhler  ( 2018-11-16 01:02:34 -0500 )edit

This allows what you want to achieve, when it is implemented in the node. See the wiki about that.

dwa_local_planner supports this, so calling dynparam set should work. Alternatively, use the rqt_reconfigure GUI tool

mgruhler gravatar image mgruhler  ( 2018-11-16 01:04:34 -0500 )edit

Thank you my friend

Hui Zhang gravatar image Hui Zhang  ( 2018-11-17 10:34:42 -0500 )edit

thank you.Please let me know if you can freely move on what you did with the parameters.or,please tell me if there is any way to dynamically change the speed of the robot in SLAM in other ways.

saito gravatar image saito  ( 2018-11-20 01:19:21 -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

1 follower

Stats

Asked: 2018-11-15 19:44:19 -0500

Seen: 227 times

Last updated: Nov 15 '18