Board index FlightGear Development Aircraft Cockpit development

Bendix/King KNS 80 (Areal Navigation) rebuild

Discussion about creating 2d and 3d cockpits.

Bendix/King KNS 80 (Areal Navigation) rebuild

Postby WoodSTokk » Thu Nov 14, 2019 7:43 pm

To all aircraft developers who want fit the KNS80 in his/her aircraft.
I have completely rebuild the KNS80 (model, texture, animation, calculation).
It uses only property rules (no nasal).
Its the initial version 1.0 (i think there are some glitches that i havn't found yet).
Every developer is welcome to download, implement and test.
Image
Please report if you found a bug.
Last edited by WoodSTokk on Mon Nov 25, 2019 5:19 am, edited 2 times in total.
WoodSTokk
 
Posts: 742
Joined: Tue Oct 17, 2017 2:30 pm
Location: Milky Way/Sol/Earth/Europe
Callsign: OE-WST
IRC name: WoodSTokk
Version: 2020.3.0
OS: Debian Buster

Re: KNS80 rebuild

Postby Hooray » Fri Nov 15, 2019 3:56 pm

If this (or some other Nasal/Canvas variant of this) can be brought up to par with the hard-coded version, you should consider getting this committed, so that hard-coded version can be deprecated.
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12090
Joined: Tue Mar 25, 2008 8:40 am

Re: KNS80 rebuild

Postby WoodSTokk » Fri Nov 15, 2019 6:59 pm

I havn't known that there are a hard-coded device in FG.
This KNS80 use a normal nav-radio and dme-device and make all calculations in property rules.
WoodSTokk
 
Posts: 742
Joined: Tue Oct 17, 2017 2:30 pm
Location: Milky Way/Sol/Earth/Europe
Callsign: OE-WST
IRC name: WoodSTokk
Version: 2020.3.0
OS: Debian Buster

Re: KNS80 rebuild

Postby Hooray » Fri Nov 15, 2019 7:08 pm

You are right, it seems I was wrong - the hard-coded device emulates a KLN89: https://sourceforge.net/p/flightgear/fl ... ion/KLN89/
Sorry for the noise.
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12090
Joined: Tue Mar 25, 2008 8:40 am

Re: KNS80 rebuild

Postby WoodSTokk » Sun Nov 24, 2019 10:53 pm

Updated version 1.1 !!!
Some glitches fixed.

Have now flown the example of the manual from Kansas City International (KMCI) to Memphis International (KMEM).
The heading is around 133° from the first waypoint.
This example is printed many years ago and i think some relations between the VOR stations and magnetic north have changed.
Therefor the measurements and angles are today a little bit off, but all in all it works nice.
After take off, i climbed to 6500ft. After passing 2500ft, i turned direct to the first waypoint.
On the first waypoint (or at interception point) turn to 133° heading and follow the waypoints.
Switching from one waypoint to the next is about 50nm away from the waypoint.
I have set the KNS80 to 'RNV APR' for a better visualisation of the deviation.

Waypoint 1
Frequency: 114.000 (ANX Napoleon)
Radial: 255
Distance: 20nm

Waypoint 2
Frequency: 116.900 (SFG Springfield)
Radial: 350
Distance: 49nm

Waypoint 3
Frequency: 116.900 (SFG Springfield)
Radial: 80
Distance: 30nm

Waypoint 4
Frequency: 114.500 (ARG Walnut Ridge)
Radial: 280
Distance: 14nm

Destination (and last point) is direct MEM Memphis on 117.500.

Happy flying 8)

EDIT:
found a printer's error.
Distance of WPT2 and WPT3 are printed as 40 and 39nm in the manual.
Should be 49nm at WPT2 and 30nm at WPT3.
WoodSTokk
 
Posts: 742
Joined: Tue Oct 17, 2017 2:30 pm
Location: Milky Way/Sol/Earth/Europe
Callsign: OE-WST
IRC name: WoodSTokk
Version: 2020.3.0
OS: Debian Buster

Re: Bendix/King KNS 80 (Areal Navigation) rebuild

Postby jogois » Fri Feb 28, 2020 10:14 pm

I've been out of FG world for a long time, and when I come back I see this! Thanks WoodSTokk.

Jogois
jogois
 
Posts: 24
Joined: Thu Dec 25, 2008 4:41 pm
Location: Europe
OS: Ubuntu Mate 16.04

Re: Bendix/King KNS 80 (Areal Navigation) rebuild

Postby Hooray » Tue May 26, 2020 2:28 pm

Note that, according to the roadmap [1] for the upcoming development cycle, the hard-coded legacy KLN89 is going to be phased out in favor of a Canvas based variant - thus, it would be good to get a similar device committed to fgdata so that people have a viable replacement - with a few minor C++ hooks, it would even be possible to instantiate arbitrary Canvas avionics by parsing existing markup (in case, we should end up with a working Canvas replacement, it could then be instantiated that way).

We have meanwhile quite a library of Canvas code that could be used to emulate such a device, so that it would not seem far fetched to implement a device like that.

At the very least, this device should probably be added to fgdata if possible ?

[1]: http://wiki.flightgear.org/Post_FlightG ... TS_changes
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12090
Joined: Tue Mar 25, 2008 8:40 am

Re: Bendix/King KNS 80 (Areal Navigation) rebuild

Postby WoodSTokk » Tue May 26, 2020 4:46 pm

jogois wrote in Fri Feb 28, 2020 10:14 pm:I've been out of FG world for a long time, and when I come back I see this! Thanks WoodSTokk.

Jogois


Hi Jogois! You are welcome ;)

Hooray wrote in Tue May 26, 2020 2:28 pm:Note that, according to the roadmap [1] for the upcoming development cycle, the hard-coded legacy KLN89 is going to be phased out in favor of a Canvas based variant - thus, it would be good to get a similar device committed to fgdata so that people have a viable replacement …


The KLN89 is a GPS receiver where the KNS80 is a area navigation radio (RNAV). It navigate based on VOR and DME stations, not GPS.

Hooray wrote in Tue May 26, 2020 2:28 pm:We have meanwhile quite a library of Canvas code that could be used to emulate such a device, so that it would not seem far fetched to implement a device like that.


As far as i understand, Canvas is mostly for flat screens. Sure, you can rework the display in SVG and animate it with Canvas, but i have never worked with Canvas, so i build this device in the old fashion (objects and texture).

Hooray wrote in Tue May 26, 2020 2:28 pm:At the very least, this device should probably be added to fgdata if possible ?


No problem from my side, its GPL 2+ (a small present for FG from me ;) ).
Its a good idea to test it first on different routes to make sure it works correctly.
I have only tested the default route that is also printed in the manual (and described some posts above this).
WoodSTokk
 
Posts: 742
Joined: Tue Oct 17, 2017 2:30 pm
Location: Milky Way/Sol/Earth/Europe
Callsign: OE-WST
IRC name: WoodSTokk
Version: 2020.3.0
OS: Debian Buster


Return to Cockpit development

Who is online

Users browsing this forum: Bing [Bot] and 1 guest