Skip to content

Commit 8f08131

Browse files
authored
Merge pull request #25 from ros-simulation/mzak/fix_spawn_entities_array_syntax
fix array syntax in SpawnEntities
2 parents 94c7583 + cd35ca7 commit 8f08131

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

srv/SpawnEntities.srv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Spawn multiple entities (robots, objects) by name or URI.
22
# Support for this interface is indicated through the SPAWNING_ENTITIES value in GetSimulatorFeatures.
33

4-
SpawnEntity spawn_requests[] # List of spawn requests.
4+
SpawnEntity[] spawn_requests # List of spawn requests.
55

66
---
77

88
# Additional result.result_code values for this service. Check result.error_message for further details.
99
uint8 ENTITIES_SPAWN_FAILED = 150 # There was at least one failed spawn request. Check individual results in the `results`.
1010

1111
Result result # If one or more requests failed, it will give ENTITIES_SPAWN_FAILED otherwise RESULT_OK
12-
SpawnResult results[] # List of results for each spawn request.
12+
SpawnResult[] results # List of results for each spawn request.

0 commit comments

Comments
 (0)