580
edits
| Line 9: | Line 9: | ||
Note to all contributors: Please also copy your newsletter additions to the changelog of the upcoming release: [[Changelog_3.0.0]]. | Note to all contributors: Please also copy your newsletter additions to the changelog of the upcoming release: [[Changelog_3.0.0]]. | ||
=== State Machines === | |||
James added initial support for state-machines to the XML autopilot code. This expands on the existing stateful flip-flop components, to allow arbitrarily complex collections of states and transitions between them. Each transition is controlled by a usual XML condition, and state and transitions can run arbitrary commands when activated. This system allows high-level control of complex auto-flight modes, without requiring a mixture of Nasal and XML. For example the armed / engaged / disarm states of many auto-flight subsystems (e.g., auto-brakes and auto-spoilers) can be expressed in a way that models the functional description. | |||
Of course the state-machine concept has uses beyond auto-flight systems, for example it could be used to drive GUI dialog logic, but that's left as an exercise for the reader! | |||
=== Random Buildings === | === Random Buildings === | ||
<!-- These are currently just a bunch of placeholders for the latest projects (as of 08/2012) --> | <!-- These are currently just a bunch of placeholders for the latest projects (as of 08/2012) --> | ||
edits