Hey
I am trying to get RTKLIB (to be precise RTKRCV the Real-Time Positioning App in the Comand Line) working on a Raspberry Pi2. In a first step I like to achieve a Single Solution with an Ublox m8n EVK which is connected over USB to the Rpy2 with gps only.
My setup is based on the Ubuntu 14.10 / Linaro 15.01 image
http://www.raspberrypi.org/forums/viewtopic.php?t=98997
Because I need some other packages I added raspbian jessie main package source:
Edit /etc/apt/sources.list and add the line:
deb Index of /raspbian/ jessie main
Update the Apt cache (to find nr of missing key):
$ sudo apt-get update
Add public key
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <key_nr>
Update apt cache again
$ sudo apt-get update
Then I downloaded the RTKLIB with
git clone GitHub - tomojitakasu/RTKLIB
In the folder app/rtkrcv/gcc I edited the makefile
I just add a CTARGET line for rpy2
CTARGET=-march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard
and compiled with gcc 4.9.2 (Raspbian 4.9.2-10)
Then I copied the binary rtkrcv to a new created folder bin_rpy2 at the same level as the folder app bin brd data doc lib
I started with the config file from emlid
https://github.com/emlid/RTKLIB/blob/master/bin-rpi/rover-single.conf
I just edited Line 7 change from “spi” to “serial”
Line 10 from “/dev/spidev0.0” to “/dev/ttyACM1:115200:8:n:1:off”
EDIT: correct is “ttyACM1:115200:8:n:1:off”
Line 39 from “…/data/ubx_spi_raw_5hz.cmd” to “…/data/ubx_m8n_glo_raw_1hz.cmd”
The rest I didn’t touch.
The modified rover-single.conf file is also located in the bin_rpy2 folder.
I now start rtkrcv with:
$…/rtkrcv -s -o ./rover-single.conf
I then get:
“invalid option value pos1-snrmask (./rover-single.conf:46)
no navigation data: rtkrcv.nav
rtk server start error”
Does anybody have some suggestions, ideas how to solve these errors?
Stefan