ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

The comman <rosparam command="load" file="$(find husky_highlevel_controller)/config/laser_enable_param.yaml"/> puts the parameters on the parameter server. The launchfile spawn_husky.launch expects the data as a launch file argument, though. This is a differenct concept Think of it as a parameter of a function (launch file argument) versus global variables (rosparam server).

  • https://wiki.ros.org/roslaunch/XML/arg
  • https://wiki.ros.org/roslaunch/XML/rosparam

The comman command <rosparam command="load" file="$(find husky_highlevel_controller)/config/laser_enable_param.yaml"/> puts the parameters on the parameter server. The launchfile spawn_husky.launch expects the data as a launch file argument, though.

This is a differenct different concept Think of it as a parameter of a function (launch file argument) versus global variables (rosparam server).

  • https://wiki.ros.org/roslaunch/XML/arg
  • https://wiki.ros.org/roslaunch/XML/rosparam

The command <rosparam command="load" file="$(find husky_highlevel_controller)/config/laser_enable_param.yaml"/> puts the parameters on the parameter server. The launchfile spawn_husky.launch expects the data as a launch file argument, though.

This is a different concept concept. Think of it as a parameter an argument of a function (launch file argument) versus global variables (rosparam server).

  • https://wiki.ros.org/roslaunch/XML/arg
  • https://wiki.ros.org/roslaunch/XML/rosparam

The command <rosparam command="load" file="$(find husky_highlevel_controller)/config/laser_enable_param.yaml"/> puts the parameters on the parameter server. The launchfile spawn_husky.launch expects the data as a launch file argument, though.

This is a different concept. Think of it as an argument of a function (launch file argument) versus global variables (rosparam server).

  • https://wiki.ros.org/roslaunch/XML/arg
  • https://wiki.ros.org/roslaunch/XML/rosparam

You can just put it in your launchfile, tough:

<include file="$(find husky_gazebo)/launch/spawn_husky.launch"> 
    <arg name="laser_enabled" value="true"/> 
</include>