Expected behavior: When using the launch files and using the parameter rviz:=false to everything work and not spawn rviz
Actual behavior: When using the launch files and using the parameter rviz:=false an error occurs.
Steps to reproduce
Build the package colcon build
Source the install folder source install/setup.bash
Launch the simulation like the following ros2 launch andino_gz andino_gz.launch.py robots:="andino1={'x': -2.158, 'y': 1.174, 'z': 0.1, 'yaw': 0.0};andino2={'x': 2.158, 'y': 1.174, 'z': 0.1, 'yaw': 0.0};" rviz:=false world_name:=office.sdf-8
Output
Solve
The parameter should work if we just use capital for the bool value for some reason (rviz:=False). Apparently the following
command works: ros2 launch andino_gz andino_gz.launch.py robots:="andino1={'x': -2.158, 'y': 1.174, 'z': 0.1, 'yaw': 0.0};andino2={'x': 2.158, 'y': 1.174, 'z': 0.1, 'yaw': 0.0};" rviz:=False world_name:=office.sdf-8
Maybe we could consider updating the documentation accordingly or understand why this is happening.
Environment
Description
rviz:=false
to everything work and not spawn rvizrviz:=false
an error occurs.Steps to reproduce
colcon build
source install/setup.bash
ros2 launch andino_gz andino_gz.launch.py robots:="andino1={'x': -2.158, 'y': 1.174, 'z': 0.1, 'yaw': 0.0};andino2={'x': 2.158, 'y': 1.174, 'z': 0.1, 'yaw': 0.0};" rviz:=false world_name:=office.sdf-8
Output
Solve
The parameter should work if we just use capital for the bool value for some reason (
rviz:=False
). Apparently the following command works:ros2 launch andino_gz andino_gz.launch.py robots:="andino1={'x': -2.158, 'y': 1.174, 'z': 0.1, 'yaw': 0.0};andino2={'x': 2.158, 'y': 1.174, 'z': 0.1, 'yaw': 0.0};" rviz:=False world_name:=office.sdf-8
Maybe we could consider updating the documentation accordingly or understand why this is happening.