gps_pvt 0.1.5 → 0.2.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 +16 -4
- data/Rakefile +9 -4
- data/exe/gps_pvt +32 -23
- data/ext/gps_pvt/Coordinate/Coordinate_wrap.cxx +5 -3
- data/ext/gps_pvt/GPS/GPS_wrap.cxx +4302 -529
- data/ext/gps_pvt/SylphideMath/SylphideMath_wrap.cxx +7 -5
- data/ext/ninja-scan-light/tool/navigation/GPS.h +5 -4
- data/ext/ninja-scan-light/tool/navigation/GPS_Solver.h +62 -15
- data/ext/ninja-scan-light/tool/navigation/GPS_Solver_Base.h +33 -25
- data/ext/ninja-scan-light/tool/navigation/QZSS.h +62 -0
- data/ext/ninja-scan-light/tool/navigation/RINEX.h +583 -115
- data/ext/ninja-scan-light/tool/navigation/SBAS.h +2330 -0
- data/ext/ninja-scan-light/tool/navigation/SBAS_Solver.h +329 -0
- data/ext/ninja-scan-light/tool/swig/GPS.i +284 -99
- data/ext/ninja-scan-light/tool/swig/spec/GPS_spec.rb +18 -1
- data/lib/gps_pvt/receiver.rb +323 -141
- data/lib/gps_pvt/version.rb +1 -1
- metadata +9 -7
- data/gps_pvt.gemspec +0 -57
data/gps_pvt.gemspec
DELETED
@@ -1,57 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require_relative "lib/gps_pvt/version"
|
4
|
-
|
5
|
-
Gem::Specification.new do |spec|
|
6
|
-
spec.name = "gps_pvt"
|
7
|
-
spec.version = GPS_PVT::VERSION
|
8
|
-
spec.authors = ["fenrir(M.Naruoka)"]
|
9
|
-
spec.email = ["fenrir.naru@gmail.com"]
|
10
|
-
|
11
|
-
spec.summary = "GPS position, velocity, and time (PVT) solver"
|
12
|
-
spec.description = "This module calculate PVT by using raw observation obtained from a GPS receiver"
|
13
|
-
spec.homepage = "https://github.com/fenrir-naru/gps_pvt"
|
14
|
-
spec.required_ruby_version = ">= 2.3.0"
|
15
|
-
|
16
|
-
#spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"
|
17
|
-
|
18
|
-
spec.metadata["homepage_uri"] = spec.homepage
|
19
|
-
spec.metadata["source_code_uri"] = spec.homepage
|
20
|
-
#spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
|
21
|
-
|
22
|
-
spec.extensions = ["ext/gps_pvt/extconf.rb"]
|
23
|
-
|
24
|
-
# Specify which files should be added to the gem when it is released.
|
25
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
26
|
-
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
27
|
-
`git ls-files -z`.split("\x0").reject do |f|
|
28
|
-
(f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
|
29
|
-
end
|
30
|
-
end
|
31
|
-
spec.bindir = "exe"
|
32
|
-
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
33
|
-
spec.require_paths = ["lib"]
|
34
|
-
|
35
|
-
spec.files += proc{
|
36
|
-
require 'pathname'
|
37
|
-
base_dir = Pathname::new(File::absolute_path(File.dirname(__FILE__)))
|
38
|
-
# get an array of submodule dirs by executing 'pwd' inside each submodule
|
39
|
-
`git submodule --quiet foreach pwd`.split($/).collect{|dir|
|
40
|
-
# issue git ls-files in submodule's directory
|
41
|
-
`git -C #{dir} ls-files -v`.split($/).collect{|f|
|
42
|
-
next nil unless f =~ /^H */ # consider git sparse checkout
|
43
|
-
# get relative path
|
44
|
-
f = Pathname::new(File::join(dir, $'))
|
45
|
-
(f.relative? ? f : f.relative_path_from(base_dir)).to_s
|
46
|
-
}.compact
|
47
|
-
}.flatten
|
48
|
-
}.call
|
49
|
-
|
50
|
-
# Uncomment to register a new dependency of your gem
|
51
|
-
# spec.add_dependency "example-gem", "~> 1.0"
|
52
|
-
spec.add_development_dependency "rake"
|
53
|
-
spec.add_development_dependency "rake-compiler"
|
54
|
-
|
55
|
-
# For more information and examples about making a new gem, checkout our
|
56
|
-
# guide at: https://bundler.io/guides/creating_gem.html
|
57
|
-
end
|