gps_pvt 0.6.4 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/Rakefile +1 -0
- data/exe/gps_pvt +4 -2
- data/ext/gps_pvt/GPS/GPS_wrap.cxx +993 -296
- data/ext/gps_pvt/SylphideMath/SylphideMath_wrap.cxx +2 -3
- data/ext/ninja-scan-light/tool/navigation/ANTEX.h +1 -1
- data/ext/ninja-scan-light/tool/navigation/GLONASS.h +4 -11
- data/ext/ninja-scan-light/tool/navigation/GLONASS_Solver.h +25 -13
- data/ext/ninja-scan-light/tool/navigation/GPS.h +21 -18
- data/ext/ninja-scan-light/tool/navigation/GPS_Solver.h +42 -25
- data/ext/ninja-scan-light/tool/navigation/GPS_Solver_Base.h +44 -23
- data/ext/ninja-scan-light/tool/navigation/GPS_Solver_RAIM.h +29 -1
- data/ext/ninja-scan-light/tool/navigation/MagneticField.h +4 -3
- data/ext/ninja-scan-light/tool/navigation/NTCM.h +1 -1
- data/ext/ninja-scan-light/tool/navigation/RINEX.h +31 -20
- data/ext/ninja-scan-light/tool/navigation/RINEX_Clock.h +458 -0
- data/ext/ninja-scan-light/tool/navigation/SBAS.h +34 -6
- data/ext/ninja-scan-light/tool/navigation/SBAS_Solver.h +26 -14
- data/ext/ninja-scan-light/tool/navigation/SP3.h +51 -43
- data/ext/ninja-scan-light/tool/param/bit_array.h +2 -2
- data/ext/ninja-scan-light/tool/param/quaternion.h +2 -2
- data/ext/ninja-scan-light/tool/param/vector3.h +2 -2
- data/ext/ninja-scan-light/tool/swig/GPS.i +124 -52
- data/ext/ninja-scan-light/tool/swig/SylphideMath.i +1 -2
- data/ext/ninja-scan-light/tool/swig/spec/GPS_spec.rb +134 -13
- data/lib/gps_pvt/receiver.rb +32 -7
- data/lib/gps_pvt/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2eb20de6303a24b0e5b134c7c78cd1edb043ff38d823181e596b4626b6bc536
|
4
|
+
data.tar.gz: 183ae6e8cfd2577132113bb3684e6e225989ce444d6647820496b13ddd3a4903
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a35228704032066f682e15f5abf6f8a2238d90424e6b50182e07b8fc342a1f4150ba6747ca88a9fcaef163e0ce8149a68edf087e6c0f5525a2c7a09553beb504
|
7
|
+
data.tar.gz: 10ace25d753123375bf8ad46cbd4d7490b13219522b39ee5774a1df6d3ba1fd3fd9f318364a19253981f24a3b83998e5df9bb82700b37d6d7f17bd1ad27ad14d
|
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
|
|
@@ -112,7 +113,7 @@ receiver.solver.hooks[:relative_property] = proc{|prn, rel_prop, meas, rcv_e, t_
|
|
112
113
|
# rcv_e, t_arv, usr_pos, usr_vel are temporary solution of
|
113
114
|
# receiver clock error [m], time of arrival [s], user position and velocity in ECEF, respectively.
|
114
115
|
|
115
|
-
weight = 1 #
|
116
|
+
weight = 1 # quick example: identical weight for each visible satellite
|
116
117
|
# or weight based on elevation, for example:
|
117
118
|
# elv = GPS_PVT::Coordinate::ENU::relative_rel(GPS_PVT::Coordinate::XYZ::new(*los_neg), usr_pos).elevation
|
118
119
|
# weight = (Math::sin(elv)/0.8)**2
|
data/Rakefile
CHANGED
data/exe/gps_pvt
CHANGED
@@ -11,7 +11,7 @@ As GPS_file, rinex_nav(*.YYn, *.YYh, *.YYq, *.YYg), rinex_obs(*.YYo), ubx(*.ubx)
|
|
11
11
|
(YY = last two digit of year)
|
12
12
|
File format is automatically determined based on its extention described in above parentheses.
|
13
13
|
If you want to specify its format manually, command options like --rinex_nav=file_name are available.
|
14
|
-
Other than --rinex_nav, --rinex_obs, --ubx, --sp3 or --antex are supported.
|
14
|
+
Other than --rinex_nav, --rinex_obs, -rinex_clk, --ubx, --sp3 or --antex are supported.
|
15
15
|
Supported RINEX versions are 2 and 3.
|
16
16
|
A file having additional ".gz" or ".Z" extension is recognized as a compressed file.
|
17
17
|
Major URL such as http(s)://... or ftp://... is acceptable as an input file name.
|
@@ -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
|
|