[FOSS-GPS] librtk newbie

drwho drwho at infidigm.net
Sat Sep 28 10:30:19 PDT 2019


Hi,

I am trying to use rtkrcv (for the first time) in librtk with a oemstar 
board.  I think the oemstar is compatible with oem4.  I have used oem4 
in rtkrcv.conf.  rtkrcv appears to be communicating with the oemstar 
because when I issue status and obverv commands, I see satellites, but 
no valid satellites.....

rtkrcv> observ

TIME(GPST) SAT R       P1(m)       P2(m)      L1(cyc) L2(cyc)  D1(Hz)  
D2(Hz) S1 S2 LLI
17:24:01.0 G02 1 22541061.66        0.00 119276073.82 0.00 -2211.7     
0.0 46  0 0 0
17:24:01.0 G05 1 20733957.26        0.00 108957666.41 0.00 -1710.2     
0.0 50  0 0 0
17:24:01.0 G07 1 25444131.91        0.00 133709819.71 0.00    -7.2     
0.0 42  0 0 0
17:24:01.0 G13 1 21117208.30        0.00 111793679.90 0.00  1817.7     
0.0 49  0 0 0
17:24:01.0 G15 1 22131060.09        0.00 116299505.50 0.00  3394.2     
0.0 33  0 0 0
17:24:01.0 G29 1 20729281.64        0.00 108933113.98 0.00  -297.5     
0.0 43  0 0 0
17:24:01.0 G30 1 24830319.94        0.00 130484202.02 0.00  1375.8     
0.0 47  0 0 0

Parameter                   : Value
rtklib version              : 2.4.2
rtk server thread           : 291211008
rtk server state            : run
processing cycle (ms)       : 10
positioning mode            : single
frequencies                 : L1+L2
accumulated time to run     : 00:17:50.9
cpu time for a cycle (ms)   : 1
missing obs data count      : 0
bytes in input buffer       : 0,0
# of input data rover       : 
obs(1071),nav(7),gnav(0),ion(1),sbs(0),pos(0),dgps(0),ssr(0),err(0)
# of input data base        : 
obs(0),nav(0),gnav(0),ion(0),sbs(0),pos(0),dgps(0),ssr(0),err(0)
# of input data corr        : 
obs(0),nav(0),gnav(0),ion(0),sbs(0),pos(0),dgps(0),ssr(0),err(0)
# of rtcm messages rover    :
# of rtcm messages base     :
# of rtcm messages corr     :
solution status             : -
time of receiver clock rover: 2019/09/28 17:26:13.000000000
time sys offset (glo-gps)(s): 0.000000000
solution interval (s)       : 0.000
age of differential (s)     : 0.000
ratio for ar validation     : 0.000
# of satellites rover       : 7
# of satellites base        : 0
# of valid satellites       : 0

rtkrcv> error
17:28:32.00: point pos error (lack of valid sats ns=4)
17:28:33.00: point pos error (lack of valid sats ns=4)


The only setup I am doing on the oemstar is changing to 57600 baud...

COM COM1 57600 N 8 1 N OFF ON

Then I close the terminal and start rtkrcv with the attached rtkrcv.conf 
file...

./rtkrcv -o rtkrcv.conf -t 2

Any suggestions for a newbie?

Jon


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/foss-gps/attachments/20190928/70772672/attachment.html>
-------------- next part --------------
# rtkrcv options (2010/08/12 07:12:16, v.2.4.0)

console-passwd     =admin
console-timetype   =gpst       # (0:gpst,1:utc,2:jst,3:tow)
console-soltype    =dms        # (0:dms,1:deg,2:xyz,3:enu,4:pyl)
console-solflag    =1          # (0:off,1:std+2:age/ratio/ns)
inpstr1-type       =serial     # (0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,7:ntripcli,8:ftp,9:http)
inpstr2-type       =serial        # (0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,7:ntripcli,8:ftp,9:http)
inpstr3-type       =off        # (0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,7:ntripcli,8:ftp,9:http)
inpstr1-path       =ttyUSB0:57600:8:n:1:off
inpstr2-path       =ttyUSB2:57600:8:n:1:off
inpstr3-path       =anonymous:passwd at cddis.gsfc.nasa.gov/gps/products/%W/igu%W%D_%hb.sp3.Z::T=-14400,21600,7200,600
inpstr1-format     =oem4       # (0:rtcm2,1:rtcm3,2:oem4,3:oem3,4:ubx,5:ss2,6:hemis,7:skytraq,14:sp3)
inpstr2-format     =oem4       # (0:rtcm2,1:rtcm3,2:oem4,3:oem3,4:ubx,5:ss2,6:hemis,7:skytraq,14:sp3)
inpstr3-format     =sp3        # (0:rtcm2,1:rtcm3,2:oem4,3:oem3,4:ubx,5:ss2,6:hemis,7:skytraq,14:sp3)
inpstr2-nmeareq    =off        # (0:off,1:latlon,2:single)
inpstr2-nmealat    =0          # (deg)
inpstr2-nmealon    =0          # (deg)
outstr1-type       =off        # (0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,6:ntripsvr)
outstr2-type       =off        # (0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,6:ntripsvr)
outstr1-path       =sol1_%Y%m%d%h%M.pos
outstr2-path       =sol2_%Y%m%d%h%M.pos
outstr1-format     =llh        # (0:llh,1:xyz,2:enu,3:nmea)
outstr2-format     =nmea       # (0:llh,1:xyz,2:enu,3:nmea)
logstr1-type       =off        # (0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,6:ntripsvr)
logstr2-type       =off        # (0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,6:ntripsvr)
logstr3-type       =off        # (0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,6:ntripsvr)
logstr1-path       =rov_%Y%m%d%h%M.log
logstr2-path       =ref_%Y%m%d%h%M.log
logstr3-path       =cor_%Y%m%d%h%M.log
misc-svrcycle      =10         # (ms)
misc-timeout       =30000      # (ms)
misc-reconnect     =30000      # (ms)
misc-nmeacycle     =5000       # (ms)
misc-buffsize      =32768      # (bytes)
misc-navmsgsel     =rover      # (0:all,1:rover,1:base,2:corr)
misc-startcmd      =./rtkstart.sh
misc-stopcmd       =./rtkshut.sh
file-cmdfile1      =../../../data/oem4_raw_1hz.cmd
file-cmdfile2      =../../../data/oem4_raw_1hz.cmd
file-cmdfile3      =
pos1-posmode       =single     # (0:single,1:dgps,2:kinematic,3:static,4:movingbase,5:fixed,6:ppp-kine,7:ppp-static)
pos1-frequency     =l1+l2         # (1:l1,2:l1+l2,3:l1+l2+l5)
pos1-soltype       =forward    # (0:forward,1:backward,2:combined)
pos1-elmask        =15         # (deg)
pos1-snrmask       =0          # (dBHz)
pos1-dynamics      =off        # (0:off,1:on)
pos1-tidecorr      =off        # (0:off,1:on)
pos1-ionoopt       =brdc       # (0:off,1:brdc,2:sbas,3:dual-freq,4:est-stec)
pos1-tropopt       =saas       # (0:off,1:saas,2:sbas,3:est-ztd,4:est-ztdgrad)
pos1-sateph        =precise    # (0:brdc,1:precise,2:brdc+sbas,3:brdc+ssrapc,4:brdc+ssrcom)
pos1-exclsats      =           # (prn ...)
pos1-navsys        =1          # (1:gps+2:sbas+4:glo+8:gal+16:qzs+32:comp)
pos2-armode        =off        # (0:off,1:continuous,2:instantaneous,3:fix-and-hold)
pos2-gloarmode     =off        # (0:off,1:on,2:autocal)
pos2-arthres       =5
pos2-arlockcnt     =0
pos2-arelmask      =0          # (deg)
pos2-aroutcnt      =5
pos2-arminfix      =10
pos2-slipthres     =0.05       # (m)
pos2-maxage        =30         # (s)
pos2-rejionno      =30         # (m)
pos2-niter         =1
pos2-baselen       =0          # (m)
pos2-basesig       =0          # (m)
out-solformat      =llh        # (0:llh,1:xyz,2:enu,3:nmea)
out-outhead        =on         # (0:off,1:on)
out-outopt         =off        # (0:off,1:on)
out-timesys        =gpst       # (0:gpst,1:utc,2:jst)
out-timeform       =tow        # (0:tow,1:hms)
out-timendec       =3
out-degform        =deg        # (0:deg,1:dms)
out-fieldsep       =
out-height         =ellipsoidal # (0:ellipsoidal,1:geodetic)
out-geoid          =internal   # (0:internal,1:egm96,2:egm08_2.5,3:egm08_1,4:gsi2000)
out-solstatic      =all        # (0:all,1:single)
out-nmeaintv1      =0          # (s)
out-nmeaintv2      =0          # (s)
out-outstat        =off        # (0:off,1:state,2:residual)
stats-errratio     =100
stats-errphase     =0.003      # (m)
stats-errphaseel   =0.003      # (m)
stats-errphasebl   =0          # (m/10km)
stats-errdoppler   =1          # (Hz)
stats-stdbias      =30         # (m)
stats-stdiono      =0.03       # (m)
stats-stdtrop      =0.3        # (m)
stats-prnaccelh    =1          # (m/s^2)
stats-prnaccelv    =0.1        # (m/s^2)
stats-prnbias      =0.0001     # (m)
stats-prniono      =0.001      # (m)
stats-prntrop      =0.0001     # (m)
stats-clkstab      =5e-12      # (s/s)
ant1-postype       =llh        # (0:llh,1:xyz,2:single,3:posfile,4:rinexhead,5:rtcm)
ant1-pos1          =0          # (deg|m)
ant1-pos2          =0          # (deg|m)
ant1-pos3          =0          # (m|m)
ant1-anttype       =
ant1-antdele       =0          # (m)
ant1-antdeln       =0          # (m)
ant1-antdelu       =0          # (m)
ant2-postype       =llh        # (0:llh,1:xyz,2:single,3:posfile,4:rinexhead,5:rtcm)
ant2-pos1          =0          # (deg|m)
ant2-pos2          =0          # (deg|m)
ant2-pos3          =0          # (m|m)
ant2-anttype       =
ant2-antdele       =0          # (m)
ant2-antdeln       =0          # (m)
ant2-antdelu       =0          # (m)
misc-timeinterp    =off        # (0:off,1:on)
misc-sbasatsel     =0          # (0:all)
file-satantfile    =../../../data/igs05.atx
file-rcvantfile    =../../../data/igs05.atx
file-staposfile    =../../../data/station.pos
file-geoidfile     =
file-dcbfile       =../../../data/P1C1_ALL.DCB
file-tempdir       =temp
file-geexefile     =
file-solstatfile   =
file-tracefile     =


More information about the FOSS-GPS mailing list