kng / satnogs_gr-satellites Goto Github PK
View Code? Open in Web Editor NEWFirst try on combining gr-satellites with the satnogs-client and satnogs-flowgraphs
License: GNU General Public License v3.0
First try on combining gr-satellites with the satnogs-client and satnogs-flowgraphs
License: GNU General Public License v3.0
Now with the development trying to add FSK support I would suggest to add AAUSAT-4.
There doesn't seem to be a decoder within SatNOGS so lets try to activate the gr_satellites decoder for AAUSAT-4
gr_satellites --list_satellites
* AAUSAT-4 (NORAD 41460)
2k4 FSK downlink 437.425 MHz FSK AAUSAT-4
9k6 FSK downlink 437.425 MHz FSK AAUSAT-4
With the T-9 launch I was testing new yml files and during the creation I made an error that caused me the have a problem for over 2 days. At the end the problem was with gr_satellites --list_satellites
one of the new yml files had a syntax error.
if [ ! -s "$SATLIST" ] || [ ! -f "$GRSVER" ] || [ "$($GRSTS)" != "$(<"$GRSVER")" ]; then
echo "$PRG Generating satellite list"
$GRSBIN --list_satellites | sed -n -Ee 's/.*NORAD[^0-9]([0-9]+).*/\1/p' > "$SATLIST"
$GRSTS > "$GRSVER"
fi
This syntax error didn't produce an error when running grsat-wrapper nor something in the log file and therefor didn't point me in the right direction.
Below the wrong yml file:
name: KAFASAT
norad: 99028
data:
&tlm0 AX25 telemetry:
telemetry: ax25
transmitters:
1k2 G3RUH FSK downlink:
frequency: 435.835e6
modulation: FSK
baudrate: 1200
framing: AX.25 G3RUH
data:
- *tlm0
The correct yml file:
name: KAFASAT
norad: 99028
data:
&tlm0 AX25 telemetry:
telemetry: ax25
transmitters:
1k2 G3RUH FSK downlink:
frequency: 435.835e+6
modulation: FSK
baudrate: 1200
framing: AX.25 G3RUH
data:
- *tlm0
What would be the best way to do some kind of sanity check ?
Maybe something like gr_satellites --list_satellites || exit 1
after doing some test I noticed $?
is 1 when the command fails.
Check if the file size is 0, this could mean a previous run had some problems and produced a empty list of satellites.
I love the program, runs w/o problems, but in the log for each observation I get:
usr/local/bin/grsat-wrapper.sh: line 83: kill: (xxx) - No such process
after stopping of the observation.
No idea, what to do ...
I have running this great development for almost 2 days and things look ok.
There was only the following error during one of the NAYIF-1 passes.
It seems to be triggered by the kiss_satnogs.py
script.
Dec 01 22:10:43 exomars satnogs-client[14637]: gr-satellites: Observation: 3225264, Norad: 42017, Name: NAYIF-1_EO-88, Script: satnogs_bpsk.py
Dec 01 22:10:43 exomars satnogs-client[14637]: gr-satellites: Starting observation 3225264
Dec 01 22:10:43 exomars satnogs-client[14637]: gr-satellites: Decoding NAYIF-1
Dec 01 22:10:45 exomars satnogs-client[14637]: Found Rafael Micro R820T tuner
Dec 01 22:10:45 exomars satnogs-client[14637]: Found Rafael Micro R820T tuner
Dec 01 22:10:45 exomars satnogs-client[14637]: [INFO] Opening Generic RTL2832U OEM :: 00000001...
Dec 01 22:10:46 exomars satnogs-client[14637]: Found Rafael Micro R820T tuner
Dec 01 22:10:46 exomars satnogs-client[14637]: [R82XX] PLL not locked!
Dec 01 22:10:46 exomars satnogs-client[14637]: [INFO] Using format CF32.
Dec 01 22:10:47 exomars satnogs-client[14637]: Allocating 15 zero-copy buffers
Dec 01 22:19:45 exomars satnogs-client[14637]: 4
Dec 01 22:19:46 exomars satnogs-client[14637]: gr-satellites: Observation: 3225264, Norad: 42017, Name: NAYIF-1_EO-88, Script: satnogs_bpsk.py
Dec 01 22:19:46 exomars satnogs-client[14637]: gr-satellites: Stopping observation 3225264
Dec 01 22:19:46 exomars satnogs-client[14637]: gr-satellites: Got some telemetry!
Dec 01 22:19:46 exomars satnogs-client[14637]: gr-satellites: Got some kiss data!
Dec 01 22:19:46 exomars satnogs-client[14637]: Traceback (most recent call last):
Dec 01 22:19:46 exomars satnogs-client[14637]: File "/usr/local/bin/kiss_satnogs.py", line 88, in <module>
Dec 01 22:19:46 exomars satnogs-client[14637]: frame_tuples = list(read_kiss_frames(kiss_file))
Dec 01 22:19:46 exomars satnogs-client[14637]: File "/usr/local/bin/kiss_satnogs.py", line 58, in read_kiss_frames
Dec 01 22:19:46 exomars satnogs-client[14637]: assert((parts_len - 1) % 4 == 0)
Dec 01 22:19:46 exomars satnogs-client[14637]: AssertionError
Dec 01 22:19:46 exomars satnogs-client[14637]: gr-satellites: Got something in the log!
Dec 01 22:20:30 exomars satnogs-client[14637]: gr-satellites: Observation: 3230832, Norad: 43137, Name: FOX-1D_AO-92, Script: satnogs_amsat_fox_duv_decoder.py
Dec 01 22:20:30 exomars satnogs-client[14637]: gr-satellites: Satellite not supported
Dec 01 22:20:32 exomars satnogs-client[14637]: Found Rafael Micro R820T tuner
Dec 01 22:20:32 exomars satnogs-client[14637]: Found Rafael Micro R820T tuner
Dec 01 22:20:32 exomars satnogs-client[14637]: [INFO] Opening Generic RTL2832U OEM :: 00000001...
Dec 01 22:20:33 exomars satnogs-client[14637]: Found Rafael Micro R820T tuner
Dec 01 22:20:33 exomars satnogs-client[14637]: [R82XX] PLL not locked!
Dec 01 22:20:33 exomars satnogs-client[14637]: [INFO] Using format CF32.
Dec 01 22:20:33 exomars satnogs-client[14637]: Allocating 15 zero-copy buffers
Who has seen behavior before and is this that can be fixed?
I almost forgot, below the log file that belongs to the observation.
cat /tmp/.satnogs/grsat_3225264.log
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 0)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 1)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 0)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 1)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 0)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 1)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 0)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 1)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 0)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 1)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 0)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 1)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 0)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 1)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 0)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 1)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 1 bytes (interleaver path 0)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 1)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode fail (interleaver path 0)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 0)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 1)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 0)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 1)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 0)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 1)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 0)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 1)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 0)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 1)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 0)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 1)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 0)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 1)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 0)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 1)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 0)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 1)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 0)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 1)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 0)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 1)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 0)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 1)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 0)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 1)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0 bytes (interleaver path 0)
gr::log :DEBUG: decode_rs0 - Reed-Solomon decode corrected 0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.