||
首先要确保PRIDE PPPAR软件安装准确,可以正常运行example文件中的实例;
其次要确保软件权限设置不存在问题。
一、发现问题
输入:rtk2xyz.sh 2019/150/
输出:error: rnx2rtkp not found
查看rtk2xyz.sh源代码,可以发现错误发生在51行;
为了验证,终端中
输入:rnx2rtkp --help > /dev/null 2>&1
输入:echo $?
输出:126
$?返回值所表示的大概含义 例:
0 表示成功
2 权限拒绝
1-125 表示运行失败,脚本命令,系统命令错误或参数传递错误
126 找到命令了但无法执行
127 未找到要运行的命令
128 命令被系统强制结束
255 退出状态码越界
从上面可以看出,错误原因在于PRIDE PPPAR自带的rnx2rtkp程序不可用;
询问官方支持得知原因如下,而我的电脑是64位的;
二、解决问题
1、自己编译【RTKLIB】RTKPOST程序
https://blog.csdn.net/qq_39600809/article/details/80839138
2、将rnx2rtkp复制到~/.PRIDE_PPPAR_BIN/替换原来的文件
3、验证,输入:rnx2rtkp -?
usage: rnx2rtkp [option]... file file [...]
Read RINEX OBS/NAV/GNAV/HNAV/CLK, SP3, SBAS message log files and ccompute
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.
......
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-11-21 01:39
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社