Ask Your Question

launch move_base : error loading <rosparam> tag

asked 2018-04-03 03:16:49 -0500

kesuke gravatar image

updated 2018-04-03 05:15:26 -0500

gvdhoorn gravatar image

hi , i'm trying to launch move_base backage and i used this launch file :

<node name="map_server" pkg="map_server" type="map_server" args="$(find flo_navigation_rviz)/maps/couloir_hopi.yaml" output="screen"/>

<include file="$(find amcl)/examples/amcl_diff.launch" > </include>
<node pkg="move_base" type="move_base" respawn="false" name="move_base" >
<rosparam command="load" file="$(find flo_navigation_rviz)/param/costmap_common_params.yaml"  />
<rosparam file="$(find flo_navigation_rviz)/param/costmap_common_params.yaml" command="load" ns="local_costmap" />
<rosparam file="$(find flo_navigation_rviz)/param/local_costmap_params.yaml" command="load"/>
<rosparam file="$(find flo_navigation_rviz)/param/global_costmap_params.yaml" command="load" />
<rosparam file="$(find flo_navigation_rviz)/param/base_local_planner_params.yaml" command="load" />

i get this error :

error loading <rosparam> tag: 
    file does not exist [/home/kesuke-pc/catkin_ws/src/flo_navigation_rviz/param/costmap_common_params.yaml]
XML is <rosparam command="load" file="$(find flo_navigation_rviz)/param/costmap_common_params.yaml" ns="global_costmap"/>

The traceback for the exception was written to the log file

i put "costmap_common_params.yaml" in the folder named "param" i dont understand why rosparam can't find it ?? thanks in advance for all your answers

edit retag flag offensive close merge delete


Have you "sourced" your workspace when you opened a new terminal/tab?

Chaos gravatar image Chaos  ( 2018-04-03 03:22:19 -0500 )edit

thankks for asnwering yes i did

kesuke gravatar image kesuke  ( 2018-04-03 03:37:20 -0500 )edit

Sorry, but I have no idea why roslaunch can't find your file... Maybe is a silly question, but, is the whole path correct?

Chaos gravatar image Chaos  ( 2018-04-03 03:47:11 -0500 )edit

roscd find it so i don't think there is a problem with the path

kesuke gravatar image kesuke  ( 2018-04-03 03:50:53 -0500 )edit

Just to be sure, try:

gedit <the-whole-path-to-the-file>/<file-name>.yaml

Does it find it?

Chaos gravatar image Chaos  ( 2018-04-03 04:10:53 -0500 )edit

Please review the support guidelines, specifically the Do Not section:

DO NOT post a screenshot of the terminal or source file

gvdhoorn gravatar image gvdhoorn  ( 2018-04-03 04:44:11 -0500 )edit

Good!!!! Remember to set the post as solved!

Chaos gravatar image Chaos  ( 2018-04-03 04:59:52 -0500 )edit

gvdhoorn thank you for updating the post i'm new in ROS i'm sorry i did not repsect all the rules

kesuke gravatar image kesuke  ( 2018-04-03 05:20:41 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-04-03 04:58:28 -0500

kesuke gravatar image

updated 2018-04-03 05:00:24 -0500

Chaos you were right i dont why but it's doesn't diplay anything so i remove al the folder named 'param' and add new folder with the same name and i'ts works but i'm still dont understand what's was wrong thank you for your answer

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2018-04-03 03:16:49 -0500

Seen: 1,549 times

Last updated: Apr 03 '18