-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add field use_parent_model_frame that defaults to false but is set to…
… true when converting from 1.4 to 1.5 to fix #43 (gazebo issue 494)
- Loading branch information
Showing
4 changed files
with
95 additions
and
45 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 |
---|---|---|
@@ -1,54 +1,29 @@ | ||
<convert name="sdf"> | ||
<convert name="world"> | ||
<!-- | ||
<convert name="physics"> | ||
<move> | ||
<from element="update_rate"/> | ||
<to element="real_time_update_rate"/> | ||
</move> | ||
<move> | ||
<from element="ode::solver::dt"/> | ||
<to element="max_step_size"/> | ||
</move> | ||
<move> | ||
<from element="bullet::dt"/> | ||
<to element="max_step_size"/> | ||
</move> | ||
</convert> | ||
--> | ||
|
||
<!-- See comments joint.sdf about poses in joints --> | ||
<!-- | ||
<convert name="world"> | ||
<!-- Add use_parent_model_frame=true for 1.4 joints --> | ||
<convert name="model"> | ||
<convert name="joint"> | ||
<move> | ||
<from element="parent"/> | ||
<to element="parent::link_name"/> | ||
</move> | ||
<move> | ||
<from element="child"/> | ||
<to element="child::link_name"/> | ||
</move> | ||
<convert name="axis"> | ||
<add element="use_parent_model_frame" value="true"/> | ||
</convert> | ||
<convert name="axis2"> | ||
<add element="use_parent_model_frame" value="true"/> | ||
</convert> | ||
</convert> | ||
</convert> | ||
--> | ||
</convert> | ||
|
||
<!-- for model sdfs --> | ||
<!-- See comments joint.sdf about poses in joints --> | ||
<!-- | ||
<convert name="model"> | ||
<convert name="joint"> | ||
<move> | ||
<from element="parent"/> | ||
<to element="parent::link_name"/> | ||
</move> | ||
<move> | ||
<from element="child"/> | ||
<to element="child::link_name"/> | ||
</move> | ||
<convert name="axis"> | ||
<add element="use_parent_model_frame" value="true"/> | ||
</convert> | ||
<convert name="axis2"> | ||
<add element="use_parent_model_frame" value="true"/> | ||
</convert> | ||
</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