Dave Perry wrote: > I would like to add a voltage check before moving the flaps or > landing gear in data/Nasal/controls.nas. The proposed changes are > underlined.
Adding aircraft-specific code to the generic control mappings is a bad idea; that file is for Nasal code that is globally useful for interpreting the user's control inputs. It doesn't do system simulation. Why not do it in the aircraft configuration by driving the flaps from some other property than /controls/flight/flaps and gating that on the appropriate system-specific failure modes with some system-specific Nasal? Andy ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel