How-to Get VRS-Like Coverage Map on RPi

hi my setup for windoze and rpi3 (B+). getting input from Planeplotter 30303.
broken down command line for readability’s sake.
must not use - (dash) as program tries to interpret it as command. so ADS_B is ok but ADS-B is error…
underscore (_) is prefered.

for windoze mm2.bat

@echo off
rem avoids all in a single line...

echo ------------------------------------------------------------------
echo      web 8899
echo      ports avrmlat 7887, avr 7880, beast 31013, globe-s 31008
echo ------------------------------------------------------------------
echo .

cmd /c modesmixer2.exe ^
--inConnectId 192.168.1.9:30303:PPlotter ^
--location 37.8:23.8 ^
--web 8899 ^
--google-key xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ^
--add-reference-point 37.92414:23.74664:z ^
--add-points 40.5:19:[fir] 40:19:[2] 39:19:[3] 38:19:[4] 37.4:19:[lorno] 36.9667:19:[belix] 36.5:19:[fir] ^
--frdb C:\db\flightroute.sqb ^
--silhouettes C:\db\silhouettes ^
--pictures C:\db\pictures ^
--db C:\db\basestation.sqb ^
--filter-count 6 ^
--filter-time 60 ^
--filter-nocountry 0 ^
--filter-ic 0 ^
--outServer avrmlat:7887 ^
--outServer avr:7880 ^
--outServer beast:31013 ^
--globes 31008:table2:vm

PAUSE
exit

for rpi mm2.sh

# avoids all in a single line...
# create xdeco folder under / main folder. paste there modesmixer files. create the /db etc.
# getting a google key helps... replace xxx below with key.

/xdeco/modesmixer2 \
--inConnectId 192.168.1.9:30303:PPlotter \
--location 37.8:23.8 \
--web 8899 \
--google-key xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \
--add-reference-point 37.92414:23.74664:z \
--add-points 40.5:19:[fir] 40:19:[2] 39:19:[3] 38:19:[4] 37.4:19:[lorno] 36.9667:19:[belix] 36.5:19:[fir] \
--frdb /xdeco/db/flightroute.sqb \
--silhouettes /xdeco/db/silhouettes \
--pictures /xdeco/db/pictures \
--db /xdeco/db/basestation.sqb \
--filter-count 6 \
--filter-time 60 \
--filter-nocountry 0 \
--filter-ic 0 \
--outServer avrmlat:7887 \
--outServer avr:7880 \
--outServer beast:31013 \
--globes 31008:table2:vm &

HTH
evangel

1 Like

Noted that using port 30106 for MLAT results in display (see screenshot below) keeps on switching from MLAT to ADS-B and back to MLAT.

Using 30105 overcomes this problem

Updated in the first post
--inConnectId 127.0.0.1:30105:MLAT

.

1 Like

Noticed that for MLAT (green) planes, Source ID still keeps on switching from MLAT to ADS-B and back.

Based on @evangelyul 's advice, changed
--inConnectId 127.0.0.1:30005:ADS-B
to
--inConnectId 127.0.0.1:30005:ADSB

i.e. Removed dash (-) from ADS-B to make it ADSB.

Repeated switching stopped, at least for now.
Will keep an eye to see if it is a permanent solution.

Correction made in post #1 also

1 Like

Thank you. I have been Googling a plotter and your notes worked first time.

1 Like

I get this error and I can’t find the package.
I’ts on a rpi B+ with stretch

/home/pi/mm2/./modesmixer2_rpi1: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

Any ideas?

try

sudo apt-get update
sudo apt-get install libssl.so.1.0.0

Edit:
Actually I have tried Pi1 version on B+ with Jessie , not Stretch. The Pi1 version of ModeSMixer2 is for Wheezy, which luckily worked on Jessie.

I will shortly try it on B+ with Stretch, by burning a microSD card with Stretch.

1 Like

Tried that it Will give this

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libssl.so.1.0.0
E: Couldn't find any package by glob 'libssl.so.1.0.0'
E: Couldn't find any package by regex 'libssl.so.1.0.0'

I hope it Will be possible to just correct it, because the rpi is on a remote location, So I’d rather don’t want to create another SD card :slight_smile:

1 Like

check following, might work for you. not tested as using jessie…

[ModeSDeco2 and ModeSMixer2 - console programs for RTLSDR and transcoding]

for the libssl try

sudo apt-get install openssl

still waiting update from Sergsero ref stretch !

1 Like

Well that solved the first error :slight_smile:

However now I get

./mm2.sh: line 1: 15619 Illegal instruction /home/pi/mm2/./modesmixer2_rpi1 --inConnectId 127.0.0.1:30005:ADSB --inConnectId 127.0.0.1:30106:MLAT --web 8787 --location 52.1999:4.3978

Tried with sudo, but then also illegal instruction

OpenSSL was already the newest version

1 Like

did you try the jessie version Sep 2017 ?
maybe this will work.
but like I said we all wait for Sergsero…:grinning:

ed1. sometimes you get a line error but program still works…

ed2 /home/pi/mm2/modesmixer2… NOT /home/pi/mm2/./ etc…
use ./filename only when in the same directory with file.

1 Like

@katwijk
@evangelyul

Pi B+ With Stretch: FAILED Even After Workaround

pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"

.

pi@raspberrypi:~/mm2 $ cat mm2.sh

/home/pi/mm2/modesmixer2_rpi1 \
  --inConnectId 127.0.0.1:30005:ADSB \
  --inConnectId 127.0.0.1:30105:MLAT \
  --web 8787 \
  --location 43.5:-79.6 \

.

pi@raspberrypi:~/mm2 $ ./mm2.sh
/home/pi/mm2/modesmixer2_rpi1: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

.

pi@raspberrypi:~/mm2 $ sudo apt-get install libssl1.0.0
.... .... ....
Package libssl1.0.0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'libssl1.0.0' has no installation candidate

.

pi@raspberrypi:~/mm2 $ sudo wget http://ftp.nl.debian.org/debian/pool/main/o/openssl/libssl1.0.0_1.0.2l-1~bpo8+1_armhf.deb

pi@raspberrypi:~/mm2 $ sudo dpkg -i libssl1.0.0_1.0.2l-1~bpo8+1_armhf.deb
..... ...... ......
Unpacking libssl1.0.0:armhf (1.0.2l-1~bpo8+1) ...
Setting up libssl1.0.0:armhf (1.0.2l-1~bpo8+1) ...

.

pi@raspberrypi:~/mm2 $ ./modesmixer2_rpi1 --inConnect 127.0.0.1:30005
Illegal instruction

.

pi@raspberrypi:~/mm2 $ sudo apt-get install libssl-dev
.... .... ....
Setting up libssl-dev:armhf (1.1.0f-3+deb9u1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up libssl-doc (1.1.0f-3+deb9u1) ...

.

pi@raspberrypi:~/mm2 $ ./modesmixer2_rpi1 --inConnect 127.0.0.1:30005
Illegal instruction

pi@raspberrypi:~/mm2 $ sudo reboot

pi@raspberrypi:~/mm2 $ ./mm2.sh
./mm2.sh: line 6: 14400 Illegal instruction /home/pi/mm2/modesmixer2_rpi1 --inConnectId 127.0.0.1:30005:ADSB --inConnectId 127.0.0.1:30105:MLAT --web 8787 --location 43.5:-79.6

pi@raspberrypi:~/mm2 $ ./modesmixer2_rpi1 --inConnect 127.0.0.1:30005
Illegal instruction

.

hi abcd
did you try it on your Ubuntu machine ? trying to setup a Debian VM now and will adv.
however dont know about pi, as i still use jessie.
brgds evangel

@evangelyul

On my Desktop (Intel® Core™2 Duo CPU E8400 @ 3.00GHz × 2 )
Ubuntu 16.04 64-bit
ModeSMixer2 (modesmixer2_x86_64_20170924.tgz)

1 Like

@abcd567
@evangelyul

Yep, this is the same I get.
My Linux knowledge doesn’t go far enough to look for a fix :wink:

So I gues I just wait and hope someone finds a solution.
Thanks for the help :slight_smile:

@katwijk
Meanwhile, pending solution for Stretch on B+, you can burn a spare microSD card with Jessie image or Piaware SD card image (which is also Jessie) and use it with your Pi B+. This combination works OK with modesmixer2_rpi1.

1 Like

ok mm2 v Sep/2017 works in vbox VM debian 9. however impossible so far to run it under qemu arm-VM
due lack of another rpi.
strange thing is that libssl.1.1.0 exist in /usr/lib/arm-linux-gnueabihf/

guess waiting is in order…

1 Like

New version of modesmixer2 now available including some versions for Deb9

1 Like

I know its an old thread, but Im upgrading my B+ to a 3 this week (its on the way) and wonder what course of action for upgrading you would recommend. 3 should run the B+ SD card just fine.

hhmmm…
on my rpi2 (with jessie) I installed as described and my mm2.sh looks this way

/home/pi/mm2/modesmixer2
–inConnectId 127.0.0.1:30005:ADSB
–inConnectId 127.0.0.1:30106:MLAT
–web 8787
–location (mylat:long) \

it works, but it takes some time till MLAT a/c are coming up … be patiently and wait
(I installed all the stuff several times, but every time no MLAT showed up)

Hopefully when you slip your B+ microSD card in Pi3 and power up, it should work ok, but I am not sure as I never tried it (dont have Pi3, have only Pi B+ and Pi2). You will know when you try it.

I am sure of one thing: your modesmixer2 install for B+ is not going to work in Pi3. You have to delete the mm2 folder with its contents by following command:

sudo rm -rf mm2

Afrer deleting mm2 folder, make a fresh install of modesmixer2 using method described for Pi2/3