Problem with navaids points in the flight plan

Any problem or bug related to 124thATC
Bulva
Posts: 21
Joined: Fri Apr 12, 2019 3:18 am

Re: Problem with navaids points in the flight plan

Post by Bulva » Wed Apr 17, 2019 6:53 pm

... which does not change the fact that you can not enter KRN (LIN) points into any flight plan.

ntnll
Posts: 340
Joined: Sun May 13, 2018 12:32 pm

Re: Problem with navaids points in the flight plan

Post by ntnll » Wed Apr 17, 2019 10:29 pm

Bulva wrote:
Wed Apr 17, 2019 6:53 pm
... which does not change the fact that you can not enter KRN (LIN) points into any flight plan.

edit: WAR and LOZ look correctly localized, I see the issue only for KRN.
Apparently the NavData search returns the russian vor instead the Polish one:

13 51.946388889 20.444722222 591 11780 130 0.000 KRN ENRT EP KARNICE DME
3 57.771944444 108.067500000 869 11280 130 -6.000 KRN ENRT UI KIRENSK VOR/DME
12 57.771944444 108.067500000 869 11280 130 0.000 KRN ENRT UI KIRENSK VOR/DME

I'll have a look tomorrow, thanks for reporting anyway.
124thATC Developer

Bulva
Posts: 21
Joined: Fri Apr 12, 2019 3:18 am

Re: Problem with navaids points in the flight plan

Post by Bulva » Thu Apr 18, 2019 2:15 am

Thank you very much.
(point LIN also NavData search erroneously returns the italian vor instead of the Polish one)
(Linate Milan instead of Linin):
bugReport.7z
You do not have the required permissions to view the files attached to this post.

jgplarnold
Posts: 20
Joined: Thu Apr 11, 2019 12:22 am
Location: Sydney, Australia

Re: Problem with navaids points in the flight plan

Post by jgplarnold » Thu Apr 18, 2019 5:28 am

Strangely I found this same problem where there are more than one waypoints in the world with exactly the same name when using an external flight planner (the flightplanner used the waypoint furthest away rather than the local one).
YET I have never had the problem with 124thATC.

ntnll
Posts: 340
Joined: Sun May 13, 2018 12:32 pm

Re: Problem with navaids points in the flight plan

Post by ntnll » Thu Apr 18, 2019 8:21 am

jgplarnold wrote:
Thu Apr 18, 2019 5:28 am
Strangely I found this same problem where there are more than one waypoints in the world with exactly the same name when using an external flight planner (the flightplanner used the waypoint furthest away rather than the local one).
YET I have never had the problem with 124thATC.
Apparently is a bug of X-Plane SDK. Not sure, I'm droppoing an email to Laminar, I'll keep you updated.
As you correctly stated jgplarnold, this happens when two identical VORs exist. The SDK function has the ability to pass the lat/lon in order to locate the nearest VOR to a given lon/lat, but apparently it doesn't work as expected.

In plugin log is showed the call to XPLMFindNavAid using the correct lat/lon:

Code: Select all

undefined 08:05:31: Found: WAR on lat 52.259251 and lon 20.657167, entering into flight plan as navtype 4 and order 2!
124thATC v2.0-a60RC29 08:05:31: Entering SearchNavType...for KRN
124thATC v2.0-a60RC29 08:05:31: Searching close to the previous waypoint 52.259251 - 20.657167
124thATC v2.0-a60RC29 08:05:31: SearchNavType: Try to find: KRN near lat 52.259251 and lon 20.657167
124thATC v2.0-a60RC29 08:05:31: SearchNavType: Found VOR lat/lon 57.771946/108.067497 in a distance of 3025 miles (navType: 4)
124thATC v2.0-a60RC29 08:05:31: Looking for a closer NDB...
124thATC v2.0-a60RC29 08:05:31: NDB not found, using VOR...
124thATC code:

Code: Select all

ref = XPLM_NAV_NOT_FOUND;
        ref = XPLMFindNavAid(NULL, fixName, &searchLat, &searchLon, NULL, xplm_Nav_VOR);
        if(ref != XPLM_NAV_NOT_FOUND) {
The SDK documentation states:
If inLat and inLon are not NULL, the navaid nearest to that lat/lon will be returned, otherwise the last navaid found will be returned.

But the incorrect lat/lot is returned.
124thATC Developer

ntnll
Posts: 340
Joined: Sun May 13, 2018 12:32 pm

Re: Problem with navaids points in the flight plan

Post by ntnll » Wed Apr 24, 2019 7:08 pm

Problem solved, the issue is caused by an incorrect DME fixes handling. I'm extending the support of DME and fixing the issue in the next build, thanks for reporting.

a.
124thATC Developer

Bulva
Posts: 21
Joined: Fri Apr 12, 2019 3:18 am

Re: Problem with navaids points in the flight plan

Post by Bulva » Wed Apr 24, 2019 10:22 pm

Thank you very much for your support, help and development of the 124thATC project.
A great program :-).

Bulva
Posts: 21
Joined: Fri Apr 12, 2019 3:18 am

Re: Problem with navaids points in the flight plan

Post by Bulva » Sun Apr 28, 2019 12:57 am

Hello,
I installed the latest version of 124thATCv2.0-a60RC31.zip.
Old mistakes (KRN, LIN, ...) have been fixed. :-)
I really, really, thank you very much and wish you further development of the perfect program.
:-)

ntnll
Posts: 340
Joined: Sun May 13, 2018 12:32 pm

Re: Problem with navaids points in the flight plan

Post by ntnll » Sun Apr 28, 2019 2:31 pm

Bulva wrote:
Sun Apr 28, 2019 12:57 am
Hello,
I installed the latest version of 124thATCv2.0-a60RC31.zip.
Old mistakes (KRN, LIN, ...) have been fixed. :-)
I really, really, thank you very much and wish you further development of the perfect program.
:-)
Hi Bulva,
no problem, thank you for reporting
a.
124thATC Developer

jgplarnold
Posts: 20
Joined: Thu Apr 11, 2019 12:22 am
Location: Sydney, Australia

Re: Problem with navaids points in the flight plan

Post by jgplarnold » Wed May 01, 2019 6:58 am

"I installed the latest version of 124thATCv2.0-a60RC31.zip"

Where did you get that version from? When I go to the download site all I see is the version I have which says it is a year old.

ntnll
Posts: 340
Joined: Sun May 13, 2018 12:32 pm

Re: Problem with navaids points in the flight plan

Post by ntnll » Wed May 01, 2019 8:19 am

jgplarnold wrote:
Wed May 01, 2019 6:58 am
"I installed the latest version of 124thATCv2.0-a60RC31.zip"

Where did you get that version from? When I go to the download site all I see is the version I have which says it is a year old.
Hi jgplarnold,
you can find it in the RCs public previews thread
124thATC Developer

Bulva
Posts: 21
Joined: Fri Apr 12, 2019 3:18 am

Re: Problem with navaids points in the flight plan

Post by Bulva » Thu Jun 06, 2019 2:29 am

I found another defective point: KOR (DME: Koralpe) in Austria (near LOKW).

ntnll
Posts: 340
Joined: Sun May 13, 2018 12:32 pm

Re: Problem with navaids points in the flight plan

Post by ntnll » Thu Jun 06, 2019 11:14 am

Bulva wrote:
Thu Jun 06, 2019 2:29 am
I found another defective point: KOR (DME: Koralpe) in Austria (near LOKW).
thanks Bulva, I'll have a look ; )
124thATC Developer

Post Reply