@@ -11,15 +11,13 @@ string name # A name to give to the spawned entity.
11
11
bool allow_renaming # Determines whether the spawning succeeds with a non-unique name.
12
12
# If it is set to true, the user should always check entity_name response field
13
13
# and use it for any further interactions.
14
- string uri # Resource such as SDFormat, URDF, USD or MJCF file, a native prefab, etc.
15
- # Valid URIs can be determined by calling GetSpawnables first, and you can check
16
- # the simulator format support by reading SimulatorFeatures spawn_formats field.
17
- # If uri field is empty, resource_string must not be empty.
18
- string resource_string # An entity definition file passed as a string.
19
- # Simulators may support spawning from a file generated on the fly (e.g. XACRO).
20
- # It is supported by your simulator if GetSimulatorFeatures includes
21
- # SPAWNING_RESOURCE_STRING feature.
22
- # If uri field is not empty, resource_string field will be ignored.
14
+
15
+ Resource entity_resource # Resource such as SDFormat, URDF, USD or MJCF file, a native prefab, etc.
16
+ # Valid URIs can be determined by calling GetSpawnables first.
17
+ # Check simulator format support via the spawn_formats field in GetSimulatorFeatures.
18
+ # Using resource_string is supported if GetSimulatorFeatures includes
19
+ # the SPAWNING_RESOURCE_STRING feature.
20
+
23
21
string entity_namespace # Spawn the entity with all its interfaces under this namespace.
24
22
geometry_msgs/PoseStamped initial_pose # Initial entity pose.
25
23
# The header contains a reference frame, which defaults to global "world" frame.
0 commit comments