Cannot read parameters from file in launch file
For example, I just changed the launch file from
<include file="$(find husky_gazebo)/launch/spawn_husky.launch">
<arg name="laser_enabled" value="true"/>
</include
into
<include file="$(find husky_gazebo)/launch/spawn_husky.launch">
<rosparam command="load" file="$(find husky_highlevel_controller)/config/laser_enable_param.yaml"/>
</include
the yaml is only one line:
laser_enabled: true
Then it turns out that the parameter fails to be loaded. May someone tell me which part is not right? Thank you. then the parameter