I want the 737's heading bug to be set to the aircraft's current magnetic
heading at startup. I put a nasal script in 737-jsbsim-set.xml like this:
<nasal>
<SetHeadingBug>
<script>
setprop("/autopilot/settings/heading-bug-deg",
getprop("/orientation/heading-magnetic-deg"));
</script>
</SetHeadingBug>
</nasal>
The problem is that the script is executed while the aircraft's heading is
still zero, prior to it being oriented with the runway. Is there a way to
have the script execute only after the aircraft is aligned with the runway?
Dave
--
****************************
David Culp
davidculp2[at]comcast.net
****************************
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel