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

Revision history [back]

click to hide/show revision 1
initial version

I think it should work. In your move_base.launch, you have to have the following lines somewhere:

...
<node pkg="move_base" type="move_base" respawn="false" name="move_base" output="screen">
   ...
   <rosparam file="$(find your_package)/config/base_local_planner_params.yaml" command="load"/>
   ...
</node>
...

I write ... to notify the rest of your launch file which is not important concerning your problem.
Of course, you have to fill your yaml file as follows:

...
TrajectoryPlannerROS:
   ...
    controller_frequency: 15.0
   ...

And now, it should work properly. You can check the existence of the parameter using the command rosparam list | grep controller_frequency and you can check its value using the command rosparam get "the output of the previous command" which is supposed to return 15.0.

I hope it will help you,
lfr