-
Notifications
You must be signed in to change notification settings - Fork 298
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
Getting Stratux Information #651
Comments
Don't know if this is helpful, but you can see how the (old?) Python screen script pulls the data by looking at the file https://github.com/cyoung/stratux/blob/master/test/screen/screen.py Specifically: (EDIT: getSituation would work the same way) |
It looks like you got what you wanted, just without pretty formatting of
the json.
…On Tue, Jul 25, 2017, 11:23 Sara1371 ***@***.***> wrote:
1.
Stratux version: home-built with RPI3
2.
Stratux config:
SDR
- single
- [ x] dual
GPS
- [x
[image: picture 1]
<https://user-images.githubusercontent.com/30244608/28582456-1530a544-712b-11e7-80db-6163b69b7510.JPG>
[image: picture 2]
<https://user-images.githubusercontent.com/30244608/28582459-17b8b36a-712b-11e7-8f83-8f6bb4049f2f.png>
] yes
- [ ] no
type:
AHRS
- [ ] yes
- [ ] no
power source:
usb cable:
1.
EFB app and version: (e.g., WingX Pro7 8.6.2)
EFB platform: (e.g., iOS 9.2)
EFB hardware: (e.g., iPad Mini 2)
2.
Description of your issue:
I want to get information through this link as an example.
http://192.168.10.1/getSituation
, but what I get instead of picture 1 is picture 2. What is the reason?
If possible, enable "Replay Logs", reproduce the problem, and provide a
copy of the logs in http://192.168.10.1/logs/stratux/ and
http://192.168.10.1/logs/stratux.log.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#651>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ANN_wHk1d0Sr-2FUv9_vOF0_J3SRo07Sks5sRhaTgaJpZM4Oiy1d>
.
|
getSituation shows stratux's location information from the GPS attached.
If you want traffic information check ws://192.168.10.1/traffic
…On Tue, Jul 25, 2017, 14:59 Sara1371 ***@***.***> wrote:
Ok. Thanks a lot. Here is my issue: I am looking for the information of
the aircraft in the picture attached. I mean their lat, long and etc. What
I am getting in python while typing these are lat=0, long=0 and.... I could
get nothing related to the aircraft seen in the traffic part of Stratux
website. Why am I getting lat =0, lng=0?
[image: screenshot 19]
<https://user-images.githubusercontent.com/30244608/28590894-6af7a0fe-7149-11e7-8187-709570df7632.png>
Many thanks for the help.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#651 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ANN_wDAGOTnqph2iKj0ttuGlY5oZTEWEks5sRkkegaJpZM4Oiy1d>
.
|
Thanks a lot. I want to see what raw data is coming into Stratux or more specifically Raspberry Pi, that then is converted to the format we can see in 192.168.10.1/traffic website. I want to see any information which an ADS_B message contains. (all information as location, address, ICAO, velocity, etc. Is there any way for me to get that? |
Well, then you're probably more interested in dump978 and dump1090. These
are the programs/libraries Stratux uses to tune the radios and decode the
messages.
https://github.com/mutability/dump978
https://github.com/antirez/dump1090
…On Tue, Jul 25, 2017 at 7:03 PM, Sara1371 ***@***.***> wrote:
Thanks a lot. I want to see what raw data is coming into Stratux or more
specifically Raspberry Pi, that then is converted to the format we can see
in 192.168.10.1/traffic website. I want to see any information which an
ADS_B message contains. (all information as location, address, ICAO,
velocity, etc. Is there any way for me to get that?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#651 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ANN_wIs3s-mCLG0szHMfsLrfhnZN05Xpks5sRoJIgaJpZM4Oiy1d>
.
|
Dear kdknigga, |
The dump1090 readme is pretty straightforward. What specifically are you
having problems with?
…On Tue, Jul 25, 2017, 22:29 Sara1371 ***@***.***> wrote:
Dear kdknigga,
Thanks a lot for your help. I looked up at those links you gave and it
seems they are exactly what I am looking for a long time. I need this data
for part of my research at Electrical Engineering department so, I am a
beginner in this particular area. Is there a possibility for you to give a
more detailed guide about where I should start? Is there any specific
program that I should install? As I am not familiar with Stratux related
programming, the explanation written is not clear for me.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#651 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ANN_wAlOha64SnKZW4PVsy6E4u6dQrpYks5sRrJ4gaJpZM4Oiy1d>
.
|
Where should I run this program? Does it need special programming tool? I can see nothing written about that. |
For dump1090 and dump978 you'll have to install the programs and their dependencies. It really depends what you mean by "raw data". The "raw data" might just be a radio recording. The https://github.com/cyoung/stratux/blob/master/notes/app-vendor-integration.md See the section on part at the bottom, |
@Sara1371 This looks like a fix for your specific error: antirez/dump1090#108 This guide will get you the rest of the way https://ferrancasanovas.wordpress.com/2013/09/26/dump1090-installation/ Also checkout Virtual Radar Server for real-time visualization of this data. If you're not going to be flying with your Stratux device a then something like this plus dump1090 might be an easier setup to work with. Otherwise, if you stick with the Stratux device you can enable "Replay Logs" and just use SQL to get the data out of
|
@bearcode |
The sqlite logs that @bearcode references should have that data. |
@cyoung |
@Sara1371 - looks like you've got information needed for your project, re-open if you need anything further. |
Stratux version: home-built with RPI3
Stratux config:
SDR
GPS
] yes
- [ ] no
type:
EFB app and version: (e.g., WingX Pro7 8.6.2)
EFB platform: (e.g., iOS 9.2)
EFB hardware: (e.g., iPad Mini 2)
Description of your issue:
I want to get information through this link as an example. http://192.168.10.1/getSituation
, but what I get instead of picture 1 is picture 2. What is the reason?
If possible, enable "Replay Logs", reproduce the problem, and provide a copy of the logs in http://192.168.10.1/logs/stratux/ and http://192.168.10.1/logs/stratux.log.
The text was updated successfully, but these errors were encountered: