gps_pvt 0.1.7 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b05eabd6a7d771c772d6146722153e6ae2e9292ed9f41892e8285a2aa7d2f4ee
4
- data.tar.gz: e8566da7fc64f0f330771ee8420bef47dfd819ae703d5ef46fe0bcf310ddf11f
3
+ metadata.gz: b49839b2da332d30293697783114af90a441fe477dfb85e17ac166c381970836
4
+ data.tar.gz: 4227cc97c2bdd1c5994a598ab1723c9bad86331478f0cc60aaa8435302bc9838
5
5
  SHA512:
6
- metadata.gz: 56054b607dc23efa2826f02ab117fc07080e447a3775215ea642aa4e77f481929ec0f8d66a4634c873cb453c9a5e9fc36fe73c528c361e50aaa844ebf385506f
7
- data.tar.gz: 4d47da0ba28881434c03ef1eb270c5d3e20dc17e5abbb222bb076ae2c2c8295a973b38764e7616e6f4adcd102904ed21389397a52ec3f91853c938e98464248e
6
+ metadata.gz: a81577f725c28dfe949342076d10826eb14238ec791bc58bc8b7797715b5bc6d6b014fd10454e8f2c56a66ac6b6d03965c79f9e94f39ac65b193fa815cd83924
7
+ data.tar.gz: f7eb1d3c1eb4e4ef61d8ada6b12efe1a0d4a9c167d87fc6d2ee7f829dcddb0f3b3c50c6a47a58b08cce57ca220283e2f73af24fafed27da3bb112e4af71a5efd
data/Rakefile CHANGED
@@ -30,6 +30,8 @@ namespace :git do
30
30
  "sparse-checkout set" + (<<-__SPARSE_PATTERNS__).lines.collect{|str| str.chomp.gsub(/^ */, ' ')}.join,
31
31
  /tool/param/
32
32
  /tool/navigation/GPS*
33
+ /tool/navigation/SBAS*
34
+ /tool/navigation/QZSS*
33
35
  /tool/navigation/coordinate.h
34
36
  /tool/navigation/EGM.h
35
37
  /tool/navigation/MagneticField.h
data/exe/gps_pvt CHANGED
@@ -11,12 +11,12 @@ File format is automatically determined based on its extention described in abov
11
11
  Note: YY = last two digit of year.
12
12
  __STRING__
13
13
 
14
- options = {}
14
+ options = []
15
15
 
16
16
  # check options
17
17
  ARGV.reject!{|arg|
18
18
  next false unless arg =~ /^--([^=]+)=?/
19
- options[$1.to_sym] = $'
19
+ options << [$1.to_sym, $']
20
20
  true
21
21
  }
22
22
 
@@ -27,11 +27,11 @@ ARGV.each{|arg|
27
27
 
28
28
  rcv = GPS_PVT::Receiver::new(options)
29
29
 
30
- puts GPS_PVT::Receiver::header
30
+ puts rcv.header
31
31
 
32
32
  # parse RINEX NAV
33
33
  ARGV.reject!{|arg|
34
- next false unless arg =~ /\.\d{2}n$/
34
+ next false unless arg =~ /\.\d{2}[nq]$/
35
35
  rcv.parse_rinex_nav(arg)
36
36
  }
37
37
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1612,6 +1612,8 @@ SWIGRUNTIMEINLINE char *
1612
1612
  SWIG_Ruby_MangleStr(VALUE obj)
1613
1613
  {
1614
1614
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1615
+ if (NIL_P(stype))
1616
+ return NULL;
1615
1617
  return StringValuePtr(stype);
1616
1618
  }
1617
1619
 
@@ -1872,7 +1874,7 @@ static VALUE mCoordinate;
1872
1874
  #define SWIG_RUBY_THREAD_END_BLOCK
1873
1875
 
1874
1876
 
1875
- #define SWIGVERSION 0x040001
1877
+ #define SWIGVERSION 0x040002
1876
1878
  #define SWIG_VERSION SWIGVERSION
1877
1879
 
1878
1880
 
@@ -2205,7 +2207,7 @@ SWIG_ruby_failed(VALUE SWIGUNUSEDPARM(arg1), VALUE SWIGUNUSEDPARM(arg2))
2205
2207
  }
2206
2208
 
2207
2209
 
2208
- /*@SWIG:/usr/share/swig4.0/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2210
+ /*@SWIG:/usr/local/share/swig/4.0.2/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2209
2211
  SWIGINTERN VALUE SWIG_AUX_NUM2DBL(VALUE arg)
2210
2212
  {
2211
2213
  VALUE *args = (VALUE *)arg;