Tetra decoding

Status
Not open for further replies.

grahampaull

Member
Joined
May 31, 2013
Messages
127
Reaction score
2
Has anyone written a simple script to launch the various xterm windows and commands for this that they could share? Id be very grateful. Please pm or email direct if that's more convenient. TIA

Jim


Yeah, something like this would be great, I tried putting something together but my skills are not up to scratch yet. In saying that, I have all my commands in a notepad where I can copy and paste quickly, I can have telive up and running in a few seconds and keep in mind that terminal has a history, open terminal and press the UP arrow to scroll through previously used commands.


Sent from my iPhone using Tapatalk
 

welshevo

Member
Joined
Jun 13, 2013
Messages
18
Reaction score
1
Morning all sorry to butt in half way but i recently installed Kali 1.0.10 running in a VM on my quad core xeon server, all appears ok, GNU installed, the various installs from the Git hub seemed to have problems how ever all the files etc are there and appear to work except for Telive....when i run ./rxx it says permission denied? but im logged in as root? also when i load the blocks in GNU and press run there is no FFT window at all? what am i doing wrong? everything else appears to be wanting to work?

any hints or tips would be much appreciated

thanks folks!
 

racingfan360

Member
Joined
Dec 19, 2005
Messages
1,217
Reaction score
248
i think this would be a bad idea, but this is only my opinon.

please if someone publishes such a script, then make it idiotproof, and write everywhere that if this software doesn't work, then the user should try to run it as described in the manual.

OK I'm just looking for some help....I did ask if anyone could help they email or pm me. My Linux skills are OK but I'm really looking for a base script to start with. Would appreciate anyone who could help me.....I do likewise where I can.

Jim
 

hansheesbeen

Member
Joined
Jul 30, 2010
Messages
55
Reaction score
0
Location
Tilburg, NL
ive made some .sh files, it won 't be a nice clean and steady solution but it works for me...

START.SH:

#!/bin/bash
clear
echo Starting up Receiver
gnome-terminal -e "./start1.sh"
echo Starting up Telive
sleep 3
gnome-terminal -e "./start2.sh"
echo Starting up TetraDecoder
sleep 3
gnome-terminal -e "./start3.sh"
echo Starting up GNU-Radio
sleep 3
gnuradio-companion

START1.SH:

#!/bin/bash
clear
echo Starting Receiver 1...
cd ~

cd osmo-tetra-sq5bpf
cd src
./receiver1 1

START2.SH:

#!/bin/bash
/usr/bin/xterm -geometry 203x60 -fullscreen -font fixed -bg black -fg white -e "cd telive && ./rxx"

START3.SH:

#!/bin/bash
clear
echo Starting TETRAD...
cd ~

cd /tetra/bin
./tetrad

In GNU-Radio you need to start the fft

That's my simple solution, again... this works for me and it's not foolproof...
 

hansheesbeen

Member
Joined
Jul 30, 2010
Messages
55
Reaction score
0
Location
Tilburg, NL
And a short version with no waranty:

#!/bin/bash
clear
echo Starting up Receiver
/usr/bin/xterm -e "cd ~ && cd osmo-tetra-sq5bpf && cd src && ./receiver1 1 " &
echo Starting up Telive
sleep 2
/usr/bin/xterm -geometry 203x60+0+0 -fullscreen -font fixed -bg black -fg white -e "cd telive && ./rxx" &
echo Starting up TetraDecoder
sleep 2
/usr/bin/xterm -e "cd ~ && cd /tetra/bin && ./tetrad" &
echo Starting up GNU-Radio
sleep 1
python top_block.py
 

sq5bpf

Member
Joined
Jan 23, 2014
Messages
517
Reaction score
15
see, this what i meant. these scripts are written by people who can't even use the cd command correctly (use 3 cd commands in a row, when they could be using one), perform no error checking etc.

the problem is that the users which will have a bit of trouble remembering 3 simple commands will have much more trouble trying to use such scripts. also it will force people into one way of thinking about this software.
 

sq5bpf

Member
Joined
Jan 23, 2014
Messages
517
Reaction score
15
Thats what i write... not an good solution but it works

sure. but please write a big fat disclaimer that if it doesn't work for someone they should read the manual.

also please rethink your script. for example what is the purpose of cd ~ && cd /tetra/bin ? :)
looks like a cut/paste of the shell history, without giving much thought to what these commands do.

i would also drop the sleeps and do proper checking if the processes really launched. remember that some people are trying to run this under a virtual machine under windows, and that can be really sloooooow.
 

hansheesbeen

Member
Joined
Jul 30, 2010
Messages
55
Reaction score
0
Location
Tilburg, NL
Cd~ dont do anything there but write it at 4 am with a sleepy head. The slowy thing haven't tought about that process checking is indeed better...
 

racingfan360

Member
Joined
Dec 19, 2005
Messages
1,217
Reaction score
248
Thanks for the pointers/scripts....with some local modifications and keyboard shortcuts I can now launch into this in a fraction of the time. The ability to set the config settings for the telive rxx window is very helpful too.
 

sq5bpf

Member
Joined
Jan 23, 2014
Messages
517
Reaction score
15
a new version is out, please update osmo-tetra-sq5bpf and telive.

this adds some preliminary support for two protocols used for location: LIP (location information protocol) and Location System (should decode text if the message is NMEA-formated). it doesn't do Simple Location System for now

please try it out. i would love to have samples from telive.log, both the ones which decode correctly, and the ones which don't. if you send me samples, then please send me the approximate lattitude/longtitude , it doesn't have to be precise, within 50km is ok, i just need to have an idea if the decoded position is plausible.
 

grahampaull

Member
Joined
May 31, 2013
Messages
127
Reaction score
2
a new version is out, please update osmo-tetra-sq5bpf and telive.



this adds some preliminary support for two protocols used for location: LIP (location information protocol) and Location System (should decode text if the message is NMEA-formated). it doesn't do Simple Location System for now



please try it out. i would love to have samples from telive.log, both the ones which decode correctly, and the ones which don't. if you send me samples, then please send me the approximate lattitude/longtitude , it doesn't have to be precise, within 50km is ok, i just need to have an idea if the decoded position is plausible.


Excellent, I look forward to trying this out.. Been a while since I fired this up so I'll dig out the dongle and give this a go.. Thanks for the continued updates, fixes and changes.


Sent from my iPhone using Tapatalk
 

welshevo

Member
Joined
Jun 13, 2013
Messages
18
Reaction score
1
Error message??

hey all ive installed a clean install of mint i was able to run all the commands in terminal with no problem....and after a few reboots i now get this error?

ads@ads-HP-550 ~/osmo-tetra-sq5bpf/src $ cd ~/osmo-tetra-sq5bpf/src
ads@ads-HP-550 ~/osmo-tetra-sq5bpf/src $ ./receiver1 1
Traceback (most recent call last):
File "demod/python/simdemod2.py", line 18, in <module>
import osmosdr
File "/usr/local/lib/python2.7/dist-packages/osmosdr/__init__.py", line 45, in <module>
from osmosdr_swig import *
File "/usr/local/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py", line 28, in <module>
_osmosdr_swig = swig_import_helper()
File "/usr/local/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py", line 24, in swig_import_helper
_mod = imp.load_module('_osmosdr_swig', fp, pathname, description)
ImportError: /usr/local/lib/libgnuradio-osmosdr-0.0.3git.so.0.0.0: undefined symbol: _ZN3uhd6device4findERKNS_13device_addr_tENS0_15device_filter_tE


any suggestions?

the only thing i did after installing everything was install GQRX SDR but that didnt seem to cause to much of an issue? or has it?

anyone???
 

grahampaull

Member
Joined
May 31, 2013
Messages
127
Reaction score
2
That happens when I install GQRX also. Try uninstalling to see if that helps.


Sent from my iPhone using Tapatalk
 

welshevo

Member
Joined
Jun 13, 2013
Messages
18
Reaction score
1
ive uninstalled GQRX and rebooted machine but still getting that error! arghhhhhhh!
 
Status
Not open for further replies.
Top