Ekumen-OS / andino_gz

Andino Simulation using Gazebo simulator
11 stars 3 forks source link

Rviz argument failing #70

Closed Voldivh closed 3 months ago

Voldivh commented 3 months ago

Environment

Description

Steps to reproduce

  1. Build the package colcon build
  2. Source the install folder source install/setup.bash
  3. 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

image

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.