RTKLIB命令行指令介绍

1.manual_2.4.2原文:

1.1SYNOPSIS

rnx2rtkp [option ...] file file [...]

1.2DESCRIPTION

Read RINEX OBS/NAV/GNAV/HNAV/CLK, SP3, SBAS message log files and compute receiver (rover) positions and output position solutions.

The first RINEX OBS file shall contain receiver (rover) observations. For the relative mode, the second RINEX OBS file shall contain reference (base station) receiver observations. At least one RINEX NAV/GNAV/HNAV file shall be included in input files. To use SP3 precise ephemeris, specify the path in the files. The extension of the SP3 file shall be .sp3 or .eph. All of the input file paths can include wild-cards (*). To avoid command line deployment of wild-cards, use "..." for paths with wild-cards.

Command line options are as follows ([]:default). With -k option, the processing options are input from the configuration file. In this case, command line options precede options in the configuration file. For the configuration file, refer B.4.

1.3OPTIONS

-?            print help

-k file      input options from configuration file [off]

-o file      set output file [stdout]

-ts ds ts  start day/time (ds=y/m/d ts=h:m:s) [obs start time]

-te de te   end day/time   (de=y/m/d te=h:m:s) [obs end time]

-ti tint        time interval (sec) [all]

-p mode   mode (0:single,1:dgps,2:kinematic,3:static,4:moving-base,

                 5:fixed,6:ppp-kinematic,7:ppp-static) [2]

-m mask   elevation mask angle (deg) [15]

-f freq       number of frequencies for relative mode (1:L1,2:L1+L2,3:L1+L2+L5) [2]

-v thres    validation threshold for integer ambiguity (0.0:no AR) [3.0]

-b              backward solutions [off]

-c              forward/backward combined solutions [off]

-i              instantaneous integer ambiguity resolution [off]

-h             fix and hold for integer ambiguity resolution [off]

-e             output x/y/z-ecef position [latitude/longitude/height]

-a             output e/n/u-baseline [latitude/longitude/height]

-n             output NMEA-0183 GGA sentence [off]

-g             output latitude/longitude in the form of ddd mm ss.ss [ddd.ddd]

-t              output time in the form of yyyy/mm/dd hh:mm:ss.ss [sssss.ss]

-u             output time in utc [gpst]

-d col        number of decimals in time [3]

-s sep       field separator [' ']

-r x y z      reference (base) receiver ecef pos (m) [average of single pos]

-l lat lon hgt reference (base) receiver latitude/longitude/height (deg/m)

-y level      output solution status (0:off,1:states,2:residuals) [0]

-x level      debug trace level (0:off) [0]

1.4EXAMPLES

Example 1. Kinematic Positioning, L1+L2, output Latitude/Longitude/Height to STDOUT.

> rnx2rtkp 07590920.05o 30400920.05o 30400920.05n

Example 2. Single Point Positioning, El Mask=15deg, output NMEA GGA to file out.pos

> rnx2rtkp -p 0 -m 15 -n -o out.pos 07590920.05o 30400920.05n

Example 3. Static Positioning, L1, time form yyyy/mm/dd hh:mm:ss, output X/Y/Z-ECEF positions

> rnx2rtkp -p 3 -f 1 -t -e 07590920.05o 30400920.05o 30400920.05n

Example 4. Kinematic Positioning, Instantaneous AR, validation threshold=2, comma separator

> rnx2rtkp -i -v 2 -s , 07590920.05o 30400920.05o 30400920.05n

2.manual_2.4.2译文

2.1说明

rnx2rtkp [option ...] file file [...]

//在Visual Stdio中输出调试命令时,不需要在最前面写上rnx2rtkp

个人命令示例如下:

-x 5 -m 15 -k E:\\RTKLIB_2023_12_11\\a_Data\\playground_data\\rtk.conf -r -2171494.9816 4385377.6776 4077139.9056 -o

E:\\RTKLIB_2023_12_11\\a_Data\\playground_data\\out.pos E:\\RTKLIB_2023_12_11\\a_Data\\playground_data\\Playgroundrover.obs E:\\RTKLIB_2023_12_11\\a_Data\\playground_data\\Playgroundbase.obs E:\\RTKLIB_2023_12_11\\a_Data\\playground_data\\brdm1110.22p

上述命令解析:

-x 5 :日志文件级别水平,设置为5

-m 15:高度角截止角设置为15°

-k E:\\...\\rtk.conf:从文件中读取配置文件参数(如果与命令行参数相冲突,则优先读取命令行)

-r -2171494.9816 4385377.6776 4077139.9056:参考站(基准站)接收机在ecef框架下的坐标为(xyz):2171494.9816 4385377.6776 4077139.9056

-o E:\\...\\out.pos:设置输出文件的名称和位置

后面三个文件依次是:(当同时给出流动站和基准站数据之后,就会进入RTK的相对定位模式)

第一个是接收机(流动站)的观测数据;

第二个是基准站(基站)接收机的观测数据;

第三个是卫星的导航电文文件/导航星历文件。

我所使用的配置文件配置情况如下:

关于各配置参数的含义在RTKLIB的说明文档中有提到,后续有时间再更新

2.2详细描述

读取 RINEX OBS/NAV/GNAV/HNAV/CLK、SP3、SBAS 报文日志文件,计算接收机(流动站)位置并输出位置解。
第一个 RINEX OBS 文件应包含接收机(流动站)的观测数据。

对于相对模式,第二个 RINEX OBS 文件应包含基准站接收机(基站)观测数据。

输入文件中至少应包含一个 RINEX NAV/GNAV/HNAV 文件。

要使用 SP3 精确星历表,请在文件中指定路径。SP3 文件的扩展名应为 .sp3 或 .eph。

所有输入文件路径均可包含通配符 (*)。为避免在命令行中部署通配符,请使用"... "表示包含通配符的路径。
命令行选项如下([]:默认)。

使用 -k 选项时,处理选项从配置文件中输入。在这种情况下,命令行选项优先于配置文件中的选项。配置文件参见 B.4。

2.3选项列表

-?             打印帮助

-k file       从配置文件中输入选项 [默认是关闭状态off]

-o file       设置输出文件 [默认:stdout]

-ts ds ts   开始时间(ds:年/月日 ts:时:分:秒) (ds=y/m/d ts=h:m:s) [默认是o文件开始时刻 obs start time]

-te de te    结束时间(de:年/月日 te:时:分:秒)(de=y/m/d te=h:m:s) [默认是o文件结束时刻 obs end time]

-ti tint        时间间隔(秒) [默认:all]

-p mode    模式mode (0:单点,1:差分gps,2:动力学模式,3:静态,4:移动基线,

                 5:固定解,6:ppp动态,7:ppp静态) [默认是选项2,动态/动力学]

-m mask   高度截止角(度) [默认是15°] 在输入命令时候不要带上单位°

-f freq       相对模式的频率数目 (1:L1,2:L1+L2,3:L1+L2+L5) [默认是2(L1+L2双频)]

-v thres    整周模糊度的验证阈值 (0.0:表示没有AR) [默认设置为3.0]

-b              后向滤波求解 [默认关闭 off]  //默认是前向滤波求解

-c              前后向组合求解 [默认关闭 off]

-i              instantaneous integer ambiguity resolution [默认关闭 off]

-h             fix and hold for integer ambiguity resolution [默认关闭 off]

-e             输出ecef框架下的xyz坐标 

                [默认是经度/维度/高程的输出方式latitude/longitude/height]

-a             输出站心坐标系下的enu基线 

                [默认是经度/维度/高程的输出方式latitude/longitude/height]

-n             输出NEMA格式的输出文件 [默认关闭 off]

-g             输出经度/纬度以这种形式:ddd mm ss.ss    [默认形式为:ddd.ddd]

-t              输出时间以这种形式:yyyy/mm/dd hh:mm:ss  [默认形式为:sssss.ss]

-u             在utc下输出时间 [默认是gps时 gpst]

-d col        在时间中的小数点个数 [默认是3个]

-s sep       字段分隔符 [默认使用空格 ' ' ]

-r x y z      参考站(基准站)接收机在ecef框架下的坐标(xyz 单位:m)

                 [默认设置为单点定位的平均位置  average of single pos]

-l lat lon hgt 参考站(基准站)接收机在大地坐标系下的经度/纬度/高程(单位:deg/m °/m)

-y level      输出解的状态信息 (0:off,1:states,2:residuals) [默认关闭 0]

-x level      trace级别(0:off) [0]

2.4示例

Example 1. Kinematic Positioning, L1+L2, output Latitude/Longitude/Height to STDOUT.

例1 动态定位 L1+L2双频  输出 经度/纬度/高程到输出端

> rnx2rtkp 07590920.05o 30400920.05o 30400920.05n

Example 2. Single Point Positioning, El Mask=15deg, output NMEA GGA to file out.pos

例2 单点定位  高度截止角设置为15°  输出NMEA格式文件到out.pos文件

> rnx2rtkp -p 0 -m 15 -n -o out.pos 07590920.05o 30400920.05n

Example 3. Static Positioning, L1, time form yyyy/mm/dd hh:mm:ss, output X/Y/Z-ECEF positions

例3 静态定位 L1频率 时间格式:yyyy/mm/dd hh:mm:ss 输出ecef框架下的XYZ坐标位置

> rnx2rtkp -p 3 -f 1 -t -e 07590920.05o 30400920.05o 30400920.05n

Example 4. Kinematic Positioning, Instantaneous AR, validation threshold=2, comma separator

例4 动态定位  瞬时处理的AR(单历元处理的模糊度固定方式)  整周模糊度固定的阈值设置为2  分隔符设置成逗号','(-s ,)

> rnx2rtkp -i -v 2 -s , 07590920.05o 30400920.05o 30400920.05n

  • 7
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
RTKLIB是一个用于实时运动定位和精确定位的开源软件包。它可以通过处理全球导航卫星系统(GNSS)数据来提供高精度的定位结果。以下是RTKLIB的使用介绍: 1. 下载和安装:首先,你需要从RTKLIB的官方网站或其他可靠来源下载RTKLIB软件包。然后,按照安装说明进行安装。 2. 数据准备:在使用RTKLIB之前,你需要准备好GNSS数据。你可以从NASA的网站上下载GNSS数据文件[1],或者从RTKLIB的示例数据中获取[2]。确保将数据文件保存在适当的目录中。 3. 配置文件:RTKLIB使用配置文件来设置定位参数。你可以使用RTKLIB提供的默认配置文件,也可以根据自己的需求进行自定义。打开RTKLIB的配置文件(通常是一个扩展名为.conf的文件),根据需要修改参数。 4. 启动RTKLIB:在命令行界面中,导航到RTKLIB的安装目录,并运行rtkget.exe命令。在rtkget.exe中,你可以设置文件获取路径,选择URL_LIST.txt文件所在路径[3]。 5. 数据处理:一旦RTKLIB开始运行,它将读取你提供的GNSS数据,并根据配置文件中的参数进行处理。RTKLIB将计算出高精度的定位结果,并将其输出到指定的文件或显示在界面上。 6. 结果分析:一旦RTKLIB完成数据处理,你可以使用其他工具或软件来分析和可视化定位结果。RTKLIB还提供了一些工具和函数,可以帮助你对定位结果进行进一步的处理和分析。 总结起来,RTKLIB是一个功能强大的开源软件包,用于实时运动定位和精确定位。通过准备数据、配置参数、启动RTKLIB并分析结果,你可以获得高精度的定位结果。希望这个介绍对你有帮助!

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Code_ADing

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值