gps_pvt 0.10.0 → 0.10.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 +6 -5
- data/ext/gps_pvt/GPS/GPS_wrap.cxx +837 -52
- data/ext/ninja-scan-light/tool/navigation/GLONASS_Solver.h +11 -3
- data/ext/ninja-scan-light/tool/navigation/GPS.h +2 -1
- data/ext/ninja-scan-light/tool/navigation/GPS_Solver.h +20 -16
- data/ext/ninja-scan-light/tool/navigation/GPS_Solver_Base.h +84 -46
- data/ext/ninja-scan-light/tool/navigation/GPS_Solver_RAIM.h +2 -1
- data/ext/ninja-scan-light/tool/navigation/SBAS_Solver.h +10 -2
- data/ext/ninja-scan-light/tool/swig/GPS.i +76 -5
- data/ext/ninja-scan-light/tool/swig/spec/GPS_spec.rb +7 -7
- data/lib/gps_pvt/asn1/asn1.rb +34 -11
- data/lib/gps_pvt/asn1/asn1.y +112 -63
- data/lib/gps_pvt/receiver/extension.rb +0 -73
- data/lib/gps_pvt/receiver.rb +5 -4
- data/lib/gps_pvt/rtcm3.rb +4 -4
- data/lib/gps_pvt/supl.rb +3 -3
- data/lib/gps_pvt/upl/MAP-LCS-DataTypes-V17_4_0-Release17.asn +740 -0
- data/lib/gps_pvt/upl/RRLP-V17_0_0-Release17.asn +6 -1
- data/lib/gps_pvt/upl/upl.json.gz +0 -0
- data/lib/gps_pvt/upl/upl.rb +48 -0
- 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: 291357170b42fbbecccdac288a218cd8a1b0730db5b93e9adb43c4635674a386
|
4
|
+
data.tar.gz: 2b7da00981f6a55db29dbfc88083eb6806ea744bbc0cc0b1a97fd2939bc95496
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc697b14d15e9ebb4d445e076284c97bf349df98c4f146f4ac96ff1875f1a6c9cac328e26af533a8abca89ae792b6ad70e1ce1172f0e97117c5dc28518105d35
|
7
|
+
data.tar.gz: 0536ce452ad85fe1e460e7c6e1dd577c63148505e275a4fa5bcb749d457c7fb80315833151d2aab54bd8f5a92b4b59941d7818d903de676823501d16d0d2a930
|
data/README.md
CHANGED
@@ -110,17 +110,18 @@ receiver.solver.gps_options.elevation_mask = Math::PI / 180 * 10 # example 10 [d
|
|
110
110
|
|
111
111
|
# Precise control of properties for each satellite and for each iteration
|
112
112
|
receiver.solver.hooks[:relative_property] = proc{|prn, rel_prop, meas, rcv_e, t_arv, usr_pos, usr_vel|
|
113
|
-
|
113
|
+
weight_range, range_c, range_r, weight_rate, rate_rel_neg, *los_neg = rel_prop # relative property
|
114
114
|
# meas is measurement represented by pseudo range of the selected satellite.
|
115
115
|
# rcv_e, t_arv, usr_pos, usr_vel are temporary solution of
|
116
116
|
# receiver clock error [m], time of arrival [s], user position and velocity in ECEF, respectively.
|
117
|
+
# Note: weight_rate is added since v0.10.1
|
117
118
|
|
118
|
-
|
119
|
+
weight_range = 1 # quick example: identical weight for each visible satellite
|
119
120
|
# or weight based on elevation, for example:
|
120
121
|
# elv = GPS_PVT::Coordinate::ENU::relative_rel(GPS_PVT::Coordinate::XYZ::new(*los_neg), usr_pos).elevation
|
121
|
-
#
|
122
|
+
# weight_range = (Math::sin(elv)/0.8)**2
|
122
123
|
|
123
|
-
[
|
124
|
+
[weight_range, range_c, range_r, weight_rate, rate_rel_neg] + los_neg # must return relative property
|
124
125
|
}
|
125
126
|
|
126
127
|
# Range correction (since v0.3.0)
|
@@ -171,7 +172,7 @@ Utility to get and dump GPS files. After installation of gps_pvt, to type
|
|
171
172
|
|
172
173
|
$ gps_get file_or_URI(s) (options) > output_file
|
173
174
|
|
174
|
-
saves data into output_file by using redirection. http(s), ftp, ntrip, and supl can be used as scheme of URI. Serial port is also supported. Note that compressed data is automatically decompressed before output. The following options are available.
|
175
|
+
saves data into output_file by using redirection. http(s), ftp, ntrip, and supl can be used as scheme of URI. Serial port is also supported. Note that compressed data is automatically decompressed before output. It is also noted that supl received data are filtered to its LPP/RRLP content, and printed in JSON format. The following options are available.
|
175
176
|
|
176
177
|
| key | value | comment | since |
|
177
178
|
----|----|----|----
|