【GNSS/Linux】BKG Ntrip Client (BNC) 的编译与安装

1. BNC软件

1.1 软件介绍

The BKG Ntrip Client (BNC) is an Open Source multi-stream client program designed for a variety of real-time GNSS applications.
It was primarily designed for receiving data streams from any Ntrip supporting Broadcaster. The program handles the HTTP communication and transfers received GNSS data to a serial or IP port feeding networking software or a DGPS/RTK application. It can compute a real-time Precise Point Positioning (PPP) solution from RTCM streams or RINEX files. During the last years BNC has been enriched with RINEX quality and editing functions. You can run BNC with GUI as well as in batch processing mode.

BKG Ntrip Client (BNC) 是一个开源的多流客户端程序,专为各种实时 GNSS 应用程序而设计。
它主要设计用于从任何支持广播的 Ntrip 接收数据流。该程序处理 HTTP 通信并将接收到的 GNSS 数据传输到串行或 IP 端口馈送网络软件或 DGPS/RTK 应用程序。它可以从 RTCM 流或 RINEX 文件计算实时精确点定位 (PPP) 解决方案。在过去的几年里,BNC 已经丰富了 RINEX 质量和编辑功能。您可以使用 GUI 以及批处理模式运行 BNC。

实时是 GNSS 卫星导航定位的重要应用场景。国际 GNSS 服务组织(IGS)早在2001年成立了实时工作组,从2007年开始启动 Real-time Pilot 项目,旨在推动实时 GNSS 规范的制订,软件开发,国际合作与技术的发展。并于2013年4月1日正式上线了IGS RTS 服务。著名的 BKG Ntrip Client (BNC) 软件便是在此背景下应运而生,是 IGS 实时工作组重点推荐的软件之一:

RTS is broadcast using the open standard NTRIP protocol, which encodes the satellite orbit and clock correction streams as RTCM State Space Representation (SSR) messages. Users must obtain an NTRIP client application to access RTS. As this is a relatively new standard, it is currently supported by a limited number of client applications, for example:

  • BKG NTRIP Client (BNC) Open Source program. This is a client software allowing Precise Point Positioning (PPP) in real-time wherever mobile communication means are available.
  • Real-time Kinematic Library (RTKLIB) Open Source tool set, which has a similar functionality embedded in its RTKNAVI program.

BNC软件的开发者包括捷克技术大学的 Leos Mervart、Ntrip Enterprise 的 Georg Weber、BKG 的 Andrea Stürze、Alberding GmbH 的 Dirk Stöcker 等多位科研机构和商业公司的大牛。不仅支持实时 GNSS 数据流接收、播发、解码、格式转换,也支持实时 SPP 和 PPP 定位解算,功能丰富、强大,而且免费、开放源代码、支持主流的Windows、Linux和Mac OS操作系统

当前 BNC 软件支持的功能包括:

  • 接收、解码 NTRIP 实时数据流;
  • 实时SPP、PPP解算;
  • 事后模拟实时模式PPP处理;
  • Rinex观测值文件的编辑和质量检查;
  • 轨道和钟差比较;
  • 广播星历改正数多线合并;
  • 上传 RTCM 3 广播星历、改正数到 caster;

1.2 目前可下载的版本有:

操作系统代码可执行
源代码 C++,GPLv2.12.17
openSUSE 64 位v2.12.17 共享
v2.12.17 静态
Debian 64 位v2.12.17 共享
v2.12.17 静态
Ubuntu 64 位v2.12.17 共享
树莓派v2.12.9 共享
RHEL/CentOS,64 位v2.12.17 共享
v2.12.17 静态
视窗v2.12.17 微星

2. centOS系统编译

2.1 下载并安装QT-4.8.5

建议选择:qt-everywhere-opensource-src-4.8.5.tar.gz (230 MB)

https://download.qt.io/archive/qt/4.8/4.8.5/

安装如下依赖:

yum install -y openssl-devel
yum install openssl

解压后,运行如下命令:

./configure -fast -webkit -nomake examples -nomake tutorial -openssl -prefix /usr/local/Trolltech/Qt-4.8.5 

gmake 

gmake install

在home文件夹下的.bash_profile或.bashrc添加环境:

export QTDIR="/usr/local/Trolltech/Qt-4.8.5" 
export PATH="$QTDIR/bin:$PATH"

2.3 下载BNC源码

地址如下:

BNC v2.12.17

解压后进入目录,运行如下命令:

qmake bnc.pro
make

PS

推荐一篇大佬介绍BNC的文章:

https://mp.weixin.qq.com/s/w-gr8Hr56MpZZNdRblk8UA

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐