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

how to change the Rotating speed of "rotate_recovery" in move_base

asked 2019-01-10 04:26:36 -0500

fighterxi gravatar image

Hello everyone, I have a question ,the rotating speed of "rotate_recovery" in move_base is too fast for my own robot.I want to slow down the speed of "rotate_recovery". Does anyone know which part of the code should be changed or just modify some parameters to solve this problem?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2019-01-10 08:00:48 -0500

fighterxi gravatar image

updated 2019-01-10 08:01:18 -0500

I am sorry to bother you, I found how to modify the speed of "rotate_recovery" myself .It is a file called “rotate_recovery.cpp” in “navigation-indigo-devel/rotate_recovery/src” (ubuntu 14.04 indigo ). There are some params in this cpp:

blp_nh.param("acc_lim_th", acc_lim_th_, 3.2);
blp_nh.param("max_rotational_vel", max_rotational_vel_, 1.0);
blp_nh.param("min_in_place_rotational_vel", min_rotational_vel_, 0.4);

We can change the rotation speed by modifying these parameters. :-)

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-01-10 04:26:36 -0500

Seen: 14,883 times

Last updated: Jan 10 '19