Giter Club home page Giter Club logo

satnogs_gr-satellites's People

Contributors

janvgils avatar kng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

satnogs_gr-satellites's Issues

FSK Decoding candidate

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

grsat-wrapper sanity check

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.

NAYIF-1 AssertionError

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.