2013年7月12日金曜日

RTKRCV の 動作のさせ方

RTKLIBのマニュアル(p63)によれば、

コマンドラインから、

rtkrcv [-s][-p port|-d dev][-o file][-t level]
と入力すると、rtkrcvが シェルプログラムとして起動する。





起動時のオプションは、


-s     start RTK server on Program startup
-p port port number for telnet console
-m port port number for monitor stream
-d dev terminal device for console
-o file configuration file
-r level output solution status file
(0:off,1:states,2:residuals)
-t level d
ebug trace level (0:off,1-5:on)


起動すると、
rtkrcv>   の用なコマンドプロンプトが表示されるので、
以下のコマンド(COMMANDS)を入力する。 
helpを入力すると,
rtkrcv> help
rtkrcv ver.2.4.2 b11 commands
start : start rtk server
stop : stop rtk server
restart : restart rtk sever
solution [cycle] : show solution
status [cycle] : show rtk status
satellite [cycle]: show satellite status
observ [cycle] : show observation data
navidata [cycle] : show navigation data
stream [cycle] : show stream status
error : show error/warning messages
option [opt] : show option(s)
set opt [val] : set option
load [file] : load options from file
save [file] : save options to file
log [file|off] : start/stop log to file
help|? [path] : print help
exit : exit and logout console
shutdown : shutdown rtk server
!command [arg...]: execute command in shell
となり、各コマンドの説明を見る事が出来る。

Mac OSX で、もしも GPS受信機を接続した232cのデバイスが /dev/tty**** で、
単独測位を実行するのであれば、


sudo rtkrcv -o ../single.conf -d /dev/tty**** 

となるはず。

rtkrcv> プロンプトが表示されたら、

rtkrcv>startを入力して、実行。

rtkrcv>navdata 1  と入力すれば、実行結果が表示される。


実行時のコマンドの説明文をマニュアルよりコピー
COMMANDS

start
Start RTK server. No need the command if the program runs with -s option.

stop
Stop RTK server.
restart
Restart RTK server. If the processing options are set, execute the command to enable the changes.
solution [cycle]
Show solutions. Without option, only one solution is shown. With option, the soluiton is disp
layed at intervals of cycle (s). To stop cyclic display, send break (ctr-C).
status [cycle]
Show RTK status. Use option cycle for cyclic display.
satellite [cycle]
Show satellite status. Use option cycle for cyclic display.
observ [cycle]
Show observation data. Use option cycle for cyclic display.
navidata [cycle]
Show navigation data. Use option cycle for cyclic display.
stream [cycle]
Show stream status. Use option cycle for cyclic display.
error
Show error/warning messages. To stop messages, send break (ctr-C).
option [opt]
Show the values of processing options. Without option, all options are displayed. With option, only pattern-matched options are displayed.
set opt [val]
Set the value of a processing option to val. With out option val, prompt message is shown to input the value. The change of the processing option is not enabled before RTK server is restarted.
load [file]
Load processing options from file. Without option, default file rtkrcv.conf is used. To enable the changes, restart RTK server.
save [file]
Save current processing optons to file. Without option, default file rtkrcv.conf is used.
log [file|off]
Record console log to file. To stop recording the log, use option off.
help|? [path]
Show the command list. With option path, the stream path options are shown.
exit
Exit and logout console. The status of RTK server is not affected by the command.
shutdown
Shutdown RTK server and exit the program.
!command [arg...]
Execute command by the operating system shell. Do not use the interactive command.
NOTES
Short form of a command is allowed. In case of the short form, the command is distinguished according to header characters.
コマンドの簡易型が許可されます。簡易型の場合には、コマンドがヘッダー文字によって識別されます。)
終了時は、 shutdown コマンドを使用する。
rtkrcv> shutdown
shutdown rtkrcv process ? (y/n): y

0 件のコメント:

コメントを投稿