[NEW] Feeding FLARM data to OpenSky

1 year 11 months ago - 1 year 5 months ago #836 by giorgix3
Dear members,

As you know, our main goal is to collect ADS-B and Mode-S data for research purposes. On top of that we are now collecting FLARM messages. For this purpose we use the existing receiver software of the OGN Project. If you already have an OGN receiver setup, then it is really easy to share your FLARM data with us. If not, then you would need to setup an OGN receiver first, as explained here.

If you are willing to share your data with us, FLARM aircrafts received by your station will appear on the OpenSky Explorer and we will store the (raw) messages that your station receives and they will be available to our research community in our Historical Database. Furthermore we are working on a “collaborative decoding” functionality that should enable us to reconstruct messages with a poor SNR that have been received by multiple sensors: this could be especially helpful to track down devices that disappear in areas that are at the edge of the usual coverage.

Feeding with us with your existing OGN receiver is really easy, for simplicity I made a script that sets up everything for you and that you can run by running the following command from the home directory of the RaspberryPi:

sudo bash -c "$( wget -O - gist.githubusercontent.com/giorgix3/6ba6...dff/OpenSky-flarm.sh)"

If you prefer to make the changes yourself, these are the necessary steps:

1) Replace ogn-decode with the last version by running cd rtlsdr-ogn; wget -O ogn-decode fvvsi.ch/o/ogn-decode; sudo chmod +x ogn-decode
2) Add the following code to the config file “.conf"

Demodulator:
{ MergeServer = "flarm-collector.opensky-network.org:20002"; } ;

3) Restart the service: sudo service rtlsdr-ogn restart

If you are using a “Ready to use” Image by Sébastien Chaumontet, you just need to change the OGN-receiver.conf file in your /boot partition as follows:

ReceiverName="MyReceiverName\";}; Demodulator:{ MergeServer = \"flarm-collector.opensky-network.org:20002"
runAtBoot="/usr/bin/wget fvvsi.ch/o/ogn-decode --quiet -O /home/pi/rtlsdr-ogn/ogn-decode ; chmod +x /home/pi/rtlsdr-ogn/ogn-decode"

Don’t hesitate to contact me if you have any questions. Thank you in advance for your help!

Giorgio
Attachments:

Please Log in or Create an account to join the conversation.

1 year 6 months ago #1007 by abg
unabbreviated link (for easy copy & paste):
sudo bash -c "$( wget -O - https://gist.githubusercontent.com/giorgix3/6ba6271a3304ab975ea18897e4938dbd/raw/8aafaaaa7a63e1699d868cae49bb177f19af6dff/OpenSky-flarm.sh)"

Is it possible to check if the feeder is working? Ideally without any FLARM aircraft/glider in sight?

Thx

Please Log in or Create an account to join the conversation.

1 year 5 months ago #1008 by giorgix3
Hi,

at the moment there is no way for you to see if you are seeding correctly as we are still in a beta stage. However, feel free to hit me up and I will be able to check manually.

Best,

G

Please Log in or Create an account to join the conversation.

1 year 5 months ago #1009 by abg
Thanks. I am using a Pi Zero W and the image of Sébastien Chaumontet (could not get OGN to work with Raspbian Stretch Lite and manual install)

My local raspi status page (8081) states
Demodulator.MergerServer flarm-collector.opensky-network.org:20002
and my DNS server shows requests for flarm-collector.opensky-network.org . Looks fine and I can see a FLARM data from a REGA helicopter near me on the live map.

Please Log in or Create an account to join the conversation.

1 year 5 months ago #1022 by Moosburg
I would like to feed OGN data as well, but there is a problem to solve.
I am running a local "Virtual Radar Server" to visualize AC from ADS-B data.
VRS is getting data
- from dump1090-fa ( ADS-B )
- from PilotAware-OGN
PW-OGN converts AC positions from ogn-decode into BaseStation messages.
And here is the problem:
With MergeServer enabled, ogn-decode 0.2.6 frequently crashes, while
ogn-decode 0.2.7 (your version) is running stable, but PW-OGN is reporting
AC positions several thousand km off.

Any idea how to solve this? I am not sticking to PW-OGN is there is another program
converting ogn-decode supplied positions to a format VRS can handle.

Please Log in or Create an account to join the conversation.

1 year 5 months ago #1023 by giorgix3
Hi,

It is known that the merge server option does not work very well on 0.2.6. I believe that 0.2.7 has a slightly different "text" output format (
telnet localhost 50001
) than the previous version. I assume that the parser that Pilot Aware uses to get the data from OGN-decode does not interpret the data correctly.

I will try to bring up the issue on the Pilot Aware forum.

Best,

Please Log in or Create an account to join the conversation.

1 year 4 months ago #1033 by Moosburg
Hi,

did you have a chance to address this issue to the PilotAware developers?
Or do you know of another program converting FLARM messages from ogn-decode to e.g. Beast format?
Thank you

Please Log in or Create an account to join the conversation.

1 year 4 months ago #1036 by giorgix3
Hi,

not yet. Sorry about that. I have no knowledge of other softwares doing the same. It has now been a while since the last OGN software release, I think that it makes sense to expect a new version soon. it might be worth waiting before starting any effort, to see what changes they will introduce.

Best,

Please Log in or Create an account to join the conversation.

1 year 2 months ago #1077 by Moosburg
Is the data format documented that is used to send the AC positions and time to the MergeServer?

Please Log in or Create an account to join the conversation.

8 months 2 weeks ago #1294 by Moosburg
I have upgraded my station to rtl-sdr.ogn 0.2.8 and enabled the merge server.
Observation:
AC seen on my local display oftenly do not show on opensky explorer map.
Are you loosing packets?

Please Log in or Create an account to join the conversation.

8 months 2 weeks ago #1295 by giorgix3
Hi,

thanks a lot for your question! We did not receive the new software in advance, so we haven't had the opportunity to check yet. We will do so during the coming weeks and make the necessary adjustments.

What is known is that OpenSky needs more than just one message in order to show an aircraft on the map (although all messages are logged and available in our dataset). If the ogn receiver only gets 1-2 messages the aircraft will not be displayed.

Best,

Giorgio

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum
This website uses cookies to offer you the best experience of our services. By using this website you agree to our privacy policy!