gps_pvt 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +159 -3
- data/Rakefile +7 -0
- data/ext/gps_pvt/Coordinate/Coordinate_wrap.cxx +53 -19
- data/ext/gps_pvt/GPS/GPS_wrap.cxx +39 -7
- data/ext/gps_pvt/SylphideMath/SylphideMath_wrap.cxx +5210 -2058
- data/ext/gps_pvt/extconf.rb +6 -5
- data/ext/ninja-scan-light/tool/navigation/GLONASS_Solver.h +1 -1
- data/ext/ninja-scan-light/tool/navigation/GPS.h +6 -2
- data/ext/ninja-scan-light/tool/navigation/GPS_Solver.h +1 -1
- data/ext/ninja-scan-light/tool/navigation/GPS_Solver_Base.h +3 -1
- data/ext/ninja-scan-light/tool/navigation/GPS_Solver_MultiFrequency.h +3 -0
- data/ext/ninja-scan-light/tool/navigation/RINEX.h +9 -9
- data/ext/ninja-scan-light/tool/navigation/SBAS_Solver.h +1 -1
- data/ext/ninja-scan-light/tool/navigation/coordinate.h +13 -6
- data/ext/ninja-scan-light/tool/param/matrix.h +1020 -247
- data/ext/ninja-scan-light/tool/param/matrix_fixed.h +26 -0
- data/ext/ninja-scan-light/tool/swig/GPS.i +6 -4
- data/ext/ninja-scan-light/tool/swig/SylphideMath.i +139 -36
- data/ext/ninja-scan-light/tool/swig/spec/SylphideMath_spec.rb +115 -5
- data/gps_pvt.gemspec +2 -1
- data/lib/gps_pvt/ntrip.rb +1 -1
- data/lib/gps_pvt/receiver/rtcm3.rb +4 -3
- data/lib/gps_pvt/receiver.rb +18 -8
- data/lib/gps_pvt/rtcm3.rb +9 -4
- data/lib/gps_pvt/version.rb +1 -1
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3484f0e37e7c00f141b306449a90c6ccf3496a886d8c3c08b0a0506fabe5d6f6
|
4
|
+
data.tar.gz: c36df1d120c8d4310e0aad76627ba68763a6b5892bf44ae081dbd7745f962907
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49a7adb9bbe3f47513bc9f19e1a99ee50615c7b6b7d2377dad9ab1c8388335517b893a899da0ea33d781797256481f25328fd72e3da0e5398f9e155475232580
|
7
|
+
data.tar.gz: b4c64dacb8051345e3f370c7bb69f1d0decd6f4715826a319aadad3785f629ecf07facfc54248f290230fbc9d29a2d5889befeea06971f15a7a4fa7c91d832f7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,161 @@
|
|
1
|
-
|
1
|
+
# Changelog
|
2
2
|
|
3
|
-
## [
|
3
|
+
## [v0.9.4](https://github.com/fenrir-naru/gps_pvt/tree/v0.9.4) (2023-07-05)
|
4
4
|
|
5
|
-
-
|
5
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.9.3...v0.9.4)
|
6
|
+
|
7
|
+
## [v0.9.3](https://github.com/fenrir-naru/gps_pvt/tree/v0.9.3) (2023-03-07)
|
8
|
+
|
9
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.9.2...v0.9.3)
|
10
|
+
|
11
|
+
## [v0.9.2](https://github.com/fenrir-naru/gps_pvt/tree/v0.9.2) (2023-02-13)
|
12
|
+
|
13
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.9.1...v0.9.2)
|
14
|
+
|
15
|
+
## [v0.9.1](https://github.com/fenrir-naru/gps_pvt/tree/v0.9.1) (2023-01-27)
|
16
|
+
|
17
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.9.0...v0.9.1)
|
18
|
+
|
19
|
+
## [v0.9.0](https://github.com/fenrir-naru/gps_pvt/tree/v0.9.0) (2023-01-22)
|
20
|
+
|
21
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.8.5...v0.9.0)
|
22
|
+
|
23
|
+
## [v0.8.5](https://github.com/fenrir-naru/gps_pvt/tree/v0.8.5) (2022-12-22)
|
24
|
+
|
25
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.8.4...v0.8.5)
|
26
|
+
|
27
|
+
## [v0.8.4](https://github.com/fenrir-naru/gps_pvt/tree/v0.8.4) (2022-12-19)
|
28
|
+
|
29
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.8.3...v0.8.4)
|
30
|
+
|
31
|
+
## [v0.8.3](https://github.com/fenrir-naru/gps_pvt/tree/v0.8.3) (2022-11-30)
|
32
|
+
|
33
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.8.2...v0.8.3)
|
34
|
+
|
35
|
+
## [v0.8.2](https://github.com/fenrir-naru/gps_pvt/tree/v0.8.2) (2022-11-20)
|
36
|
+
|
37
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.8.1...v0.8.2)
|
38
|
+
|
39
|
+
## [v0.8.1](https://github.com/fenrir-naru/gps_pvt/tree/v0.8.1) (2022-11-17)
|
40
|
+
|
41
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.8.0...v0.8.1)
|
42
|
+
|
43
|
+
## [v0.8.0](https://github.com/fenrir-naru/gps_pvt/tree/v0.8.0) (2022-09-13)
|
44
|
+
|
45
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.7.2...v0.8.0)
|
46
|
+
|
47
|
+
## [v0.7.2](https://github.com/fenrir-naru/gps_pvt/tree/v0.7.2) (2022-09-07)
|
48
|
+
|
49
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.7.1...v0.7.2)
|
50
|
+
|
51
|
+
## [v0.7.1](https://github.com/fenrir-naru/gps_pvt/tree/v0.7.1) (2022-08-25)
|
52
|
+
|
53
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.7.0...v0.7.1)
|
54
|
+
|
55
|
+
## [v0.7.0](https://github.com/fenrir-naru/gps_pvt/tree/v0.7.0) (2022-08-24)
|
56
|
+
|
57
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.6.4...v0.7.0)
|
58
|
+
|
59
|
+
## [v0.6.4](https://github.com/fenrir-naru/gps_pvt/tree/v0.6.4) (2022-08-19)
|
60
|
+
|
61
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.6.3...v0.6.4)
|
62
|
+
|
63
|
+
## [v0.6.3](https://github.com/fenrir-naru/gps_pvt/tree/v0.6.3) (2022-08-19)
|
64
|
+
|
65
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.6.2...v0.6.3)
|
66
|
+
|
67
|
+
## [v0.6.2](https://github.com/fenrir-naru/gps_pvt/tree/v0.6.2) (2022-08-03)
|
68
|
+
|
69
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.6.1...v0.6.2)
|
70
|
+
|
71
|
+
## [v0.6.1](https://github.com/fenrir-naru/gps_pvt/tree/v0.6.1) (2022-07-21)
|
72
|
+
|
73
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.6.0...v0.6.1)
|
74
|
+
|
75
|
+
## [v0.6.0](https://github.com/fenrir-naru/gps_pvt/tree/v0.6.0) (2022-07-14)
|
76
|
+
|
77
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.5.1...v0.6.0)
|
78
|
+
|
79
|
+
## [v0.5.1](https://github.com/fenrir-naru/gps_pvt/tree/v0.5.1) (2022-05-07)
|
80
|
+
|
81
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.5.0...v0.5.1)
|
82
|
+
|
83
|
+
## [v0.5.0](https://github.com/fenrir-naru/gps_pvt/tree/v0.5.0) (2022-04-11)
|
84
|
+
|
85
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.4.1...v0.5.0)
|
86
|
+
|
87
|
+
## [v0.4.1](https://github.com/fenrir-naru/gps_pvt/tree/v0.4.1) (2022-03-30)
|
88
|
+
|
89
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.4.0...v0.4.1)
|
90
|
+
|
91
|
+
## [v0.4.0](https://github.com/fenrir-naru/gps_pvt/tree/v0.4.0) (2022-03-17)
|
92
|
+
|
93
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.3.3...v0.4.0)
|
94
|
+
|
95
|
+
## [v0.3.3](https://github.com/fenrir-naru/gps_pvt/tree/v0.3.3) (2022-03-04)
|
96
|
+
|
97
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.3.2...v0.3.3)
|
98
|
+
|
99
|
+
## [v0.3.2](https://github.com/fenrir-naru/gps_pvt/tree/v0.3.2) (2022-03-04)
|
100
|
+
|
101
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.3.1...v0.3.2)
|
102
|
+
|
103
|
+
## [v0.3.1](https://github.com/fenrir-naru/gps_pvt/tree/v0.3.1) (2022-03-04)
|
104
|
+
|
105
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.3.0...v0.3.1)
|
106
|
+
|
107
|
+
## [v0.3.0](https://github.com/fenrir-naru/gps_pvt/tree/v0.3.0) (2022-03-01)
|
108
|
+
|
109
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.2.3...v0.3.0)
|
110
|
+
|
111
|
+
## [v0.2.3](https://github.com/fenrir-naru/gps_pvt/tree/v0.2.3) (2022-02-22)
|
112
|
+
|
113
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.2.2...v0.2.3)
|
114
|
+
|
115
|
+
## [v0.2.2](https://github.com/fenrir-naru/gps_pvt/tree/v0.2.2) (2022-02-22)
|
116
|
+
|
117
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.2.1...v0.2.2)
|
118
|
+
|
119
|
+
## [v0.2.1](https://github.com/fenrir-naru/gps_pvt/tree/v0.2.1) (2022-01-31)
|
120
|
+
|
121
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.2.0...v0.2.1)
|
122
|
+
|
123
|
+
## [v0.2.0](https://github.com/fenrir-naru/gps_pvt/tree/v0.2.0) (2022-01-26)
|
124
|
+
|
125
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.1.7...v0.2.0)
|
126
|
+
|
127
|
+
## [v0.1.7](https://github.com/fenrir-naru/gps_pvt/tree/v0.1.7) (2022-01-14)
|
128
|
+
|
129
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.1.6...v0.1.7)
|
130
|
+
|
131
|
+
## [v0.1.6](https://github.com/fenrir-naru/gps_pvt/tree/v0.1.6) (2021-12-22)
|
132
|
+
|
133
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.1.5...v0.1.6)
|
134
|
+
|
135
|
+
## [v0.1.5](https://github.com/fenrir-naru/gps_pvt/tree/v0.1.5) (2021-12-22)
|
136
|
+
|
137
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.1.4...v0.1.5)
|
138
|
+
|
139
|
+
## [v0.1.4](https://github.com/fenrir-naru/gps_pvt/tree/v0.1.4) (2021-12-22)
|
140
|
+
|
141
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.1.3...v0.1.4)
|
142
|
+
|
143
|
+
## [v0.1.3](https://github.com/fenrir-naru/gps_pvt/tree/v0.1.3) (2021-12-21)
|
144
|
+
|
145
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.1.2...v0.1.3)
|
146
|
+
|
147
|
+
## [v0.1.2](https://github.com/fenrir-naru/gps_pvt/tree/v0.1.2) (2021-12-21)
|
148
|
+
|
149
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.1.1...v0.1.2)
|
150
|
+
|
151
|
+
## [v0.1.1](https://github.com/fenrir-naru/gps_pvt/tree/v0.1.1) (2021-12-20)
|
152
|
+
|
153
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/v0.1.0...v0.1.1)
|
154
|
+
|
155
|
+
## [v0.1.0](https://github.com/fenrir-naru/gps_pvt/tree/v0.1.0) (2021-12-20)
|
156
|
+
|
157
|
+
[Full Changelog](https://github.com/fenrir-naru/gps_pvt/compare/71da9fe5d66088c8fb93cd0a74cc7f8056141e51...v0.1.0)
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
data/Rakefile
CHANGED
@@ -111,4 +111,11 @@ file "ext/ninja-scan-light/tool" do |t|
|
|
111
111
|
Rake::Task["git:submodules:init"].invoke
|
112
112
|
end
|
113
113
|
|
114
|
+
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
|
115
|
+
%r|github\.com/([^/]+)/([^/]+)| =~ Bundler::load_gemspec(
|
116
|
+
Dir::glob(File::join(File::dirname(__FILE__), '*.gemspec')).first).homepage
|
117
|
+
config.user = $1
|
118
|
+
config.project = $2
|
119
|
+
end if require 'github_changelog_generator/task'
|
120
|
+
|
114
121
|
task :default => ["ext/ninja-scan-light/tool", :compile, :spec]
|
@@ -2209,7 +2209,7 @@ SWIG_ruby_failed(VALUE SWIGUNUSEDPARM(arg1), VALUE SWIGUNUSEDPARM(arg2))
|
|
2209
2209
|
}
|
2210
2210
|
|
2211
2211
|
|
2212
|
-
/*@SWIG:/usr/
|
2212
|
+
/*@SWIG:/usr/share/swig4.0/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
|
2213
2213
|
SWIGINTERN VALUE SWIG_AUX_NUM2DBL(VALUE arg)
|
2214
2214
|
{
|
2215
2215
|
VALUE *args = (VALUE *)arg;
|
@@ -3665,17 +3665,17 @@ fail:
|
|
3665
3665
|
|
3666
3666
|
|
3667
3667
|
/*
|
3668
|
-
Document-method: GPS_PVT::Coordinate::XYZ.
|
3668
|
+
Document-method: GPS_PVT::Coordinate::XYZ.distance
|
3669
3669
|
|
3670
3670
|
call-seq:
|
3671
|
-
|
3672
|
-
|
3671
|
+
distance -> double
|
3672
|
+
distance(XYZ another) -> double
|
3673
3673
|
|
3674
3674
|
An instance method.
|
3675
3675
|
|
3676
3676
|
*/
|
3677
3677
|
SWIGINTERN VALUE
|
3678
|
-
|
3678
|
+
_wrap_XYZ_distance__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
3679
3679
|
System_XYZ< double,WGS84 > *arg1 = (System_XYZ< double,WGS84 > *) 0 ;
|
3680
3680
|
void *argp1 = 0 ;
|
3681
3681
|
int res1 = 0 ;
|
@@ -3687,10 +3687,10 @@ _wrap_XYZ_dist__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
3687
3687
|
}
|
3688
3688
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_System_XYZT_double_WGS84_t, 0 | 0 );
|
3689
3689
|
if (!SWIG_IsOK(res1)) {
|
3690
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "System_XYZ< double,WGS84 > const *","
|
3690
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "System_XYZ< double,WGS84 > const *","distance", 1, self ));
|
3691
3691
|
}
|
3692
3692
|
arg1 = reinterpret_cast< System_XYZ< double,WGS84 > * >(argp1);
|
3693
|
-
result = (double)((System_XYZ< double,WGS84 > const *)arg1)->
|
3693
|
+
result = (double)((System_XYZ< double,WGS84 > const *)arg1)->distance();
|
3694
3694
|
vresult = SWIG_From_double(static_cast< double >(result));
|
3695
3695
|
return vresult;
|
3696
3696
|
fail:
|
@@ -3699,7 +3699,7 @@ fail:
|
|
3699
3699
|
|
3700
3700
|
|
3701
3701
|
SWIGINTERN VALUE
|
3702
|
-
|
3702
|
+
_wrap_XYZ_distance__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
3703
3703
|
System_XYZ< double,WGS84 > *arg1 = (System_XYZ< double,WGS84 > *) 0 ;
|
3704
3704
|
System_XYZ< double,WGS84 >::self_t *arg2 = 0 ;
|
3705
3705
|
void *argp1 = 0 ;
|
@@ -3714,18 +3714,18 @@ _wrap_XYZ_dist__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
3714
3714
|
}
|
3715
3715
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_System_XYZT_double_WGS84_t, 0 | 0 );
|
3716
3716
|
if (!SWIG_IsOK(res1)) {
|
3717
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "System_XYZ< double,WGS84 > const *","
|
3717
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "System_XYZ< double,WGS84 > const *","distance", 1, self ));
|
3718
3718
|
}
|
3719
3719
|
arg1 = reinterpret_cast< System_XYZ< double,WGS84 > * >(argp1);
|
3720
3720
|
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_System_XYZT_double_WGS84_t, 0 );
|
3721
3721
|
if (!SWIG_IsOK(res2)) {
|
3722
|
-
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "System_XYZ< double,WGS84 >::self_t const &","
|
3722
|
+
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "System_XYZ< double,WGS84 >::self_t const &","distance", 2, argv[0] ));
|
3723
3723
|
}
|
3724
3724
|
if (!argp2) {
|
3725
|
-
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "System_XYZ< double,WGS84 >::self_t const &","
|
3725
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "System_XYZ< double,WGS84 >::self_t const &","distance", 2, argv[0]));
|
3726
3726
|
}
|
3727
3727
|
arg2 = reinterpret_cast< System_XYZ< double,WGS84 >::self_t * >(argp2);
|
3728
|
-
result = (double)((System_XYZ< double,WGS84 > const *)arg1)->
|
3728
|
+
result = (double)((System_XYZ< double,WGS84 > const *)arg1)->distance((System_XYZ< double,WGS84 >::self_t const &)*arg2);
|
3729
3729
|
vresult = SWIG_From_double(static_cast< double >(result));
|
3730
3730
|
return vresult;
|
3731
3731
|
fail:
|
@@ -3733,7 +3733,7 @@ fail:
|
|
3733
3733
|
}
|
3734
3734
|
|
3735
3735
|
|
3736
|
-
SWIGINTERN VALUE
|
3736
|
+
SWIGINTERN VALUE _wrap_XYZ_distance(int nargs, VALUE *args, VALUE self) {
|
3737
3737
|
int argc;
|
3738
3738
|
VALUE argv[3];
|
3739
3739
|
int ii;
|
@@ -3750,7 +3750,7 @@ SWIGINTERN VALUE _wrap_XYZ_dist(int nargs, VALUE *args, VALUE self) {
|
|
3750
3750
|
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_System_XYZT_double_WGS84_t, 0);
|
3751
3751
|
_v = SWIG_CheckState(res);
|
3752
3752
|
if (_v) {
|
3753
|
-
return
|
3753
|
+
return _wrap_XYZ_distance__SWIG_0(nargs, args, self);
|
3754
3754
|
}
|
3755
3755
|
}
|
3756
3756
|
if (argc == 2) {
|
@@ -3763,15 +3763,15 @@ SWIGINTERN VALUE _wrap_XYZ_dist(int nargs, VALUE *args, VALUE self) {
|
|
3763
3763
|
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_System_XYZT_double_WGS84_t, SWIG_POINTER_NO_NULL);
|
3764
3764
|
_v = SWIG_CheckState(res);
|
3765
3765
|
if (_v) {
|
3766
|
-
return
|
3766
|
+
return _wrap_XYZ_distance__SWIG_1(nargs, args, self);
|
3767
3767
|
}
|
3768
3768
|
}
|
3769
3769
|
}
|
3770
3770
|
|
3771
3771
|
fail:
|
3772
|
-
Ruby_Format_OverloadedError( argc, 3, "XYZ.
|
3773
|
-
" double XYZ.
|
3774
|
-
" double XYZ.
|
3772
|
+
Ruby_Format_OverloadedError( argc, 3, "XYZ.distance",
|
3773
|
+
" double XYZ.distance()\n"
|
3774
|
+
" double XYZ.distance(System_XYZ< double,WGS84 >::self_t const &another)\n");
|
3775
3775
|
|
3776
3776
|
return Qnil;
|
3777
3777
|
}
|
@@ -5966,6 +5966,39 @@ fail:
|
|
5966
5966
|
}
|
5967
5967
|
|
5968
5968
|
|
5969
|
+
/*
|
5970
|
+
Document-method: GPS_PVT::Coordinate::ENU.distance
|
5971
|
+
|
5972
|
+
call-seq:
|
5973
|
+
distance -> double
|
5974
|
+
|
5975
|
+
An instance method.
|
5976
|
+
|
5977
|
+
*/
|
5978
|
+
SWIGINTERN VALUE
|
5979
|
+
_wrap_ENU_distance(int argc, VALUE *argv, VALUE self) {
|
5980
|
+
System_ENU< double,WGS84 > *arg1 = (System_ENU< double,WGS84 > *) 0 ;
|
5981
|
+
void *argp1 = 0 ;
|
5982
|
+
int res1 = 0 ;
|
5983
|
+
double result;
|
5984
|
+
VALUE vresult = Qnil;
|
5985
|
+
|
5986
|
+
if ((argc < 0) || (argc > 0)) {
|
5987
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
5988
|
+
}
|
5989
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_System_ENUT_double_WGS84_t, 0 | 0 );
|
5990
|
+
if (!SWIG_IsOK(res1)) {
|
5991
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "System_ENU< double,WGS84 > const *","distance", 1, self ));
|
5992
|
+
}
|
5993
|
+
arg1 = reinterpret_cast< System_ENU< double,WGS84 > * >(argp1);
|
5994
|
+
result = (double)((System_ENU< double,WGS84 > const *)arg1)->distance();
|
5995
|
+
vresult = SWIG_From_double(static_cast< double >(result));
|
5996
|
+
return vresult;
|
5997
|
+
fail:
|
5998
|
+
return Qnil;
|
5999
|
+
}
|
6000
|
+
|
6001
|
+
|
5969
6002
|
/*
|
5970
6003
|
Document-method: GPS_PVT::Coordinate::ENU.elevation
|
5971
6004
|
|
@@ -6598,7 +6631,7 @@ SWIGEXPORT void Init_Coordinate(void) {
|
|
6598
6631
|
rb_define_method(SwigClassXYZ.klass, "z", VALUEFUNC(_wrap_XYZ_z), -1);
|
6599
6632
|
rb_define_method(SwigClassXYZ.klass, "+", VALUEFUNC(_wrap_XYZ___add__), -1);
|
6600
6633
|
rb_define_method(SwigClassXYZ.klass, "-", VALUEFUNC(_wrap_XYZ___sub__), -1);
|
6601
|
-
rb_define_method(SwigClassXYZ.klass, "
|
6634
|
+
rb_define_method(SwigClassXYZ.klass, "distance", VALUEFUNC(_wrap_XYZ_distance), -1);
|
6602
6635
|
rb_define_singleton_method(SwigClassXYZ.klass, "f0", VALUEFUNC(_wrap_XYZ_f0_get), 0);
|
6603
6636
|
rb_define_singleton_method(SwigClassXYZ.klass, "a0", VALUEFUNC(_wrap_XYZ_a0_get), 0);
|
6604
6637
|
rb_define_singleton_method(SwigClassXYZ.klass, "b0", VALUEFUNC(_wrap_XYZ_b0_get), 0);
|
@@ -6652,6 +6685,7 @@ SWIGEXPORT void Init_Coordinate(void) {
|
|
6652
6685
|
rb_define_singleton_method(SwigClassENU.klass, "relative_rel", VALUEFUNC(_wrap_ENU_relative_rel), -1);
|
6653
6686
|
rb_define_singleton_method(SwigClassENU.klass, "relative", VALUEFUNC(_wrap_ENU_relative), -1);
|
6654
6687
|
rb_define_method(SwigClassENU.klass, "absolute", VALUEFUNC(_wrap_ENU_absolute), -1);
|
6688
|
+
rb_define_method(SwigClassENU.klass, "distance", VALUEFUNC(_wrap_ENU_distance), -1);
|
6655
6689
|
rb_define_method(SwigClassENU.klass, "elevation", VALUEFUNC(_wrap_ENU_elevation), -1);
|
6656
6690
|
rb_define_method(SwigClassENU.klass, "azimuth", VALUEFUNC(_wrap_ENU_azimuth), -1);
|
6657
6691
|
rb_define_method(SwigClassENU.klass, "down", VALUEFUNC(_wrap_ENU_down), -1);
|
@@ -2551,6 +2551,7 @@ struct GPS_Measurement {
|
|
2551
2551
|
L1_RANGE_RATE_SIGMA,
|
2552
2552
|
L1_SIGNAL_STRENGTH_dBHz,
|
2553
2553
|
L1_LOCK_SEC,
|
2554
|
+
L1_CARRIER_PHASE_AMBIGUITY_SCALE,
|
2554
2555
|
L1_FREQUENCY,
|
2555
2556
|
|
2556
2557
|
|
@@ -2560,6 +2561,7 @@ struct GPS_Measurement {
|
|
2560
2561
|
L2CM_RANGE_RATE, L2CL_RANGE_RATE, L2CM_RANGE_RATE_SIGMA, L2CL_RANGE_RATE_SIGMA,
|
2561
2562
|
L2CM_SIGNAL_STRENGTH_dBHz, L2CL_SIGNAL_STRENGTH_dBHz,
|
2562
2563
|
L2CM_LOCK_SEC, L2CL_LOCK_SEC,
|
2564
|
+
L2CM_CARRIER_PHASE_AMBIGUITY_SCALE, L2CL_CARRIER_PHASE_AMBIGUITY_SCALE,
|
2563
2565
|
|
2564
2566
|
|
2565
2567
|
ITEMS_PREDEFINED,
|
@@ -3082,7 +3084,7 @@ SWIG_ruby_failed(VALUE SWIGUNUSEDPARM(arg1), VALUE SWIGUNUSEDPARM(arg2))
|
|
3082
3084
|
}
|
3083
3085
|
|
3084
3086
|
|
3085
|
-
/*@SWIG:/usr/
|
3087
|
+
/*@SWIG:/usr/share/swig4.0/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
|
3086
3088
|
SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE arg)
|
3087
3089
|
{
|
3088
3090
|
VALUE *args = (VALUE *)arg;
|
@@ -3148,7 +3150,7 @@ SWIG_AsVal_bool (VALUE obj, bool *val)
|
|
3148
3150
|
}
|
3149
3151
|
|
3150
3152
|
|
3151
|
-
/*@SWIG:/usr/
|
3153
|
+
/*@SWIG:/usr/share/swig4.0/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
|
3152
3154
|
SWIGINTERN VALUE SWIG_AUX_NUM2DBL(VALUE arg)
|
3153
3155
|
{
|
3154
3156
|
VALUE *args = (VALUE *)arg;
|
@@ -3228,7 +3230,7 @@ SWIG_From_std_tm (const std::tm &value){
|
|
3228
3230
|
}
|
3229
3231
|
|
3230
3232
|
|
3231
|
-
/*@SWIG:/usr/
|
3233
|
+
/*@SWIG:/usr/share/swig4.0/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
|
3232
3234
|
SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE arg)
|
3233
3235
|
{
|
3234
3236
|
VALUE *args = (VALUE *)arg;
|
@@ -4066,18 +4068,18 @@ SWIGINTERN GPS_Ephemeris< double >::constellation_res_t GPS_Ephemeris_Sl_double_
|
|
4066
4068
|
.append(inspect_str(v_key_value)).append("}").c_str());
|
4067
4069
|
}
|
4068
4070
|
rb_hash_foreach(v_key_value,
|
4069
|
-
|
4071
|
+
#if RUBY_API_VERSION_CODE < 20700
|
4070
4072
|
// @see https://docs.ruby-lang.org/ja/latest/doc/news=2f2_7_0.html
|
4071
4073
|
(int (*)(ANYARGS))
|
4072
|
-
|
4074
|
+
#endif
|
4073
4075
|
arg_t::iter2, v_arg);
|
4074
4076
|
return ST_CONTINUE;
|
4075
4077
|
}
|
4076
4078
|
} arg = {val};
|
4077
4079
|
rb_hash_foreach(obj,
|
4078
|
-
|
4080
|
+
#if RUBY_API_VERSION_CODE < 20700
|
4079
4081
|
(int (*)(ANYARGS))
|
4080
|
-
|
4082
|
+
#endif
|
4081
4083
|
arg_t::iter1, reinterpret_cast<VALUE>(&arg));
|
4082
4084
|
return SWIG_OK;
|
4083
4085
|
}
|
@@ -14843,6 +14845,15 @@ A class method.
|
|
14843
14845
|
|
14844
14846
|
A class method.
|
14845
14847
|
|
14848
|
+
*/
|
14849
|
+
/*
|
14850
|
+
Document-method: GPS_PVT::GPS.L1_CARRIER_PHASE_AMBIGUITY_SCALE
|
14851
|
+
|
14852
|
+
call-seq:
|
14853
|
+
L1_CARRIER_PHASE_AMBIGUITY_SCALE -> int
|
14854
|
+
|
14855
|
+
A class method.
|
14856
|
+
|
14846
14857
|
*/
|
14847
14858
|
/*
|
14848
14859
|
Document-method: GPS_PVT::GPS.L1_FREQUENCY
|
@@ -15032,6 +15043,24 @@ A class method.
|
|
15032
15043
|
|
15033
15044
|
A class method.
|
15034
15045
|
|
15046
|
+
*/
|
15047
|
+
/*
|
15048
|
+
Document-method: GPS_PVT::GPS.L2CM_CARRIER_PHASE_AMBIGUITY_SCALE
|
15049
|
+
|
15050
|
+
call-seq:
|
15051
|
+
L2CM_CARRIER_PHASE_AMBIGUITY_SCALE -> int
|
15052
|
+
|
15053
|
+
A class method.
|
15054
|
+
|
15055
|
+
*/
|
15056
|
+
/*
|
15057
|
+
Document-method: GPS_PVT::GPS.L2CL_CARRIER_PHASE_AMBIGUITY_SCALE
|
15058
|
+
|
15059
|
+
call-seq:
|
15060
|
+
L2CL_CARRIER_PHASE_AMBIGUITY_SCALE -> int
|
15061
|
+
|
15062
|
+
A class method.
|
15063
|
+
|
15035
15064
|
*/
|
15036
15065
|
/*
|
15037
15066
|
Document-method: GPS_PVT::GPS.ITEMS_PREDEFINED
|
@@ -25245,6 +25274,7 @@ SWIGEXPORT void Init_GPS(void) {
|
|
25245
25274
|
rb_define_const(SwigClassMeasurement.klass, "L1_RANGE_RATE_SIGMA", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L1_RANGE_RATE_SIGMA)));
|
25246
25275
|
rb_define_const(SwigClassMeasurement.klass, "L1_SIGNAL_STRENGTH_dBHz", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L1_SIGNAL_STRENGTH_dBHz)));
|
25247
25276
|
rb_define_const(SwigClassMeasurement.klass, "L1_LOCK_SEC", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L1_LOCK_SEC)));
|
25277
|
+
rb_define_const(SwigClassMeasurement.klass, "L1_CARRIER_PHASE_AMBIGUITY_SCALE", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L1_CARRIER_PHASE_AMBIGUITY_SCALE)));
|
25248
25278
|
rb_define_const(SwigClassMeasurement.klass, "L1_FREQUENCY", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L1_FREQUENCY)));
|
25249
25279
|
rb_define_const(SwigClassMeasurement.klass, "L2CM_PSEUDORANGE", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L2CM_PSEUDORANGE)));
|
25250
25280
|
rb_define_const(SwigClassMeasurement.klass, "L2CL_PSEUDORANGE", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L2CL_PSEUDORANGE)));
|
@@ -25266,6 +25296,8 @@ SWIGEXPORT void Init_GPS(void) {
|
|
25266
25296
|
rb_define_const(SwigClassMeasurement.klass, "L2CL_SIGNAL_STRENGTH_dBHz", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L2CL_SIGNAL_STRENGTH_dBHz)));
|
25267
25297
|
rb_define_const(SwigClassMeasurement.klass, "L2CM_LOCK_SEC", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L2CM_LOCK_SEC)));
|
25268
25298
|
rb_define_const(SwigClassMeasurement.klass, "L2CL_LOCK_SEC", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L2CL_LOCK_SEC)));
|
25299
|
+
rb_define_const(SwigClassMeasurement.klass, "L2CM_CARRIER_PHASE_AMBIGUITY_SCALE", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L2CM_CARRIER_PHASE_AMBIGUITY_SCALE)));
|
25300
|
+
rb_define_const(SwigClassMeasurement.klass, "L2CL_CARRIER_PHASE_AMBIGUITY_SCALE", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L2CL_CARRIER_PHASE_AMBIGUITY_SCALE)));
|
25269
25301
|
rb_define_const(SwigClassMeasurement.klass, "ITEMS_PREDEFINED", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::ITEMS_PREDEFINED)));
|
25270
25302
|
rb_define_method(SwigClassMeasurement.klass, "add", VALUEFUNC(_wrap_Measurement_add), -1);
|
25271
25303
|
rb_define_method(SwigClassMeasurement.klass, "each", VALUEFUNC(_wrap_Measurement_each), -1);
|