ros-robotics 原文存档
使用RTKlib获取ntrip RTCM差分数据转发到串口
RTKLIB官网:https://rtklib.com/
RTKLIB文档:https://wiki.openstreetmap.org/wiki/RTKLIB
RTKLIB源码仓库:https://github.com/tomojitakasu/RTKLIB
RTKLIB二进制仓库win:https://github.com/tomojitakasu/RTKLIB\_bin
主要功能:
使用str2str工具,可以把一个数据流发送到另一个数据流
我们是要把ntrio客户端数据流(-in),发送到串口(-out)
并且,我们要把串口的GPGGA数据,实时发送给ntrip
注意:
- apt安装版本,不支持【把串口的GPGGA数据,实时发送给ntrip】
- 只有带b的版本支持,带p的是稳定版,也不支持
- win版本叫strsrv==linux版str2str
STR2STR命令格式

命令格式:
./str2str -in ntrip://user:pwd@ip:8002/AUTO#rtcm3 -out serial://ttyUSB0:115200:8:n:1:off#ip -b 1
源码编译
`git clone https://github.com/tomojitakasu/RTKLIB.git cd RTKLIB git branch -a git checkout rtklib_2.4.3 git branch -a cd app/consapp/str2str/gcc make`