Skip to content

Commit bc9e9e6

Browse files
committed
Updated documentation for Resource message
1 parent bd2c0b4 commit bc9e9e6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

msg/Resource.msg

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# This message is used to specify a resource, either by a URI or by its string content.
22

3-
string uri
4-
5-
string resource_string # The content of the resource, only used if uri is empty
3+
string uri # If uri field is empty, resource_string must not be empty.
4+
5+
string resource_string # An entity definition file passed as a string, only used if uri is empty.
6+
# If uri field is not empty, resource_string field will be ignored.
7+
# Simulators may support spawning from a file generated on the fly (e.g. XACRO).

0 commit comments

Comments
 (0)