UBUNTU compile and run RTKLIB

RTKLIB does not have a graphical user interface (GUI) under ubuntu!

RTKLIB as a powerful tool, I always thought it was the same under ubuntu and win10, so I thought to use ubuntu compiler to compile it, but it always reported an error, I also went to find the cause of the error Gasigaku broke my original program.
GUI interface
GUI interface
under
CUI interface
WIN10 The readme file (part) of the CUI interface RTKLIB under ubuntu indicates the GUI and CUI versions of each function software
RTKLIB readme
. In fact, it is very simple to use.

One source code

RTKLIB official website
GITHUB source code
Chinese code warehouse: code cloned from GITHUB in the code
cloud Because the code cloud is faster, it is cloned from it

 git clone https://gitee.com/scv6/RTKLIB.git

Two install and compile

The installation instructions / P88
RTKLIB User Manual P88
in the RTKLIB user manual is actually to open the folder of the software you want to compile. For example, I compiled the str2strc software, and the path is RTKLIB / app / str2str / gcc

vi makefile

Then run

make
make install

If it tells you that there is no permission, then increase the permission:

sudo su

3. Use compiled software

I compiled the software
str2str. There is a manual manual_2.4.2.pdf
in the RTKLIB / doc folder. There are command instructions in P99

Insert picture description here
Insert picture description here
Insert picture description here
According to my needs, I wrote the command as follows. Everyone needs to rewrite the command according to different needs.

str2str -in serial://ttyUSB0:115200:8:N:1:off#ubx -out  tcpsvr://:5760#rtcm3 -msg 1002:1,1006:10,1010:1,1107:1:,1117:1,1127:1

If it doesn't work, check if you have read permission for the port file.
Use the following command to get read permission

chmod 777 -R /dev

The str2str command is equivalent to the following GUI
Insert picture description here
Insert picture description here
Insert picture description here

Published 8 original articles · Like 11 · Visit 2926

Guess you like

Origin blog.csdn.net/weixin_44457020/article/details/103446119