Correct way to change <xacro:arg name> in launch file
I'm working with Husky in melodic (i.e. ubuntu 18.04). The laser option is disabled by default as shown below
<xacro:arg name="laser_enabled" default="$(optenv HUSKY_LMS1XX_ENABLED 0)" />
When I start the launch file as follows
roslaunch husky_gazebo husky_empty_world.launch laser_enabled:=true
It doesn't change anything. What is the correct way to change this option? My current solution is to open the file as admin and change 0
to 1
. This does slove the problem but it is not an optimal solution. Any suggestions!