-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add partially_flattened.sdf example and test
Add test showing that Model::ModelByName and Model::ModelNameExists have trouble with model names that contain "::" with TODO comments to remind that they should be fixed. Signed-off-by: Steve Peters <[email protected]>
- Loading branch information
Showing
2 changed files
with
75 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<sdf version='1.7'> | ||
<model name='MP'> | ||
<frame name='M1::__model__' attached_to='M1::L1'> | ||
<pose relative_to='__model__'>0 0 0 0 -0 0</pose> | ||
</frame> | ||
<link name='M1::L1'> | ||
<pose relative_to='M1::__model__'>0 0 0 0 -0 0</pose> | ||
</link> | ||
<model name='M1::M2'> <!-- This is actually be M2 in the output. I think it's a bug --> | ||
<link name='L2'/> | ||
</model> | ||
</model> | ||
</sdf> |