[FOSS-GPS] RTKlib help pls
John Ackermann N8UR
jra at febo.com
Tue Nov 19 06:27:37 PST 2019
So it's still hanging somewhere in space...
The Linux version uses the qt graphics libraries so is more than a
simple OS port from the Windows version. There are so many difference
that a diff ends up being many megabytes. That makes it a little
challenging to keep things up to date.
I bit the bullet and put my 2.4.3b31 version on github:
https://github.com/n8ur/rtklib-n8ur. While it includes the Debian
packaging stuff, the actual code should build on any Linux system with
the prereqs installed. At some point, I'll update it for b32.
I needed to update beyond the 2.4.3b8 version that's in the Debian repos
because a bunch of features supporting precision time measurement that I
needed were added after beta 8. So I took the existing Debian source of
b8, made the updates to match b31, then did some tweaking on the config
One big problem with the Debian 2.4.3b8 is that the auto-generated
config files are stored in the executable directory, which doesn't work
since the executable is in something like /usr/bin where a regular user
doesn't have write privileges, so the config file was never saved. I
changed that so the files in stored in $HOME/.<executable_filename>.conf.
Also note that rrknavi_qt has two independent config file mechanisms!
There's one that's auto-generated, and a different, incompatible-format
one that is created when you use the button to "save" the config.
Here's a description of how the config files work under my version:
Under Linux, the RTKLIB programs store their configuration in
The location and name of the configuration file may be overridden via
the -i switch on the command line.
In the GUI programs (ones with "_qt" at the end or their names, the
.conf file is normally created on exit whenever the program state
is changed via command inputs, changing window size, etc., and is
automatically read upon program startup.
If you wish to run multiple instances of a program, you can do so by
manually editing and renaming the .conf file, then using the -i switch
at runtime. However, you can also store independent configurations by
copying the executable with a different name. For example, if you wish
to run two instances of rtknavi_qt, making a copy named "rtknavi_qt-2"
will create $HOME/.rtlnavi_qt-2.conf which will be read when that copy
of the program is executed.
SPECIAL NOTE ABOUT rtknavi_qt:
This program has two independent and incompatible configuration mechanisms.
First, it will create and update a .conf file as described above.
Second, "Options" dialog buttons allow saving and loading an options
file. The files created by Options/Save and read by Options/Load
ARE NOT COMPATIBLE WITH THE AUTOMATICALLY GENERATED .CONF FILES
DESCRIBED ABOVE. Files created with Options/Save can ONLY be
read via Options/Load.
The -i command line switch in rtknavi_qt works only with .conf files
automatically created by the program. It WILL NOT read files created
On 11/18/19 9:34 PM, drwho wrote:
> synaptic on Debain 10 says rtklib = v2.4.3+dfsg1-1.
> I cloned 2.4.3b33 from github and type make in the RTKLIB/app/rtkrcv/gcc
> dir. After chmoding the two .sh files, rtkrcv runs and gets a solution
> for single mode only. kinematic is always no double-differenced
> residual. I'll try rtknavi in windows.
> On 2019-11-18 9:02 p.m., John Ackermann N8UR wrote:
>> rtklib on Linux has a horribly broken configuration setup. I fixed it
>> several months ago and build Debian packages based on 2.4.3b31. They
>> might be in unstable by now (I'm not an official maintainer so had to go
>> through intermediaries and I'm not sure what finally happened). If they
>> are not in the repos, I can point you to them on my web site. I suppose
>> it wouldn't be hard to build the programs outside of Debian and install
>> them manually if you use some other distro.
>> jra at febo dot com
>> On 11/18/19 6:16 PM, Bud Asterisk wrote:
>>> Hi folks,
>>> I have been playing with the RTKlib packages for a few months now.
>>> Current setup is 2 CSG M8T receivers. Each connected to a Raspberry Pi
>>> Zero W. The pi run str2str that I compiled on the pi. These connect to
>>> RTKNAVI on my laptop without issue, all over wifi. Have 2 cell phones
>>> ready to handle the data connection so I can take it out into the wild!
>>> No problems at this point.
>>> I want to use RTKRCV which I have compiled on a linux machine. Am able
>>> to make config changes but the tool is telling me to restart after I
>>> make a config change. Here is what I am doing:
>>> rtkrcv> help rtkrcv ver.2.4.2start : start rtk serverstop : stop rtk
>>> serverrestart : restart rtk seversolution [cycle] : show solutionstatus
>>> [cycle] : show rtk statussatellite [-n] [cycle]: show satellite
>>> statusobserv [-n] [cycle] : show observation datanavidata [cycle] : show
>>> navigation datastream [cycle] : show stream statuserror : show
>>> error/warning messagesoption [opt] : show option(s)set opt [val] : set
>>> optionload [file] : load options from filesave [file] : save options to
>>> filelog [file|off] : start/stop log to filehelp|? [path] : print
>>> helpexit : exit and logout consoleshutdown : shutdown rtk server!command
>>> [arg...]: execute command in shellrtkrcv> restart sh: 1: ./rtkstart.sh:
>>> not foundcommand exec error: ./rtkstart.sh (32512)rtk server start
>>> errorrtkrcv> start sh: 1: ./rtkstart.sh: not foundcommand exec error:
>>> ./rtkstart.sh (32512)rtk server start errorrtkrcv> stop rtk server
>>> stoprtkrcv> start sh: 1: ./rtkstart.sh: not foundcommand exec error:
>>> ./rtkstart.sh (32512)rtk server start errorrtkrcv>
>>> It cant seem to find the start or restart commands....any wisdom? I only
>>> did the compile of rtkrcv and no others.
>>> This message is sent to you from FOSS-GPS at lists.osgeo.org mailing list.
>>> Visit https://lists.osgeo.org/mailman/listinfo/foss-gps to manage your subscription
>>> For more information, check http://wiki.osgeo.org/wiki/FOSS-GPS
>> This message is sent to you from FOSS-GPS at lists.osgeo.org mailing list.
>> Visit https://lists.osgeo.org/mailman/listinfo/foss-gps to manage your subscription
>> For more information, check http://wiki.osgeo.org/wiki/FOSS-GPS
> This message is sent to you from FOSS-GPS at lists.osgeo.org mailing list.
> Visit https://lists.osgeo.org/mailman/listinfo/foss-gps to manage your subscription
> For more information, check http://wiki.osgeo.org/wiki/FOSS-GPS
More information about the FOSS-GPS