Autopilot configuration reference: Difference between revisions

include and alias attributes, top level elements
(New Page)
 
(include and alias attributes, top level elements)
Line 39: Line 39:


== Available Elements ==
== Available Elements ==
All elements may contain the attributes "include" and "alias".
The "include" property takes a file name as a parameter. This can be used to read the document tree of an external XML file into the node containing the "include" attribute. The included file must have a PropertyList node as the root node. All nodes under this PropertyList node will be added to the node containing the "include" attribute.
The "alias" attribute refers to an element defined elsewhere in this XMl document. Alias references are in a path-style syntax, either as a relative or absolute path. Absolute paths start with a slash, like <foo alias="/params/bar/baz"/>. Use the colon to move through the document tree, similar to file system paths like <foo alias="../../bar/baz"/>.
There is no restriction regarding the top level nodes under the PropertyList root node. Nodes, that create instances of filters and controllers are
* <pid-controller>
* <pi-simple-controller>
* <filter>
* <predict-simple>


== Input Values ==
== Input Values ==