Commit Graph

346 Commits

Author SHA1 Message Date
Nick Foster
4942df438a try/except around modes_flightgear so users w/o numpy can still run it. 2012-06-13 14:34:42 -07:00
Nick Foster
b7a9cfd01d Resample RTL data to 4Msps 2012-06-13 14:18:47 -07:00
Nick Foster
0310c3c81d Use lpfilter when using RTL source 2012-06-13 14:06:08 -07:00
Nick Foster
6c4eb9d6d3 Take air_modes.i out of the SWIG install. Nobody's going to use it anyway. 2012-06-13 14:02:36 -07:00
Nick Foster
bb0cafddf8 SWIG fix for GR >= 3.5.1 2012-06-13 13:43:41 -07:00
Steve Markgraf
f415257907 modes_sbs1: reuse socket
Otherwise you'd have to wait until it times out...

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-06-13 09:53:53 -07:00
Nick Foster
bb98eeaa97 First stab at adding rtlsdr support to uhd_modes.py. Should probably rename that file. 2012-06-13 09:24:23 -07:00
Nick Foster
61cc4917a8 Add the actual FlightGear interface. Derp. 2012-06-13 07:53:19 -07:00
Nick Foster
17f7cb9a53 Backport Flightgear server from private tx branch, collapse commits.
* Added Flightgear multiplayer output interface to uhd_modes.py. This allows flight with live traffic in fgfs.
* Quaternion library borrowed from PyPi and modified to generate angle/axis representation and construct rotation quat from lat/lon to ECEF.
* Miscellaneous enhancements and cleanup to fix timestamps, add aircraft type field (seems to be unused anyway), turnrate info
2012-06-13 07:49:22 -07:00
Nick Foster
c16886c4c1 Fix your laziness in breaking the CPR parser. Still don't like how KMLgen is done, needs to be consolidated so all db work is in one file. 2012-02-25 16:50:15 -08:00
Nick Foster
622249ba5b Add back in airports.png so Google Earth gets the icon 2012-02-01 09:14:34 -08:00
Nick Foster
a43d8ee3a7 Reorganize CPR decoder as a class to keep it simple 2012-02-01 09:14:02 -08:00
Nick Foster
105950c176 Move the SQL stuff out of uhd_modes and into modes_kml, keeps things neat 2012-01-30 18:50:04 -08:00
Nick Foster
82ce9feec0 Whoops, forgot to prefix the KML generator invocation 2012-01-13 13:38:49 -08:00
Nick Foster
8522bc0b25 CMakeified almost everything. Test code in python/ and apps other than uhd_modes.py still need minor updating. 2011-12-14 10:17:16 -08:00
Nick Foster
4fcf7a4498 fix --location to parse arg properly, pulled from KD5BWT 2011-12-12 09:38:34 -08:00
Nick Foster
d6ba39fdef Fixes for tags interface via Mattias Schäfer. 2011-12-12 09:32:37 -08:00
Nick Foster
5ac5c8aca8 Modified for new new tags interface 2011-11-17 15:16:56 -08:00
Nick Foster
7a4f703e2b interim commit 2011-11-17 14:58:19 -08:00
Nick Foster
107dc1b969 this is the last time i'm going to do this... 2011-09-07 17:07:52 -07:00
Nick Foster
f3957194f5 Some work on the mlat stuff, and restoring sanity to the gr-uhd tags interface 2011-09-07 15:49:14 -07:00
Nick Foster
e1c6c467a4 mlat: add get_correlated_records.py, a testbed for postanalysis. gets clock difference and clock drift from a set of raw records. 2011-09-05 14:34:31 -07:00
Nick Foster
7d4eadef62 UHD time init to 0 on start, raw output option prints to stdout as well 2011-08-27 14:40:01 -07:00
Nick Foster
90fbf70c5e some mlat changes and update to work with the "real" tags interface 2011-08-24 18:19:57 -07:00
Nick Foster
6beb78fcf3 Remove subdev crap 2011-07-28 15:35:39 -07:00
Nick Foster
86903898cf Add TCP raw data server for mlat purposes 2011-07-27 10:59:04 -07:00
Nick Foster
a7e26c5960 mlat: fixed horrible bug in the solver. also noticed that [0,0,0] cannot contribute meaningful angular data, and so you still really want four stations on receive. there's still a bug in the solver somewhere that results in positions east of here not solving correctly. 2011-07-14 18:49:47 -07:00
Nick Foster
d7e153d281 Move mlat test data to mlat-test.py instead of mlat.py 2011-07-14 17:01:43 -07:00
Nick Foster
5f2a41f648 mlat: improvements/simplifications to solver, basic DOP pseudocode 2011-07-13 00:11:56 -07:00
bistromath
7208aeefe0 Merge pull request #2 from zmoratto/master
SBS improvements  pull request
2011-07-11 10:01:39 -07:00
Zack Moratto
616ab8362b Have the SBS record milliseconds 2011-07-09 01:40:07 -07:00
Zack Moratto
f31e9e062f Added SBS support for aircraft and flight ID
Looking at the SBS output, flight ID is just aircraft ID +
100. Aircraft ID is just a unique count to make parsing the output
file easier.

I'm not sure how useful this is but it makes us a step closer towards
mimicking the SBS.

I also pull out the ID for squitters 0, 4, and 5.
2011-07-08 10:00:37 -07:00
Zack Moratto
4220255908 Added comments and change surface reports to MSG2
2 important things happened here:

-> Surface position reports where changed from MSG3 to MSG2. I believe
   this is what that SBS message means.
-> MEs 1-4 are aircraft identification packets. Those should go to SBS
   MSG1.
2011-07-08 09:58:33 -07:00
Zack Moratto
7f9574b7cd Added missing MSGs 5,6,7,8 for SBS output
These are the 56 bit ADS-B message about altitude and such. Not as
cool as the the extended messages but still useful non the less.
2011-07-08 09:58:20 -07:00
Zack Moratto
1bbd29d09c Correct mode_sbs1 so that it runs
Msg return output has changed. Time is now only a single variable.
2011-07-07 10:42:51 -07:00
bistromath
a765ffc059 Merge pull request #1 from zmoratto/master
3 small pull requests
2011-07-06 19:26:56 -07:00
Zack Moratto
16c94988e6 Remove uneeded include
I don't believe this is required anymore as everything here uses UHD.
2011-07-04 21:13:20 -07:00
Zack Moratto
c3dacc667e Allow the user to set which antenna to use on the sub device
So .. from the terminal, "-A RX2", would set the device to use the RX2
antenna.The UHD manual will define your options. If the user puts in a
bad selection, it will complain and list the options.
2011-07-02 16:44:38 -07:00
Zack Moratto
b21e36db2f Remove autogenerated config/Makefile.in
This is created by running ./bootstrap
2011-07-02 16:28:44 -07:00
Nick Foster
72acc5e3c1 Default int & dump to "no", use center sampling instead.
A learning experience I guess. If the pulse isn't REALLY square,
and instead is bandlimited in any way, integrate & dump doesn't work
as well as center sampling.

At any rate, the completely rewritten decoder should be both faster
and more sensitive than before.
2011-06-12 01:14:49 -07:00
Nick Foster
3421598b7c switch in&out the center-sample vs. int&dump 2011-06-12 01:07:22 -07:00
Nick Foster
08730769dc pull the framer out, remove the brute forcer 2011-06-12 00:59:41 -07:00
Nick Foster
87444eb980 interim commit with some debug stuff thrown in. 2011-06-12 00:56:22 -07:00
Nick Foster
ba7a6085cb use dbsrx filter 2011-06-12 00:03:57 -07:00
Nick Foster
e1b3e555f8 cleanup 2011-06-11 22:07:20 -07:00
Nick Foster
28366627c5 fix crap, use confidence 2011-06-11 21:40:51 -07:00
Nick Foster
8b1c1791c7 Everything changed.
* Rewrote preamble detector. Uses integrate-and-dump along with correlator to perform optimal receive.
* No longer using framer. Determining packet length via header. Missing some anti-FRUIT stuff.
* Pulled out the slicer logic into its own function.

Lots of todos and fixmes.
2011-06-11 21:32:28 -07:00
Nick Foster
c8dce82b75 Major cosmetic changes to preamble detector 2011-06-08 22:02:13 -07:00
Nick Foster
140f91537c add subdev spec, also clean up cpr.py 2011-06-08 21:44:53 -07:00
Nick Foster
bca80f26ad CPR cleanup 2011-06-01 20:37:51 -07:00