===== RTKLib Notes =====
Miscelaneous notes and scraps relating to the use of various RTKLib tools.
==== Linux ====
=== building ===
== install dependencies ==
Fedora 43, etc.
sudo dnf group install git development-tools &&
sudo dnf install gcc cmake make blas-devel lapack-devel &&
sudo dnf install qt5-qtbase-devel qt5-qtserialport-devel qt5-qtcharts-devel
Debian 13, Ubuntu 24(?)
sudo apt install git build-essential cmake pkg-config \
libblas-dev liblapack-dev \
qtbase5-dev libqt5serialport5-dev libqt5charts5-dev
== download & build ==
git clone https://github.com/rtklibexplorer/RTKLIB/
Build everything:
cd RTKLIB ; mkdir build ; cd build ; cmake .. ; make -j4
=== str2str ===
== Serial input on ttyS0 @ 115200, out to a TCP server on port 3500 and a file at 6 hour intervals. ==
str2str -in serial://ttyS0:115200#rtcm3 -out tcpsvr://:3500#rtcm3 \
-out file:///home/john/OEM617D/SYIF-OEM617D-%Y%m%d-%n%H.rtcm3::T::S=6 \
-px 163xxxx.6618,-422xxxx.1371,446xxxx.3074
-px is station position in ECEF meters, output date format is YYYYMMDD-###x.
== TCP client to an NTRP Server ==
str2str -in tcpcli://172.16.0.75:3500:rtcm3 -out ntrips://:password@3.143.243.81:2101/mountpoint