How to setup params for base_global_planner?

asked 2020-05-13 10:29:40 -0500

quarkpol gravatar image

I wrote the lauch file for running move_base node:

<node pkg="move_base" type="move_base" respawn="false" name="move_base" output="screen">
    <param name="base_local_planner" value="dwa_local_planner/DWAPlannerROS" />
    <rosparam file="$(find navigation)/param/costmap_common_params.yaml" command="load" ns="global_costmap" />
    <rosparam file="$(find navigation)/param/costmap_common_params.yaml" command="load" ns="local_costmap" />
    <rosparam file="$(find navigation)/param/local_costmap_params.yaml" command="load" />
    <rosparam file="$(find navigation)/param/global_costmap_params.yaml" command="load" />
    <rosparam file="$(find navigation)/param/move_base_params.yaml" command="load" />
    <rosparam file="$(find navigation)/param/dwa_local_planner_params.yaml" command="load" />
    <rosparam file="$(find navigation)/param/global_planner_params.yaml" command="load"/>
    <remap from="cmd_vel" to="$(arg cmd_vel_topic)"/>
    <remap from="odom" to="$(arg odom_topic)"/>
  </node>
</launch>

And I would like to setup global planner params such as: cost_factor and neutral_cost. How can I do it in this launch file?

edit retag flag offensive close merge delete

Comments

Hi, did you solve this issue? @quarkpol

peng cheng gravatar image peng cheng  ( 2021-12-14 14:53:12 -0500 )edit