rosin-project / metacontrol_sim

2 stars 4 forks source link

can't find rosgraph_manipulator_config.yaml #59

Open Rezenders opened 3 years ago

Rezenders commented 3 years ago

With commit ed75d10444396cf7c3ddaf1108ecae0805476f0d the following error occurs:

RLException: error loading <rosparam> tag: 
    file does not exist [/home/gus/metacontrol_ws/src/metacontrol_sim/yaml/rosgraph_manipulator_config.yaml]
XML is <rosparam ns="rosgraph_manipulator" command="load" file="$(find metacontrol_sim)/yaml/rosgraph_manipulator_config.yaml"/>
The traceback for the exception was written to the log file

This is due metacontrol_sim/yaml/rosgraph_manipulator_config.yaml being removed.

I think the solution is to replace in rosgraph_nodes.launch.xml the line:

<rosparam ns="rosgraph_manipulator" command="load" file="$(find metacontrol_sim)/yaml/rosgraph_manipulator_config.yaml"/>

With:

<rosparam ns="rosgraph_manipulator" command="load" file="$(find mc_rosgraph_manipulator)/config/rosgraph_manipulator_config.yaml">

If this is right I can open a PR

marioney commented 3 years ago

Hi @Rezenders I think you're right, we need to update the path of this configuration file.

Please open the PR to fix this