-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not automatically remove //axis/initial_position (#717)
* Do not automatically remove //axis/initial_position This allows the parser to emit a warning or an error if users still have `//axis/initial_position` in their SDFormat files. Signed-off-by: Addisu Z. Taddese <[email protected]>
- Loading branch information
Showing
3 changed files
with
29 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,2 @@ | ||
<convert name="sdf"> | ||
|
||
<!-- Remove //axis/initial_position and //axis2/initial_position --> | ||
<convert descendant_name="joint"> | ||
<convert name="axis"> | ||
<remove element="initial_position"/> | ||
</convert> | ||
<convert name="axis2"> | ||
<remove element="initial_position"/> | ||
</convert> | ||
</convert> | ||
</convert> <!-- End 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
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