bugman wrote in Sun Sep 27, 2015 9:22 pm:Well, if it's the Artix version, then that's also pretty simple. The original source is:
Regards,
Edward
legoboyvdlp wrote in Sun Sep 27, 2015 9:05 pm:...which omega amde GPL (with an email to prove it)...
bugman wrote in Sun Sep 27, 2015 9:57 pm:legoboyvdlp wrote in Sun Sep 27, 2015 9:05 pm:...which omega amde GPL (with an email to prove it)...
One very important point here - a private email is generally considered insufficient for copyright licensing in the open source world. The normal expected standard is a publicly archived message written by the original author who owns the copyright. Private mails can be lost, or the recipients may disappear from the project in the future. So for the future protection of the FlightGear community, a permanently archived statement that is accessible to all is the gold standard (emails to a public mailing list being the safest traceable option).
Regards,
Edward
legoboyvdlp wrote in Sun Sep 27, 2015 10:05 pm:See
viewtopic.php?f=4&t=26400&hilit=Omega+GPL#p244825
Would it suffice?
<!-- These filters create internal variables for the Instrument Panel Chronometer -->
<filter>
<name>ETE-DRIVER:Hour</name>
<debug>false</debug>
<type>gain</type>
<gain>1</gain>
<input>
<expression>
<div>
<property>/autopilot/route-manager/wp/dist</property>
<property>/velocities/groundspeed-kt</property>
</div>
</expression>
</input>
<output>
<prop>/autopilot/internal/eta-wp-hr</prop>
</output>
</filter>
<filter>
<name>ETE-DRIVER:Minute</name>
<debug>false</debug>
<type>gain</type>
<gain>1</gain>
<input>
<expression>
<mod>
<product>
<div>
<property>/autopilot/route-manager/wp/dist</property>
<property>/velocities/groundspeed-kt</property>
</div>
<value>60</value>
</product>
<value>60</value>
</mod>
</expression>
</input>
<output>
<prop>/autopilot/internal/eta-wp-min</prop>
</output>
</filter>
<systems>
<electrical>
<path></path>
</electrical>
<autopilot>
<path>Aircraft/dhc8-400/Systems/autopilot.xml</path>
</autopilot>
</systems>
var popway = func {
# Next Waypoint
if (getprop("autopilot/internal/eta-wp-hr") < 1) {
if (getprop("autopilot/internal/eta-wp-min") < .2) {
var curwp = getprop("autopilot/route-manager/current-wp");
var nextwp = curwp + 1;
setprop("autopilot/route-manager/current-wp", nextwp);
}
}
}
setlistener("/autopilot/route-manager/flight-time", popway, 0, 0);
<popway>
<file>Aircraft/dhc8-400/Nasal/popway.nas</file>
</popway>
</nasal>
Return to Autopilot and route manager
Users browsing this forum: No registered users and 1 guest