cubehub / doppler

Command line utility that takes IQ data stream as input and produces doppler corrected output stream based on TLE
MIT License
51 stars 13 forks source link

Location and doppler correction #6

Closed Jennifer92 closed 1 year ago

Jennifer92 commented 7 years ago

Hello, I'm testing your software for NOAA signal recording. I don't understand what happen with the location that software interptrets. I write the command of your example: rtl_fm -f 437.5M -s 1024000 -g 20 -M raw - | doppler track -s 1024000 -i i16 --tlefile cubesat.txt --tlename 'ESTCUBE 1' --location lat=58.26541,lon=26.46667,alt=90 --frequency 437505000 --offset 5000 > zero.iq

and I recive:

2016-11-27T12:26:32.290 [INFO doppler 129] location : Location { lat: 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000287, lon: 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013, alt: 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000445 }

Whaever location I want, software interprets alt=0,long=0,alt=0.

Also, I always recive doppler correction =-0.00Hz.

If you know what is happening, I would apreciate your helful. Thanks you.

andresv commented 7 years ago

Hi,

Which rust version you are using and which operating system:

rustc --version
uname -a
Jennifer92 commented 7 years ago

Hello, I'm using rustc version: 1.13.0 and OS: Linux raspberrypi 4.1.17

Jennifer92 commented 7 years ago

Do you have any idea about my problem? Thank you very much!

andresv commented 7 years ago

I rechecked it under mac os x and it worked fine. Unfortunately i do not have access to RPi currently so i cannot check it. It could be related with bug in Rust 1.13: https://blog.rust-lang.org/2016/11/10/Rust-1.13.html

1.13 contains a serious bug in code generation for ARM targets using hardware floats (which is most ARM targets). ARM targets in Rust are presently in our 2nd support tier, so this bug was not determined to block the release. Because 1.13 contains a security update, users that must target ARM are encouraged to use the 1.14 betas, which will soon get a fix for ARM.

Try to update Rust to 1.14 beta


curl https://sh.rustup.rs -sSf | sh # if rustup is not installed
rustup install beta
rustup default beta