gps_pvt 0.9.4 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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.86) # north
879
- expect(pvt.velocity.east) .to be_within(1E-2).of(-1.10) # east
880
- expect(pvt.velocity.down) .to be_within(1E-2).of(-0.22) # down
881
- expect(pvt.receiver_error_rate).to be_within(1E-2).of(-1061.86)
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
- weight, range_c, range_r, rate_rel_neg, *los_neg = rel_prop
946
- weight = 1
947
- [weight, range_c, range_r, rate_rel_neg] + los_neg
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/main/CHANGELOG.md"
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 "github_changelog_generator"
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