Display XML Format: Difference between revisions

From Rise: The Vieneo Province

Line 24: Line 24:


===Text===
===Text===
Must be contained inside a condition. Only one may be used in each condition.
Must be contained inside a condition. Multiple text nodes can be used in each condition.


<Text x="0" y="0" color="ffff00ff" width="40" height="24" align="left">TVM velocity target: %+.3f km/s</Text>
  <Text x="0" y="0" color="ffff00ff" width="40" height="24" align="left">TVM velocity target: %+.3f km/s</Text>
  <Text x="0" y="0" color="ffff00ff" width="40" height="24" align="left">TVM velocity target: %+.3f km/s</Text>



Revision as of 18:01, 28 June 2018

Element

Component

Must be contained inside of an element. Multiple components are allowed in an element.

<Component busval="TvmDesiredClosingSpeed">...</Component>
<Component busval="NormalAcceleration.y">...</Component>

Attributes

busvalue

The following values are exposed with their respective FDR parameter value in parentheses (if applicable)

  • TvmDesiredClosingSpeed (25) Automatic Flight Control System
  • TvmCurrentClosingSpeed (25) Automatic Flight Control System
  • LinearVelocity
  • NormalAcceleration.x (18) lateral force
  • NormalAcceleration.y (5) vertical force
  • NormalAcceleration.z (11) longitudinal force

Condition

Must be contained inside a component. Multiple conditions are allowed in each component.

<Condition>...</Condition>
<Condition>...</Condition>

Text

Must be contained inside a condition. Multiple text nodes can be used in each condition.

<Text x="0" y="0" color="ffff00ff" width="40" height="24" align="left">TVM velocity target: %+.3f km/s</Text>
<Text x="0" y="0" color="ffff00ff" width="40" height="24" align="left">TVM velocity target: %+.3f km/s</Text>

Attributes

X and Y location attributes, color, width and height, alignment seem self-explanatory

Value

The value is a C++ string format ... you can have label text and or a format specifier for the associated bus value (component) and text after the format specifier (like units)

Full Format Specifiers Specification