Author Topic: Mode S Targets in Sky Map  (Read 6572 times)

Steve6443

Mode S Targets in Sky Map
« on: July 26, 2016, 11:15:32 am »
Good Morning,

I have been running trials with my unit, all seems to be ok except for Mode S traffic being exhibited in Sky Map.

This is how Sky Map would display traffic, IF it conforms to the Flarm V6.0 guidelines:



As we can see, transponders are shown as a circle around the own position, in varying colours, with the height noted.

However in my system, I am seeing the following:



The traffic only appears when it's extremely close, the system ignores the green and orange circle and transposes itself above my position with info on height.

I talked to the developer on the phone about this, he says the issue is an incompatibility with Flarm Protocol V6.0. The strange thing is - it works with EasyVFR (ok, no circles but it shows the green, orange and red bars). Any ideas????

Thanks.

Admin

Re: Mode S Targets in Sky Map
« Reply #1 on: July 26, 2016, 11:19:12 am »
what pin code have you used ?
Thx
lee

Steve6443

Re: Mode S Targets in Sky Map
« Reply #2 on: July 26, 2016, 12:38:58 pm »
6001, port 2000

exfirepro

Re: Mode S Targets in Sky Map
« Reply #3 on: July 26, 2016, 02:17:29 pm »
Steve,

I realise Lee is dealing with your request, but can I just ask what PilotAware software version you are running? I ask because your second screen grab seems to reflect how SkyDemon used to show Bearingless (Mode S) targets several versions ago before Lee made the displays 'Nav System Specific'. In this respect, the system version will be significant.

Regards

Peter

Steve6443

Re: Mode S Targets in Sky Map
« Reply #4 on: July 26, 2016, 02:27:11 pm »
version 20160708

Admin

Re: Mode S Targets in Sky Map
« Reply #5 on: July 26, 2016, 02:39:08 pm »
Aha!!

Please use Pin Code = 6000

Its the Pin Code, I assigned the following codes in the last release in order to deal with variations
on the Mode-S format that tools wished to see.

Code: [Select]
    NAV_SKYDEMON  = 6000,
    NAV_RUNWAYHD  = 6001,
    NAV_EASYVFR   = 6002,
    NAV_AIRNAVPRO = 6003,

For SkyMap, I recommend using the SKYDEMON format of PinCode=6000, this will give you the display
output you are looking for.

I can see the issue in the code, the default/undefined format provides relative co-ordinates of 0,0
I think I will make the default behave the same as SkyDemon - EasyVFR is the special in this case
for the banners

Thx
Lee

AlanG

Re: Mode S Targets in Sky Map
« Reply #6 on: July 26, 2016, 03:39:12 pm »
Nah
You're just encouraging these misleading circles, I think you should make the default like EVFR then they'll all have to adopt the banners.   ;D  ;D  ;D  ;D

Alan

Steve6443

Re: Mode S Targets in Sky Map
« Reply #7 on: July 26, 2016, 04:25:16 pm »
That has made it worse. If I plug in 6000, the whole system just dies on me. I've tried rebooting. I've disconnected and tried a new WLAN adapter - they get bloody hot.....

Logging I see:
(16:22:41) NAV-TCP   : Connected to NAV_SKYDEMON=28
(16:22:41) NAV-TCP   : NAVMSG='6000'
(16:22:39) NAV-TCP   : Disconnected Descriptor=29
(16:22:39) NAV-TCP   : NAV MSG=
(16:22:39) NAV-TCP   : recvData() Timeout
(16:22:39) NAV-TCP   : Listening for Connection
(16:22:39) NAV-TCP   : Connected Descriptor=28
(16:22:26) NAV-TCP   : Connected to NAV_SKYDEMON=23
(16:22:26) NAV-TCP   : NAVMSG='6000'
(16:22:24) NAV-TCP   : Listening for Connection
(16:22:24) NAV-TCP   : Connected Descriptor=23
(16:22:24) NAV-TCP   : Disconnected Descriptor=28
(16:22:24) NAV-TCP   : NAV MSG=
(16:22:24) NAV-TCP   : recvData() Timeout
(16:22:11) NAV-TCP   : Connected to NAV_SKYDEMON=29
(16:22:11) NAV-TCP   : NAVMSG='6000'
(16:22:09) NAV-TCP   : Listening for Connection
(16:22:09) NAV-TCP   : Connected Descriptor=29

ad nauseum.......

I can see there is something wrong because I am setting the unit to use the GPS of Pilotaware and when I have the code at 6000, it doesn't receive any data.....

Change to 6001 and it connects immediately.


EDIT: If I use the internal GPS, it just shows: NO TRAFFIC DATA and looking at the logging page it shows NAV_SkyDemon connecting and timing out.
« Last Edit: July 26, 2016, 05:34:38 pm by Steve6443 »

Admin

Re: Mode S Targets in Sky Map
« Reply #8 on: July 26, 2016, 07:28:37 pm »
Hi Steve,

Hmm, I see the problem here.

In the case of SkyDemon, it configures the interface with a message thus :-

$PFLAC,S,NMEAOUT,61*69

SkyMap is not sending that (which is perfectly OK), but because we have now configured this to be in SkyDemon mode
I am waiting for this message, not receiving it, then timing out.

I need to think a better strategy for getting Mode-S displayed in SkyMap, I will add this to my todo list.
I don't think this is a big issue to fix to be honest.

Thx
Lee

Steve6443

Re: Mode S Targets in Sky Map
« Reply #9 on: July 26, 2016, 09:16:42 pm »
Hi Lee,

strangely enough it works when configured as (e.g.) EasyVFR but just doesn't supply the traffic data as Sky Map expects it to be delivered..... Would it be possible to having the system provide that code itself then switching to Sky Demon mode for Sky Map, or is that a repetitive command it's expecting?

Admin

Re: Mode S Targets in Sky Map
« Reply #10 on: July 26, 2016, 09:44:04 pm »
Hi Steve,

The default behavior should be ok for skymap, but the default is currently wrong, it does not provide the ModeS rings and it SHOULD.

I have fixed this internally, so this will be fixed in the next release of PilotAware

Thx
Lee

Steve6443

Re: Mode S Targets in Sky Map
« Reply #11 on: August 20, 2016, 10:33:07 pm »
Thanks Lee, I confirm that it's now working with coloured rings including the height difference. In a number of instances, the distance is so close, the SkyMap shows the warning and announces the proximity of any possible intruders.