-
Notifications
You must be signed in to change notification settings - Fork 26
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
Problem with start- Signal caught, exiting! #266
Comments
Unsure exactly what is going on here. It looks like something in the decode chain is breaking, hence that 'illegal instruction' report. When you built horusdemodlib, there's an option to run some ctests described here: https://github.com/projecthorus/horusdemodlib?tab=readme-ov-file#testing I'd be interested to know which of these (if any) are working for you. You can also run one of these tests from within the horusdemodlib/build/src/ directory:
This should output:
|
Result ctest pi@Roof:~/horusdemodlib/build$ ctest Test project /home/pi/horusdemodlib/build 100% tests passed, 0 tests failed out of 8 Total Test time (real) = 2.10 sec Result cat command pi@Roof: |
OK, so at least the horus_demod binary runs correctly! That's a start... Unfortunately you're probably going to have to tease apart the different commands run in that final command that starts everything up to figure out which one is breaking.. |
Just furthering this, you can see at the bottom of start_rtlsdr.sh that there's a bunch of commands piped together:
We can break this out into a few different commands to test (You'll have to modify this line in the file)
NOTE - this will spit samples out to the terminal, so expect lots of garbage. then adding horus_demod:
You can also test the decoder by itself, though it wont do much.
|
Okay pi@Roof:~/horusdemodlib$ ./start_rtlsdr.sh
Found horus_demod.
Found bc.
Entering venv.
Using SDR Centre Frequency: 437594000 Hz.
Using FSK estimation range: 1000 - 11000 Hz
Using AGC.
Setting estimator limits to 1000 to 11000 Hz.
Found 1 device(s):
0: Nooelec, NESDR SMArt v5, SN: 00000001
Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Tuner gain set to automatic.
Tuned to 437978000 Hz.
Oversampling input by: 32x.
Oversampling output by: 1x.
Buffer size: 5.33ms
Sampling at 1536000 S/s.
Output at 48000 Hz.
{"EbNodB": -9.36, "ppm": 0, "f1_est":2578.1, "f2_est":3064.5, "f3_est":4148.4, "f4_est":9808.6, "eye_diagram":[[0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.141155 ,0.273494 ,0.556464 ,0.531195 ,0.675958 ],[0.158683 ,0.318274 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.131837 ,0.144710 ,0.387608 ,0.491434 ,0.640390 ],[0.532147 ,0.525183 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.086501 ,0.217385 ,0.513925 ,0.679700 ,0.695064 ],[0.458146 ,0.404599 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.235530 ,0.380706 ,0.248291 ,0.227278 ,0.236807 ],[0.561387 ,0.594044 ,0.801252 ,0.714698 ,0.670543 ,0.445786 ,0.383508 ,0.309083 ,0.257040 ,0.393332 ,0.027574 ,0.255547 ,0.244289 ,0.096903 ,0.172569 ,0.259322 ],[0.951166 ,0.950166 ,0.913049 ,1.000000 ,0.994435 ,0.709538 ,0.788854 ,0.553865 ,0.223816 ,0.172939 ,0.101344 ,0.389433 ,0.586623 ,0.408672 ,0.354691 ,0.340580 ],[0.781929 ,0.762026 ,0.781754 ,0.599001 ,0.496282 ,0.477232 ,0.616747 ,0.696227 ,0.457701 ,0.340986 ,0.271716 ,0.381490 ,0.620460 ,0.725723 ,0.415927 ,0.486421 ],[0.515224 ,0.480242 ,0.672041 ,0.237289 ,0.206889 ,0.393518 ,0.654102 ,0.734139 ,0.377419 ,0.280723 ,0.582516 ,0.443766 ,0.489620 ,0.475153 ,0.631647 ,0.543421 ]],"samp_fft":[0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ]}
{"EbNodB": -7.47, "ppm": 0, "f1_est":2584.0, "f2_est":4148.4, "f3_est":6445.3, "f4_est":10294.9, "eye_diagram":[[0.436194 ,0.261674 ,0.345794 ,0.295644 ,0.315423 ,0.283294 ,0.117051 ,0.167365 ,0.335686 ,0.452164 ,0.310681 ,0.166980 ,0.375139 ,0.322228 ,0.296907 ,0.270277 ],[0.565164 ,0.638242 ,0.606577 ,0.848967 ,0.643693 ,0.630839 ,0.549403 ,0.561261 ,0.553916 ,0.134042 ,0.093564 ,0.268741 ,0.326459 ,0.123559 ,0.213322 ,0.362788 ],[0.767383 ,0.570642 ,0.536749 ,0.605590 ,0.516520 ,0.564505 ,0.432216 ,0.483211 ,0.426735 ,0.412266 ,0.716397 ,0.580642 ,0.498741 ,0.391043 ,0.563962 ,0.479006 ],[0.497233 ,0.250916 ,0.175174 ,0.146551 ,0.296396 ,0.239556 ,0.336158 ,0.314979 ,0.379264 ,0.414800 ,0.410387 ,0.060560 ,0.225878 ,0.177239 ,0.246537 ,0.455180 ],[0.379315 ,0.421450 ,0.412539 ,0.349693 ,0.349303 ,0.486442 ,0.295529 ,0.215363 ,0.100026 ,0.074208 ,0.165878 ,0.202339 ,0.420197 ,0.510009 ,0.621825 ,0.658220 ],[0.150091 ,0.271815 ,0.208442 ,0.245240 ,0.421760 ,0.307509 ,0.394948 ,0.614585 ,0.432510 ,0.492379 ,0.507794 ,0.725443 ,0.761581 ,0.933851 ,0.921346 ,0.912025 ],[0.337701 ,0.440666 ,0.420799 ,0.290548 ,0.266655 ,0.186975 ,0.083525 ,0.234713 ,0.257656 ,0.695933 ,0.949564 ,0.864964 ,0.990065 ,1.000000 ,0.904154 ,0.903651 ],[0.454320 ,0.398979 ,0.380921 ,0.321938 ,0.301204 ,0.348333 ,0.558626 ,0.575374 ,0.147870 ,0.176569 ,0.399106 ,0.247032 ,0.174359 ,0.308279 ,0.186213 ,0.190932 ]],"samp_fft":[0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ]}
{"EbNodB": -7.32, "ppm": 0, "f1_est":1828.1, "f2_est":2584.0, "f3_est":6785.2, "f4_est":7002.0, "eye_diagram":[[0.000000 ,0.399448 ,0.285699 ,0.287414 ,0.108959 ,0.036288 ,0.207240 ,0.255315 ,0.384425 ,0.444778 ,0.177819 ,0.168956 ,0.132358 ,0.210149 ,0.136497 ,0.123272 ],[0.296689 ,0.575814 ,0.623689 ,0.674948 ,0.434329 ,0.309914 ,0.439172 ,0.561201 ,0.594478 ,0.666675 ,0.676446 ,0.572092 ,0.473315 ,0.468650 ,0.558378 ,0.649449 ],[0.340607 ,0.446458 ,0.511998 ,0.395691 ,0.465395 ,0.539798 ,0.573527 ,0.543739 ,0.508058 ,0.278752 ,0.045567 ,0.108695 ,0.091566 ,0.122643 ,0.191056 ,0.348797 ],[0.174465 ,0.389274 ,0.516569 ,0.465993 ,0.387021 ,0.519749 ,0.419821 ,0.477703 ,0.361081 ,0.305667 ,0.184960 ,0.393022 ,0.399465 ,0.463963 ,0.374665 ,0.283143 ],[0.058857 ,0.073886 ,0.174995 ,0.297020 ,0.402353 ,0.341389 ,0.392286 ,0.817935 ,0.671790 ,0.588104 ,0.269241 ,0.123311 ,0.108506 ,0.053220 ,0.152530 ,0.450845 ],[0.599797 ,0.395826 ,0.408305 ,0.360894 ,0.430144 ,0.471416 ,0.451922 ,0.098626 ,0.212980 ,0.342838 ,0.267262 ,0.267610 ,0.315952 ,0.405731 ,0.271931 ,0.326099 ],[0.371065 ,0.297366 ,0.188641 ,0.299006 ,0.186857 ,0.148412 ,0.183861 ,0.255424 ,0.199003 ,0.104360 ,0.273350 ,0.418052 ,0.709207 ,0.718822 ,0.658897 ,1.000000 ],[0.453122 ,0.419402 ,0.373636 ,0.357012 ,0.242630 ,0.083237 ,0.169196 ,0.292445 ,0.102939 ,0.459106 ,0.534112 ,0.528832 ,0.318262 ,0.298056 ,0.055347 ,0.413309 ]],"samp_fft":[0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ]}
{"EbNodB": -6.81, "ppm": -141, "f1_est":2648.4, "f2_est":4523.4, "f3_est":5226.6, "f4_est":9017.6, "eye_diagram":[[0.000000 ,0.000000 ,0.255429 ,0.301617 ,0.245132 ,0.339059 ,0.206720 ,0.393129 ,0.476489 ,0.349538 ,0.423607 ,0.501667 ,0.383125 ,0.308721 ,0.397632 ,0.576543 ],[0.341679 ,0.349709 ,0.403784 ,0.476496 ,0.447309 ,0.318926 ,0.344677 ,0.279600 ,0.376874 ,0.477492 ,0.324944 ,0.385153 ,0.121842 ,0.354419 ,0.259086 ,0.305708 ],[0.221281 ,0.164539 ,0.295059 ,0.105687 ,0.254999 ,0.391215 ,0.406853 ,0.249097 ,0.306927 ,0.242673 ,0.442670 ,0.642111 ,0.343952 ,0.181540 ,0.354631 ,0.218699 ],[0.409692 ,0.397888 ,0.481236 ,0.404222 ,0.502032 ,0.500268 ,0.442368 ,0.251367 ,0.332182 ,0.197168 ,0.190783 ,0.095429 ,0.245317 ,0.280568 ,0.332197 ,0.125661 ],[0.406543 ,0.320012 ,0.343319 ,0.428350 ,0.322451 ,0.308173 ,0.277233 ,0.346647 ,0.254929 ,0.169610 ,0.322802 ,0.320104 ,0.111270 ,0.214170 ,0.040004 ,0.197963 ],[0.356681 ,0.416024 ,0.310319 ,0.504406 ,0.442678 ,0.481751 ,0.243265 ,0.209102 ,0.136960 ,0.141896 ,0.062989 ,0.127173 ,0.419456 ,0.515613 ,0.536231 ,0.568279 ],[0.295150 ,0.158405 ,0.369181 ,0.560372 ,0.623290 ,0.766392 ,1.000000 ,0.911514 ,0.707897 ,0.715865 ,0.619266 ,0.411602 ,0.225112 ,0.257406 ,0.370366 ,0.348640 ],[0.019521 ,0.264986 ,0.167398 ,0.364538 ,0.284154 ,0.236198 ,0.260841 ,0.356240 ,0.425868 ,0.199926 ,0.129260 ,0.369508 ,0.338763 ,0.244190 ,0.318045 ,0.330793 ]],"samp_fft":[0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ]}
{"EbNodB": -6.72, "ppm": -141, "f1_est":2584.0, "f2_est":3375.0, "f3_est":9017.6, "f4_est":9580.1, "eye_diagram":[[0.170286 ,0.021531 ,0.055845 ,0.164813 ,0.118147 ,0.406094 ,0.374912 ,0.334801 ,0.342669 ,0.395382 ,0.399022 ,0.408253 ,0.298527 ,0.568818 ,0.691611 ,0.549955 ],[0.234687 ,0.202548 ,0.318637 ,0.405263 ,0.263381 ,0.139531 ,0.292742 ,0.216827 ,0.161227 ,0.080890 ,0.194516 ,0.218175 ,0.210611 ,0.251364 ,0.462086 ,0.550883 ],[0.531440 ,0.875895 ,0.843576 ,0.611105 ,0.372181 ,0.220902 ,0.239507 ,0.401445 ,0.389879 ,0.061547 ,0.086522 ,0.147974 ,0.349602 ,0.612085 ,0.541461 ,0.460032 ],[0.278310 ,0.207896 ,0.139757 ,0.415173 ,0.603180 ,0.341833 ,0.403320 ,0.443804 ,0.337342 ,0.196964 ,0.313157 ,0.043179 ,0.229863 ,0.334474 ,0.376315 ,0.433162 ],[0.424772 ,0.300670 ,0.139090 ,0.216065 ,0.176843 ,0.347726 ,0.368336 ,0.289696 ,0.392606 ,0.404157 ,0.349665 ,0.150636 ,0.223035 ,0.253137 ,0.228726 ,0.398549 ],[0.628311 ,0.534956 ,0.537750 ,0.355484 ,0.380056 ,0.413206 ,0.517993 ,0.398798 ,0.269478 ,0.153729 ,0.110566 ,0.084684 ,0.189726 ,0.290161 ,0.465502 ,0.320065 ],[0.749537 ,0.646336 ,0.732802 ,0.757184 ,0.630104 ,0.471373 ,0.446900 ,0.423266 ,0.402041 ,0.433285 ,0.490571 ,0.587934 ,0.769716 ,0.634577 ,0.368507 ,0.390721 ],[0.836006 ,1.000000 ,0.900275 ,0.815631 ,0.786147 ,0.752525 ,0.584344 ,0.602704 ,0.502103 ,0.578427 ,0.475242 ,0.346672 ,0.278428 ,0.141237 ,0.292666 ,0.255111 ]],"samp_fft":[0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ]}
{"EbNodB": -6.27, "ppm": -141, "f1_est":2584.0, "f2_est":6902.3, "f3_est":8712.9, "f4_est":10464.8, "eye_diagram":[[0.476317 ,0.275579 ,0.366152 ,0.370909 ,0.239597 ,0.178765 ,0.325885 ,0.346900 ,0.448213 ,0.529548 ,0.586187 ,0.772999 ,0.699707 ,0.583355 ,0.605822 ,0.529766 ],[0.496767 ,0.525615 ,0.555923 ,0.533981 ,0.614983 ,0.843468 ,0.650071 ,0.664186 ,0.555753 ,0.363290 ,0.283481 ,0.288401 ,0.346878 ,0.520256 ,0.556063 ,0.436211 ],[0.810819 ,0.598449 ,0.640751 ,0.605863 ,0.581914 ,0.252469 ,0.298833 ,0.065769 ,0.271140 ,0.067239 ,0.316395 ,0.348418 ,0.449582 ,0.199534 ,0.110213 ,0.142444 ],[0.445683 ,0.268963 ,0.136353 ,0.282212 ,0.222777 ,0.336386 ,0.356532 ,0.463938 ,0.695895 ,0.553675 ,0.351953 ,0.202804 ,0.369803 ,0.186749 ,0.140883 ,0.413757 ],[0.526043 ,0.381182 ,0.313901 ,0.183693 ,0.245963 ,0.152769 ,0.051922 ,0.072239 ,0.457423 ,0.390828 ,0.368433 ,0.026431 ,0.229163 ,0.335864 ,0.328681 ,0.134384 ],[0.274871 ,0.335628 ,0.314401 ,0.598613 ,0.434190 ,0.566047 ,0.711776 ,0.580377 ,0.476930 ,0.463175 ,0.439812 ,0.359389 ,0.327856 ,0.445377 ,0.368679 ,0.449684 ],[0.458906 ,0.414628 ,0.539664 ,0.697331 ,0.442991 ,0.446595 ,0.507546 ,0.620876 ,0.496343 ,0.576682 ,0.443906 ,0.416333 ,0.593155 ,0.483367 ,0.627419 ,0.469528 ],[0.786517 ,1.000000 ,0.819572 ,0.869662 ,0.753979 ,0.624542 ,0.468053 ,0.355886 ,0.145346 ,0.130984 ,0.393044 ,0.310905 ,0.330283 ,0.117866 ,0.218061 ,0.304790 ]],"samp_fft":[0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ,0.000000 ]}
Last line generate caught signal pi@Roof:~/horusdemodlib$ ./start_rtlsdr.sh
Found horus_demod.
Found bc.
Entering venv.
Using SDR Centre Frequency: 437594000 Hz.
Using FSK estimation range: 1000 - 11000 Hz
Using AGC.
./start_rtlsdr.sh: line 103: 6170 Illegal instruction (core dumped) python -m horusdemodlib.uploader --freq_hz $SDR_RX_FREQ --freq_target_hz $RXFREQ $@
pi@Roof:~/horusdemodlib$
|
So it sees like it's the python code itself? That's very odd if that's the case. What happens if you just run:
(noting you will need to enter your venv first. |
Now something more understand :) (venv) pi@Roof:~/horusdemodlib$ python -m horusdemodlib.uploader
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/pi/horusdemodlib/horusdemodlib/uploader.py", line 17, in <module>
from .habitat import *
File "/home/pi/horusdemodlib/horusdemodlib/habitat.py", line 12, in <module>
import requests
ModuleNotFoundError: No module named 'requests'
|
Sounds like your venv might not be setup with all of the required libraries then? |
Venv look up to date: (venv) pi@Roof:~/horusdemodlib$ sudo apt-get install cmake build-essential libusb-1.0-0-dev git python3-venv python3-crcmod python3-requests python3-pip sox bc rtl-sdr libatlas-base-dev libopenblas-dev
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
bc is already the newest version (1.07.1-2).
build-essential is already the newest version (12.4ubuntu1).
libusb-1.0-0-dev is already the newest version (2:1.0.21-2).
libatlas-base-dev is already the newest version (3.10.3-5).
libopenblas-dev is already the newest version (0.2.20+ds-4).
python3-crcmod is already the newest version (1.7-2build4).
rtl-sdr is already the newest version (0.5.3-13).
cmake is already the newest version (3.10.2-1ubuntu2.18.04.2).
git is already the newest version (1:2.17.1-1ubuntu0.18).
python3-requests is already the newest version (2.18.4-2ubuntu0.1).
python3-pip is already the newest version (9.0.1-2.3~ubuntu1.18.04.8).
python3-venv is already the newest version (3.6.7-1~18.04).
sox is already the newest version (14.4.2-3ubuntu0.18.04.3).
Następujące pakiety zostały zainstalowane automatycznie i nie są już więcej wymagane:
apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin dpkg-repack gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 kde-window-manager kinit kio kpackagetool5 kwayland-data kwin-common kwin-data kwin-x11
libdebian-installer4 libkdecorations2-5v5 libkdecorations2private5v5 libkf5activities5 libkf5attica5 libkf5completion-data libkf5completion5 libkf5declarative-data libkf5declarative5 libkf5doctools5
libkf5globalaccel-data libkf5globalaccel5 libkf5globalaccelprivate5 libkf5idletime5 libkf5jobwidgets-data libkf5jobwidgets5 libkf5kcmutils-data libkf5kcmutils5 libkf5kiocore5 libkf5kiontlm5 libkf5kiowidgets5
libkf5newstuff-data libkf5newstuff5 libkf5newstuffcore5 libkf5package-data libkf5package5 libkf5plasma5 libkf5quickaddons5 libkf5solid5 libkf5solid5-data libkf5sonnet5-data libkf5sonnetcore5 libkf5sonnetui5
libkf5textwidgets-data libkf5textwidgets5 libkf5waylandclient5 libkf5waylandserver5 libkf5xmlgui-bin libkf5xmlgui-data libkf5xmlgui5 libkscreenlocker5 libkwin4-effect-builtins1 libkwineffects11 libkwinglutils11
libkwinxrenderutils11 libqgsttools-p1 libqt5designer5 libqt5help5 libqt5multimedia5 libqt5multimedia5-plugins libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5opengl5 libqt5quickwidgets5 libqt5sql5
libqt5test5 libxcb-composite0 libxcb-cursor0 libxcb-damage0 python3-dbus.mainloop.pyqt5 python3-icu python3-pam python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.qtwebkit qml-module-org-kde-kquickcontrolsaddons
qml-module-qtmultimedia qml-module-qtquick2 rdate tasksel tasksel-data
Aby je usunąć należy użyć "sudo apt autoremove".
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.
(venv) pi@Roof:~/horusdemodlib$
|
Read the instructions here please: https://github.com/projecthorus/horusdemodlib/wiki/1.2--Raspberry-Pi-'Headless'-RX-Guide#25-installing-the-horusdemodlib-python-library You need to be using pip to get the required packages available within the venv... |
That goes acc. to tutorial but without efect: pi@Roof:~/horusdemodlib$ python3 -m venv venv
pi@Roof:~/horusdemodlib$ . venv/bin/activate
(venv) pi@Roof:~/horusdemodlib$ pip install -r requirements.txt
Requirement already satisfied: requests in ./venv/lib/python3.6/site-packages (from -r requirements.txt (line 1)) (2.27.1)
Requirement already satisfied: crcmod in ./venv/lib/python3.6/site-packages (from -r requirements.txt (line 2)) (1.7)
Requirement already satisfied: numpy in ./venv/lib/python3.6/site-packages (from -r requirements.txt (line 3)) (1.19.5)
Requirement already satisfied: python-dateutil in ./venv/lib/python3.6/site-packages (from -r requirements.txt (line 4)) (2.9.0.post0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./venv/lib/python3.6/site-packages (from requests->-r requirements.txt (line 1)) (1.26.19)
Requirement already satisfied: idna<4,>=2.5 in ./venv/lib/python3.6/site-packages (from requests->-r requirements.txt (line 1)) (3.7)
Requirement already satisfied: charset-normalizer~=2.0.0 in ./venv/lib/python3.6/site-packages (from requests->-r requirements.txt (line 1)) (2.0.12)
Requirement already satisfied: certifi>=2017.4.17 in ./venv/lib/python3.6/site-packages (from requests->-r requirements.txt (line 1)) (2024.7.4)
Requirement already satisfied: six>=1.5 in ./venv/lib/python3.6/site-packages (from python-dateutil->-r requirements.txt (line 4)) (1.16.0)
(venv) pi@Roof:~/horusdemodlib$ pip install horusdemodlib
Requirement already satisfied: horusdemodlib in ./venv/lib/python3.6/site-packages (0.3.13)
Requirement already satisfied: python-dateutil<3.0,>=2.8 in ./venv/lib/python3.6/site-packages (from horusdemodlib) (2.9.0.post0)
Requirement already satisfied: numpy<2.0,>=1.17 in ./venv/lib/python3.6/site-packages (from horusdemodlib) (1.19.5)
Requirement already satisfied: requests<3.0.0,>=2.24.0 in ./venv/lib/python3.6/site-packages (from horusdemodlib) (2.27.1)
Requirement already satisfied: crcmod<2.0,>=1.7 in ./venv/lib/python3.6/site-packages (from horusdemodlib) (1.7)
Requirement already satisfied: six>=1.5 in ./venv/lib/python3.6/site-packages (from python-dateutil<3.0,>=2.8->horusdemodlib) (1.16.0)
Requirement already satisfied: charset-normalizer~=2.0.0 in ./venv/lib/python3.6/site-packages (from requests<3.0.0,>=2.24.0->horusdemodlib) (2.0.12)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./venv/lib/python3.6/site-packages (from requests<3.0.0,>=2.24.0->horusdemodlib) (1.26.19)
Requirement already satisfied: idna<4,>=2.5 in ./venv/lib/python3.6/site-packages (from requests<3.0.0,>=2.24.0->horusdemodlib) (3.7)
Requirement already satisfied: certifi>=2017.4.17 in ./venv/lib/python3.6/site-packages (from requests<3.0.0,>=2.24.0->horusdemodlib) (2024.7.4)
(venv) pi@Roof:~/horusdemodlib$
|
... then I am extremely confused why requests isn't found when you run the I'd suggest removing the venv directory and starting that again... |
Hi!
Today i try to install horus on Jetson Nano.
Os Ubuntu
Instalation was proceed without problem but problem is with start
I give log as below and i cannot find core that problem
`(venv) pi@Roof:~/horusdemodlib$ ./start_rtlsdr.sh
Found horus_demod.
Found bc.
Entering venv.
Using SDR Centre Frequency: 437594000 Hz.
Using FSK estimation range: 1000 - 11000 Hz
Using AGC.
Setting estimator limits to 1000 to 11000 Hz.
Found 1 device(s):
0: Nooelec, NESDR SMArt v5, SN: 00000001
Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Tuner gain set to automatic.
Tuned to 437978000 Hz.
Oversampling input by: 32x.
Oversampling output by: 1x.
Buffer size: 5.33ms
Sampling at 1536000 S/s.
Output at 48000 Hz.
Signal caught, exiting!
User cancel, exiting...$RXFREQ $ @
./start_rtlsdr.sh: line 100: 6603 Done rtl_fm -M raw -F9 -d $SDR_DEVICE -s 48000 -p $PPM $GAIN_SETTING$BIAS_SETTING -f $SDR_RX_FREQ
6604 Broken pipe | $DECODER -q --stats=5 -g -m binary --fsk_lower=$FSK_LOWER --fsk_upper=$FSK_UPPER - -
6605 Illegal instruction (core dumped) | python3 -m horusdemodlib.uploader --freq_hz $SDR_RX_FREQ --freq_target_hz
`
The text was updated successfully, but these errors were encountered: