gps_pvt 0.9.4 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -7
- data/Rakefile +18 -1
- data/exe/gps2ubx +12 -5
- data/exe/gps_pvt +7 -2
- 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/gps_pvt.gemspec +3 -2
- data/lib/gps_pvt/asn1/asn1.rb +888 -0
- data/lib/gps_pvt/asn1/asn1.y +903 -0
- data/lib/gps_pvt/asn1/per.rb +182 -0
- data/lib/gps_pvt/receiver/agps.rb +31 -0
- data/lib/gps_pvt/receiver/extension.rb +21 -0
- data/lib/gps_pvt/receiver/rtcm3.rb +2 -1
- data/lib/gps_pvt/receiver.rb +28 -20
- data/lib/gps_pvt/rtcm3.rb +17 -32
- data/lib/gps_pvt/supl.rb +567 -0
- data/lib/gps_pvt/ubx.rb +15 -0
- data/lib/gps_pvt/upl/LPP-V17_5_0-Release17.asn +6441 -0
- data/lib/gps_pvt/upl/RRLP-V17_0_0-Release17.asn +2780 -0
- data/lib/gps_pvt/upl/ULP-V2_0_6-20200720-D.asn +2185 -0
- data/lib/gps_pvt/upl/upl.json.gz +0 -0
- data/lib/gps_pvt/upl/upl.rb +99 -0
- data/lib/gps_pvt/util.rb +1 -0
- data/lib/gps_pvt/version.rb +1 -1
- metadata +26 -2
@@ -875,10 +875,10 @@ __RINEX_CLK_TEXT__
|
|
875
875
|
expect(pvt.vdop).to be_within(1E-2).of(1.87)
|
876
876
|
expect(pvt.tdop).to be_within(1E-2).of(1.08)
|
877
877
|
expect(pvt.velocity.to_a).to eq([:e, :n, :u].collect{|k| pvt.velocity.send(k)})
|
878
|
-
expect(pvt.velocity.north).to be_within(1E-2).of(-0.
|
879
|
-
expect(pvt.velocity.east) .to be_within(1E-2).of(-
|
880
|
-
expect(pvt.velocity.down) .to be_within(1E-2).of(
|
881
|
-
expect(pvt.receiver_error_rate).to be_within(1E-2).of(-
|
878
|
+
expect(pvt.velocity.north).to be_within(1E-2).of(-0.68) # north
|
879
|
+
expect(pvt.velocity.east) .to be_within(1E-2).of(-0.90) # east
|
880
|
+
expect(pvt.velocity.down) .to be_within(1E-2).of(0.26) # down
|
881
|
+
expect(pvt.receiver_error_rate).to be_within(1E-2).of(-1062.14)
|
882
882
|
expect(pvt.G.rows).to eq(6)
|
883
883
|
expect(pvt.W.rows).to eq(6)
|
884
884
|
expect(pvt.delta_r.rows).to eq(6)
|
@@ -942,9 +942,9 @@ __RINEX_CLK_TEXT__
|
|
942
942
|
expect(t_arv).to be_a_kind_of(GPS::Time)
|
943
943
|
expect(usr_pos).to be_a_kind_of(Coordinate::XYZ)
|
944
944
|
expect(usr_vel).to be_a_kind_of(Coordinate::XYZ)
|
945
|
-
|
946
|
-
|
947
|
-
[
|
945
|
+
weight_range, range_c, range_r, weight_rate, rate_rel_neg, *los_neg = rel_prop
|
946
|
+
weight_range = 1
|
947
|
+
[weight_range, range_c, range_r, weight_rate, rate_rel_neg] + los_neg
|
948
948
|
}
|
949
949
|
solver.hooks[:update_position_solution] = proc{|mat_G, mat_W, mat_delta_r, temp_pvt|
|
950
950
|
expect(temp_pvt).to be_a_kind_of(GPS::PVT)
|
data/gps_pvt.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
|
18
18
|
spec.metadata["homepage_uri"] = spec.homepage
|
19
19
|
spec.metadata["source_code_uri"] = spec.homepage
|
20
|
-
#spec.metadata["changelog_uri"] = "#{spec.homepage}/blob
|
20
|
+
#spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/-/CHANGELOG.md"
|
21
21
|
|
22
22
|
spec.extensions = ["ext/gps_pvt/extconf.rb"]
|
23
23
|
|
@@ -63,7 +63,8 @@ Gem::Specification.new do |spec|
|
|
63
63
|
spec.add_development_dependency "rake-compiler"
|
64
64
|
spec.add_development_dependency "rspec", "~> 3.0"
|
65
65
|
spec.add_development_dependency "matrix" if GPS_PVT::version_compare(RUBY_VERSION, "3.1") >= 0
|
66
|
-
spec.add_development_dependency "
|
66
|
+
spec.add_development_dependency "racc"
|
67
|
+
spec.add_development_dependency "github_changelog_generator" unless ((Gem::Platform.local.os =~ /mingw/) && (GPS_PVT::version_compare(RUBY_VERSION, "3.1") >= 0))
|
67
68
|
|
68
69
|
# For more information and examples about making a new gem, checkout our
|
69
70
|
# guide at: https://bundler.io/guides/creating_gem.html
|