gps_pvt 0.6.3 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f9ab8f442240a2b92bfcb975ec6cb72000ec7d257bf7d5f41e0765905b9fa020
4
- data.tar.gz: 52ed9e2141f4e0bc111da34be34b28414557fd02f003c3fbff84db571135ad1a
3
+ metadata.gz: 14551de3c8e0eae8a584044249ff80a04e5c834929ec7968b39839aa611b3050
4
+ data.tar.gz: 0c82a31aec65f372d5221d5c6c7ef8e0fa72d6b5fa4d5d6f5d2174ad7a6cfa82
5
5
  SHA512:
6
- metadata.gz: 63cc7efd29e6e576c15380bd43550b427015f57d99a545b3373ef829d496e87df799feed2b6499c2bf336619a81bb193ddd1c350990cc85ee7c52a7aadf0d264
7
- data.tar.gz: 7911e374e8d1f33f283be0fd7a59262bd1bd2d0315d631456e37659b4729812c260f3f65495bb6de851e8ac7246f148d47129080717aeccc715cc1138e17e158
6
+ metadata.gz: fb245345b2d07710c7df3419eefee79720b63dc9820776612d0d5e9270d1f2186f54abd4d92f8e6967457b54f8b3fc5ea2fa3448232780847c6e57b66b42a116
7
+ data.tar.gz: a3f6edf6a85ef786305f15788a4e4b28d32287ec9727d2b3f2885ac3653524c264b10f82c6dcd009ee32c8cab956c6e1dcc8c14025495027a80b3d10100e89f0
data/README.md CHANGED
@@ -41,6 +41,7 @@ The format of file is automatically determined with its extension, such as .ubx
41
41
  | --ubx=file_or_URI | [U-blox](https://www.u-blox.com/) dedicated format |
42
42
  | --sp3=file_or_URI | [Standard Product 3 Orbit Format](https://files.igs.org/pub/data/format/sp3c.txt) (supported gps_pvt version >= 0.6.0) |
43
43
  | --antex=file_or_URI | [Antenna Exchange Format](https://igs.org/wg/antenna#files) (supported gps_pvt version >= 0.6.0) |
44
+ | --rinex_clk=file_or_URI | [RINEX clock](https://files.igs.org/pub/data/format/rinex_clock304.txt) file (supported gps_pvt version >= 0.7.0) |
44
45
 
45
46
  Since version 0.2.0, SBAS and QZSS are supported in addition to GPS. Since version 0.4.0, GLONASS is also available. QZSS ranging is activated in default, however, SBAS is just utilized for ionospheric correction. GLONASS is also turned off by default. If you want to activate SBAS or GLONASS ranging, "--with=(system or PRN)" options are used with gps_pvt executable like
46
47
 
data/Rakefile CHANGED
@@ -56,6 +56,7 @@ namespace :git do
56
56
  tool/navigation/MagneticField.h
57
57
  tool/navigation/NTCM.h
58
58
  tool/navigation/RINEX.h
59
+ tool/navigation/RINEX_Clock.h
59
60
  tool/navigation/WGS84.h
60
61
  tool/navigation/SP3.h
61
62
  tool/navigation/ANTEX.h
data/exe/gps_pvt CHANGED
@@ -24,7 +24,7 @@ misc_options = {}
24
24
  files = ARGV.collect{|arg|
25
25
  next [arg, nil] unless arg =~ /^--([^=]+)=?/
26
26
  k, v = [$1.downcase.to_sym, $']
27
- next [v, k] if [:rinex_nav, :rinex_obs, :ubx, :sp3, :antex].include?(k) # file type
27
+ next [v, k] if [:rinex_nav, :rinex_obs, :ubx, :sp3, :antex, :rinex_clk].include?(k) # file type
28
28
  options << [$1.to_sym, $']
29
29
  nil
30
30
  }.compact
@@ -74,6 +74,7 @@ files.collect!{|fname, ftype|
74
74
  when /\.ubx$/; :ubx
75
75
  when /\.sp3(?:\.Z)?$/; :sp3
76
76
  when /\.atx(?:\.Z)?$/; :antex
77
+ when /\.clk$/; :rinex_clk
77
78
  else
78
79
  raise "Format cannot be guessed, use --(format, ex. rinex_nav)=#{fname}"
79
80
  end
@@ -145,6 +146,7 @@ files.each{|fname, ftype|
145
146
  when :rinex_nav; rcv.parse_rinex_nav(fname)
146
147
  when :sp3; rcv.attach_sp3(fname)
147
148
  when :antex; rcv.attach_antex(fname)
149
+ when :rinex_clk; rcv.attach_rinex_clk(fname)
148
150
  end
149
151
  }
150
152
 
data/exe/to_ubx CHANGED
@@ -210,4 +210,5 @@ gen_rawx = proc{|t_meas, meas| # Convert to RXM-RAWX(0x15)
210
210
  }
211
211
 
212
212
  gen = misc_options[:ubx_rawx] ? gen_rawx : gen_raw
213
+ STDOUT.binmode
213
214
  obs.each{|*item| print gen.call(*item)}