diff --git a/harmonic/ros2_integration.md b/harmonic/ros2_integration.md index c45d03f6d..aa9567c3d 100644 --- a/harmonic/ros2_integration.md +++ b/harmonic/ros2_integration.md @@ -68,9 +68,13 @@ The package `ros_gz_bridge` contains a launch file named Here's an example: ```bash -ros2 launch ros_gz_bridge ros_gz_bridge.launch.py name:=ros_gz_bridge config_file:= +ros2 launch ros_gz_bridge ros_gz_bridge.launch.py bridge_name:=ros_gz_bridge config_file:= ``` +Check [this block](https://github.com/gazebosim/ros_gz/blob/66c7a4a5b41bc2466f2334e216f0434a10303fdc/ros_gz_bridge/launch/ros_gz_bridge.launch.py#L27-L33) +from the source code to know all the different parameters accepted by this +launch file. + ## Launching the bridge from a custom launch file. It's also possible to trigger the bridge from your custom launch file. For that diff --git a/harmonic/ros2_spawn_model.md b/harmonic/ros2_spawn_model.md index 936354d51..1c1e8593b 100644 --- a/harmonic/ros2_spawn_model.md +++ b/harmonic/ros2_spawn_model.md @@ -12,10 +12,10 @@ The package `ros_gz_sim` contains a launch file named existing simulation. Here's an example: ```bash -ros2 launch ros_gz_sim ros_gz_spawn_model.launch.py world:=empty file:=$(ros2 pkg prefix --share ros_gz_sim_demos)/models/vehicle/model.sdf name:=my_vehicle x:=5.0 y:=5.0 z:=0.5 +ros2 launch ros_gz_sim ros_gz_spawn_model.launch.py world:=empty file:=$(ros2 pkg prefix --share ros_gz_sim_demos)/models/vehicle/model.sdf entity_name:=my_vehicle x:=5.0 y:=5.0 z:=0.5 ``` -Check [this block](https://github.com/gazebosim/ros_gz/blob/cadae1c8323a74395c09a37e3de4c669c8c09d4f/ros_gz_sim/launch/ros_gz_spawn_model.launch.py#L33-L44) +Check [this block](https://github.com/gazebosim/ros_gz/blob/66c7a4a5b41bc2466f2334e216f0434a10303fdc/ros_gz_sim/launch/ros_gz_spawn_model.launch.py#L26-L45) from the source code to know all the different parameters accepted by this launch file.