Skip to content

Commit

Permalink
add in brief parsing stage update
Browse files Browse the repository at this point in the history
  • Loading branch information
EricCousineau-TRI committed Aug 13, 2020
1 parent 7d7a7d0 commit 0d33b75
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions composition/proposal.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,8 @@ are more local.
**Alternatives Considered for Reference Syntax**

* Use `/` instead of `::`, and permit `../` for upwards references.
* This looks a bit more like a filesystem (more relevant to these semantics). However, there is inertia due to Gazebo's usage of `::`
* This looks a bit more like a filesystem (more relevant to these
semantics). However, there is inertia due to Gazebo's usage of `::`
for composition, in both SDFormat files and for models (and IPC channels /
topics in general).
* Upwards references:
Expand Down Expand Up @@ -502,7 +503,7 @@ models, and `model://` URIs for Gazebo models.

##### 1.4.6 `//include/static`

**TODO(eric)**: Reconsider this in future iterations of the proposal.
**TODO(eric.cousineau)**: Reconsider this in future iterations of the proposal.

This allows the `//model/static` element to be overridden and will affect
*all* models transitively included via the `//include` element, and can *only*
Expand Down Expand Up @@ -966,6 +967,18 @@ There are seven phases for validating the kinematics data in a world:
and the [SemanticPose::Resolve](https://github.com/osrf/sdformat/blob/sdformat9_9.2.0/include/sdf/SemanticPose.hh#L65-L73)
function.

#### Short-form modifications for Interface API

*TODO(eric.cousineau): Factor into above steps.*

* Load the SDFormat model DOM.
* For each include:
* If non-SDFormat, directly load, record the `sdf::InterfaceModel`.
* If SDFormat-compatible, recursively load the DOM into nested models.
* For each nested model, directly load any nested non-SDFormat models.
* Resolve frame graph.
* Reposture non-SDFormat models.

### Examples

#### 1 Weld Arm and Gripper
Expand Down

0 comments on commit 0d33b75

Please sign in to comment.