-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Stephen Brawner <[email protected]>
- Loading branch information
Showing
11 changed files
with
166 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
<?xml version="1.0" ?> | ||
<sdf version="1.8"> | ||
<!-- This file is not valid because it contains multiple actors which is not | ||
allowed --> | ||
<!-- This file is not valid because it contains multiple actor elements which | ||
is not supported --> | ||
|
||
<actor name="multiple_actors1"> | ||
<pose>0 0 0 0 0 0</pose> | ||
<link name="link1"/> | ||
</actor> | ||
|
||
<actor name="multiple_actors2"> | ||
<pose>1 0 0 1.57 0 0</pose> | ||
<link name="link2"/> | ||
</actor> | ||
|
||
<actor name="multiple_actors3"> | ||
<pose>2 0 0 3.14 0 0</pose> | ||
<link name="link3"/> | ||
</actor> | ||
</sdf> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
<?xml version="1.0" ?> | ||
<sdf version="1.8"> | ||
<!-- This file is not valid because it contains multiple lights which is not | ||
allowed --> | ||
<!-- This file is not valid because it contains multiple light elements which | ||
is not supported --> | ||
|
||
<light name="multiple_lights1" type="directional"> | ||
<pose>0 0 0 0 0 0</pose> | ||
<direction>1 0 0</direction> | ||
</light> | ||
|
||
<light name="multiple_lights2" type="spot"> | ||
<pose>1 0 0 1.57 0 0</pose> | ||
<direction>0 1 0</direction> | ||
</light> | ||
|
||
<light name="multiple_lights3" type="directional"> | ||
<pose>2 0 0 3.14 0 0</pose> | ||
<direction>0 0 1</direction> | ||
</light> | ||
|
||
</sdf> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
<?xml version="1.0" ?> | ||
<sdf version="1.8"> | ||
<!-- This file is not valid because it contains multiple models which is not | ||
allowed --> | ||
<!-- This file is not valid because it contains multiple model elements which | ||
is not supported --> | ||
|
||
<model name="multiple_models1"> | ||
<pose>0 0 0 0 0 0</pose> | ||
<link name="link"/> | ||
<link name="link1"/> | ||
</model> | ||
|
||
<model name="multiple_models2"> | ||
<pose>1 0 0 1.570796326794895 0 0</pose> | ||
<link name="link"/> | ||
<link name="link2"/> | ||
</model> | ||
|
||
|
||
<model name="multiple_models3"> | ||
<pose>2 0 0 3.141592653589793 0 0</pose> | ||
<link name="link"/> | ||
<link name="link3"/> | ||
</model> | ||
|
||
</sdf> |
18 changes: 9 additions & 9 deletions
18
test/integration/model/nested_multiple_actors_error/model.sdf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<?xml version="1.0" ?> | ||
<sdf version="1.8"> | ||
<!-- The included sdf model contains multiple actor elements, and is an | ||
example of poorly formed file. Currently this is unsupported and will | ||
eventually become a parsing error --> | ||
|
||
<!-- The included sdf model contains multiple actor elements, and should | ||
cause tests to fail --> | ||
<model name="nested_multiple_actors_error"> | ||
<include> | ||
<!-- This search path for this model must be added by the test code --> | ||
<uri>multiple_actors</uri> | ||
<pose>1 1 1 1.570796326794895 0 0</pose> | ||
</include> | ||
</model> | ||
<include> | ||
<!-- This search path for this model must be added by the test code --> | ||
<uri>multiple_actors</uri> | ||
<pose>1 1 1 1.570796326794895 0 0</pose> | ||
<name>nested_actor</name> | ||
</include> | ||
|
||
</sdf> |
19 changes: 9 additions & 10 deletions
19
test/integration/model/nested_multiple_elements_error/model.sdf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
<?xml version="1.0" ?> | ||
<sdf version="1.8"> | ||
<!-- The included sdf model contain actor, light and actor elements, and is an | ||
example of poorly formed file. Currently this is unsupported and will | ||
eventually become a parsing error --> | ||
|
||
<!-- The included sdf model contains model, actor and light elements, and | ||
should cause tests to fail because the name resolution is ambiguous --> | ||
<model name="nested_multiple_elements_error"> | ||
<include> | ||
<!-- This search path for this model must be added by the test code --> | ||
<uri>model_actor_light</uri> | ||
<pose>1 1 1 1.570796326794895 0 0</pose> | ||
</include> | ||
</model> | ||
|
||
<include> | ||
<!-- This search path for this model must be added by the test code --> | ||
<uri>model_actor_light</uri> | ||
<pose>1 1 1 1.570796326794895 0 0</pose> | ||
<name>nested_model</name> | ||
</include> | ||
</sdf> |
19 changes: 9 additions & 10 deletions
19
test/integration/model/nested_multiple_lights_error/model.sdf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
<?xml version="1.0" ?> | ||
<sdf version="1.8"> | ||
<!-- The included sdf model contains multiple light elements, and is an | ||
example of poorly formed file. Currently this is unsupported and will | ||
eventually become a parsing error --> | ||
|
||
<!-- The included sdf model contains multiple light elements, and should | ||
cause tests to fail --> | ||
<model name="nested_multiple_lights_error"> | ||
<include> | ||
<!-- This search path for this model must be added by the test code --> | ||
<uri>multiple_lights</uri> | ||
<pose>1 1 1 1.570796326794895 0 0</pose> | ||
</include> | ||
</model> | ||
|
||
<include> | ||
<!-- This search path for this model must be added by the test code --> | ||
<uri>multiple_lights</uri> | ||
<pose>1 1 1 1.570796326794895 0 0</pose> | ||
<name>nested_light</name> | ||
</include> | ||
</sdf> |
17 changes: 9 additions & 8 deletions
17
test/integration/model/nested_multiple_models_error/model.sdf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
<?xml version="1.0" ?> | ||
<sdf version="1.8"> | ||
<!-- The included sdf model contains multiple model elements, and is an | ||
example of poorly formed file. Currently this is unsupported and will | ||
eventually become a parsing error --> | ||
|
||
<model name="nested_multiple_models_error"> | ||
<include> | ||
<!-- This search path for this model must be added by the test code --> | ||
<uri>multiple_models</uri> | ||
<pose>1 1 1 1.570796326794895 0 0</pose> | ||
</include> | ||
</model> | ||
|
||
<include> | ||
<!-- This search path for this model must be added by the test code --> | ||
<uri>multiple_models</uri> | ||
<pose>1 1 1 1.570796326794895 0 0</pose> | ||
<name>nested_model</name> | ||
</include> | ||
</sdf> |
Oops, something went wrong.