tune the parameter of move_base with rqt_reconfigure

asked 2021-12-13 02:02:43 -0500

MarJooBa gravatar image

updated 2021-12-13 02:40:44 -0500

Hello everyone,

i would like to tune my move_base parameter with the rqt_reconfigure. So I am using the current move_base version from the source and start my own move_base launch-file roslaunch move_base_poseidon move_base_pos_sim.launch, which can you see here.

<?xml version="1.0"?>
<launch>
   <node pkg="move_base" type="move_base" respawn="false" name="move_base" output="screen">
     <rosparam file="$(find move_base_poseidon)/config/costmap_common_params.yaml" command="load" ns="global_costmap" />
     <rosparam file="$(find move_base_poseidon)/config/costmap_common_params.yaml" command="load" ns="local_costmap" />
     <rosparam file="$(find move_base_poseidon)/config/local_costmap_params.yaml" command="load" />
     <rosparam file="$(find move_base_poseidon)/config/global_costmap_params.yaml" command="load" />
     <param name="base_global_planner" value="global_planner/GlobalPlanner" />
     <!--Base Trajectory Planner -->
     <param name="base_local_planner" value="base_local_planner/TrajectoryPlannerROS" />
     <rosparam file="$(find move_base_poseidon)/config2/base_local_planner_params.yaml" command="load" />
     <remap from="cmd_vel" to="/base/base_controller/twist_mux/command_navigation"/>
     <remap from="odom" to="/base/base_controller/odometry"/>
   </node>
</launch>

After that I starting rqt_reconfigure (rosrun rqt_reconfigure rqt_reconfigure), but it shown me no parameters in the reconfigure window. The question here is, what is missing? I read that in the rqt_reconfigure Tutorials, that I need a cfg-file, a server and a client. The server is in move_base implemented, but the client and the cfg file in my package isnt there. So I must program an rqt_reconfigure client and create a cfg-file in my ROS-Package?

edit retag flag offensive close merge delete

Comments

Hi 👋 yes you need to create .cfg file as per the tutorial.

osilva gravatar image osilva  ( 2021-12-20 20:48:47 -0500 )edit

hey, thank you for the answer! In the Move_base-Package it is included, see it here. So i think i missing something different.

MarJooBa gravatar image MarJooBa  ( 2021-12-21 01:22:12 -0500 )edit