-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
headless AMVR with OGN #1
Comments
Yes I did.
However, things are more complex than expected. In order to present OGN
data, you have to involve an APRS client. I tried some of it, but they show
graphics from the nineties. The best one is Konstantin Gründger's OGN
Viewer for Android. Sadly - I think - this solution needs network as well
because google maps are involved. So I decided to use XCSoar as the
presenting application, available on all interesting platforms - even on Pi
- and running fully autonomous.
Back to timesync: The very quick&dirty solution might be to stop NTP-wait
from working. Try this by commenting out line 3 in block:
# Wait for time to be sync before launching
#while true; do /usr/sbin/ntp-wait -v; if [ $? -eq 0 ]; then break;
fi; sleep 2; done
while true; do service ntp stop; sleep 1; service ntp start;
/usr/sbin/ntp-wait -v -n 5; if [ $? -eq 0 ]; then break; fi; sleep 2; done
in file /etc/init.d/rtlsdr-ogn
and make sure to comment out another possible related entry (??) I did not
find any.
If this machine will connect to OGN, things might get messed up, because
OGN datagrams come with a wrong timestamp. I did not test that setup.
However, you could try this. But make sure, not network connectivity is
given. I was happy, someone would try this. Rather I made a design,
involving a GPS receiver, syncing NTP.
Last you need an APRS server, as both OGN receiver and presenting OGN
viewer are APRS clients. APRSC is the very basis of the OGN servers if not
the only APRS server solution at all. It compiles and runs very well even
on the Raspberry Pi with few % of CPU usage.
My solution additionally involves Julian's VFR-B in order to translate
OGN-APRS datagrams to Flarm NMEA sentences, since XCSoar does not read
APRS. https://github.com/Jarthianur/VirtualFlightRadar-Backend
After three years of development, Julian and me soon will release a Pi
image for all that, but we still have to verify setting up the image. Since
you are a developer obviously, you are enabled to proceed with APRSC and an
APRS viewer.
Greets,
Rueckwaertsflieger
2017-04-13 9:51 GMT+02:00 biturbo <notifications@github.com>:
… I try to get OGN working headless, but w/o success as it looks like OGN is
always looking for a NTP and internet connection, do you have a solution
for that?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGAWrn3bI_9LhHpDGgfetUXZ3QV9VUCpks5rvdPwgaJpZM4M8XjN>
.
--
Wolfram Zirngibl
rueckwaertsflieger@wolframz.net
+49 176 45867923
www.uniformative.info
|
Thanks for the comprehensive information, I am using the code from https://github.com/0x74-0x62/flightbox
Python3 Code for receive GNSS/GPS, ADS-B and FLARM signals, process them, and provide a data stream to navigation systems.
That is this thing, already tried this w/o success.
w/o NTP started and config file changed, RTLSDR-OGN 0.2.6 is starting w/o any errors and it is also connecting to the local APRS server
but it will not process any data on the OGN site until I start NTP manually on the Pi. ☹
I have a Flarm Mouse nearby to test it.
I also tried to tweak NTP with GPSD, NMEA, LOCAL / 127.127.x.x time sources w/o any success.
Need to dig in deeper to find a solution, but thanks for your help
Cheers
Serge
|
Dear Serge,
for syncing NTP, I use a serial GPS receiver. But it should work with an
USB as well. To make NTP use GPSD fully, you have to include a "flag1 1" in
fudge command in ntp.conf. The NTP GPSD SHM driver "28" has a built in 4
hours time margin, preventing from settiung the clock if it is four hours
from the Pi's fake clock apart. With flag1 1 you disable that time window.
See document attached.
The second source for failure is that with latest Raspbian GPSD is
configured to sleep and wait for applications to connect. You have to
definitely make GPSD run. See document attached. You may verify whether
GPSD or any other deamon is running by ps -aux | grep <name>
Greets,
Rueckwaertsflieger
2017-04-13 11:59 GMT+02:00 biturbo <notifications@github.com>:
… Thanks for the comprehensive information, I am using the code from
https://github.com/0x74-0x62/flightbox
Python3 Code for receive GNSS/GPS, ADS-B and FLARM signals, process them,
and provide a data stream to navigation systems.
That is this thing, already tried this w/o success.
w/o NTP started and config file changed, RTLSDR-OGN 0.2.6 is starting w/o
any errors and it is also connecting to the local APRS server
but it will not process any data on the OGN site until I start NTP
manually on the Pi. ☹
I have a Flarm Mouse nearby to test it.
I also tried to tweak NTP with GPSD, NMEA, LOCAL / 127.127.x.x time
sources w/o any success.
Need to dig in deeper to find a solution, but thanks for your help
Cheers
Serge
From: rueckwaertsflieger ***@***.***
Sent: Thursday, 13 April 2017 11:42
To: rueckwaertsflieger/AMVR ***@***.***>
Cc: biturbo ***@***.***>; Author ***@***.***>
Subject: Re: [rueckwaertsflieger/AMVR] headless AMVR with OGN (#1)
Yes I did.
However, things are more complex than expected. In order to present OGN
data, you have to involve an APRS client. I tried some of it, but they
show
graphics from the nineties. The best one is Konstantin Gründger's OGN
Viewer for Android. Sadly - I think - this solution needs network as well
because google maps are involved. So I decided to use XCSoar as the
presenting application, available on all interesting platforms - even on
Pi
- and running fully autonomous.
Back to timesync: The very quick&dirty solution might be to stop NTP-wait
from working. Try this by commenting out line 3 in block:
# Wait for time to be sync before launching
#while true; do /usr/sbin/ntp-wait -v; if [ $? -eq 0 ]; then break;
fi; sleep 2; done
while true; do service ntp stop; sleep 1; service ntp start;
/usr/sbin/ntp-wait -v -n 5; if [ $? -eq 0 ]; then break; fi; sleep 2; done
in file /etc/init.d/rtlsdr-ogn
and make sure to comment out another possible related entry (??) I did not
find any.
If this machine will connect to OGN, things might get messed up, because
OGN datagrams come with a wrong timestamp. I did not test that setup.
However, you could try this. But make sure, not network connectivity is
given. I was happy, someone would try this. Rather I made a design,
involving a GPS receiver, syncing NTP.
Last you need an APRS server, as both OGN receiver and presenting OGN
viewer are APRS clients. APRSC is the very basis of the OGN servers if not
the only APRS server solution at all. It compiles and runs very well even
on the Raspberry Pi with few % of CPU usage.
My solution additionally involves Julian's VFR-B in order to translate
OGN-APRS datagrams to Flarm NMEA sentences, since XCSoar does not read
APRS. https://github.com/Jarthianur/VirtualFlightRadar-Backend
After three years of development, Julian and me soon will release a Pi
image for all that, but we still have to verify setting up the image.
Since
you are a developer obviously, you are enabled to proceed with APRSC and
an
APRS viewer.
Greets,
Rueckwaertsflieger
2017-04-13 9:51 GMT+02:00 biturbo ***@***.***<mailto:
***@***.***>>:
> I try to get OGN working headless, but w/o success as it looks like OGN
is
> always looking for a NTP and internet connection, do you have a solution
> for that?
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#1>, or mute the
thread
> <https://github.com/notifications/unsubscribe-auth/AGAWrn3bI_
9LhHpDGgfetUXZ3QV9VUCpks5rvdPwgaJpZM4M8XjN>
> .
>
--
Wolfram Zirngibl
***@***.******@***.***>
+49 176 45867923 <+49%20176%2045867923>
www.uniformative.info<http://www.uniformative.info>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://github.com/
rueckwaertsflieger/AMVR#1#issuecomment-293842472>, or mute the
thread<https://github.com/notifications/unsubscribe-auth/AMLz7Ye15MwcTA0_
CdQD3O29iYdFvNAeks5rve3OgaJpZM4M8XjN>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGAWrt-vWBcV2KKIU942_aTtYMFEWlpIks5rvfH-gaJpZM4M8XjN>
.
--
Wolfram Zirngibl
rueckwaertsflieger@wolframz.net
+49 176 45867923
www.uniformative.info
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I try to get OGN working headless, but w/o success as it looks like OGN is always looking for a NTP and internet connection, do you have a solution for that?
The text was updated successfully, but these errors were encountered: