diff --git a/jetty/ros2_sim_interfaces.md b/jetty/ros2_sim_interfaces.md index dea5e224fb..1728b1ae66 100644 --- a/jetty/ros2_sim_interfaces.md +++ b/jetty/ros2_sim_interfaces.md @@ -103,7 +103,9 @@ Spawn a new entity in the simulation at a specific location. ```bash ros2 service call /gzserver/spawn_entity simulation_interfaces/srv/SpawnEntity "{ name: 'my_model', - uri: '/path/to/model.sdf', + entity_resource: { + uri: '/path/to/model.sdf' + }, allow_renaming: false, initial_pose: { pose: { diff --git a/rotary/ros2_sim_interfaces.md b/rotary/ros2_sim_interfaces.md index dea5e224fb..1728b1ae66 100644 --- a/rotary/ros2_sim_interfaces.md +++ b/rotary/ros2_sim_interfaces.md @@ -103,7 +103,9 @@ Spawn a new entity in the simulation at a specific location. ```bash ros2 service call /gzserver/spawn_entity simulation_interfaces/srv/SpawnEntity "{ name: 'my_model', - uri: '/path/to/model.sdf', + entity_resource: { + uri: '/path/to/model.sdf' + }, allow_renaming: false, initial_pose: { pose: {