1+ # Information about spawning an individual entity.
2+
3+ string name # A name to give to the spawned entity.
4+ # If empty, the name field in the URI file or resource_string will be used,
5+ # if supported and not empty (e.g. "name" field in SDFormat, URDF).
6+ # If the name is still empty or not unique (as determined by the simulator),
7+ # the service returns a generated name in the entity_name response field if the
8+ # allow_renaming field is set to true. Otherwise, the service call fails and an
9+ # error is returned.
10+ bool allow_renaming # Determines whether the spawning succeeds with a non-unique name.
11+ # If it is set to true, the user should always check entity_name response field
12+ # and use it for any further interactions.
13+
14+ Resource entity_resource # Resource such as SDFormat, URDF, USD or MJCF file, a native prefab, etc.
15+ # Valid URIs can be determined by calling GetSpawnables first.
16+ # Check simulator format support via the spawn_formats field in GetSimulatorFeatures.
17+ # Using resource_string is supported if GetSimulatorFeatures includes
18+ # the SPAWNING_RESOURCE_STRING feature.
19+
20+ string entity_namespace # Spawn the entity with all its interfaces under this namespace.
21+ geometry_msgs/PoseStamped initial_pose # Initial entity pose.
22+ # The header contains a reference frame, which defaults to global "world" frame.
23+ # This frame must be known to the simulator, e.g. of an object spawned earlier.
24+ # The timestamp field in the header is ignored.
25+
0 commit comments