gps_pvt 0.8.1 → 0.8.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1862,61 +1862,59 @@ int SWIG_Ruby_arity( VALUE proc, int minimal )
1862
1862
  #define SWIGTYPE_p_GPS_SolverOptionsT_double_t swig_types[12]
1863
1863
  #define SWIGTYPE_p_GPS_SolverOptions_CommonT_double_t swig_types[13]
1864
1864
  #define SWIGTYPE_p_GPS_SolverT_double_t swig_types[14]
1865
- #define SWIGTYPE_p_GPS_Solver_GeneralOptionsT_double_t swig_types[15]
1866
- #define SWIGTYPE_p_GPS_SpaceNodeT_double_t swig_types[16]
1867
- #define SWIGTYPE_p_GPS_SpaceNodeT_double_t__Ionospheric_UTC_Parameters swig_types[17]
1868
- #define SWIGTYPE_p_GPS_SpaceNodeT_double_t__SatelliteProperties__Ephemeris swig_types[18]
1869
- #define SWIGTYPE_p_GPS_TimeT_double_t swig_types[19]
1870
- #define SWIGTYPE_p_GPS_TimeT_double_t__leap_second_event_t swig_types[20]
1871
- #define SWIGTYPE_p_GPS_TimeT_double_t__leap_year_prop_res_t swig_types[21]
1872
- #define SWIGTYPE_p_GPS_User_PVTT_double_t swig_types[22]
1873
- #define SWIGTYPE_p_MatrixT_ComplexT_double_t_Array2D_DenseT_ComplexT_double_t_t_MatrixViewBaseT_t_t swig_types[23]
1874
- #define SWIGTYPE_p_MatrixT_double_Array2D_DenseT_double_t_MatrixViewBaseT_t_t swig_types[24]
1875
- #define SWIGTYPE_p_MatrixViewBaseT_t swig_types[25]
1876
- #define SWIGTYPE_p_MatrixViewFilterT_MatrixViewBaseT_t_t swig_types[26]
1877
- #define SWIGTYPE_p_Matrix_FrozenT_double_Array2D_DenseT_double_t_MatrixViewBaseT_t_t swig_types[27]
1878
- #define SWIGTYPE_p_PushableData swig_types[28]
1879
- #define SWIGTYPE_p_RINEX_ClockT_double_t swig_types[29]
1880
- #define SWIGTYPE_p_RINEX_ObservationT_double_t swig_types[30]
1881
- #define SWIGTYPE_p_SBAS_EphemerisT_double_t swig_types[31]
1882
- #define SWIGTYPE_p_SBAS_SolverOptionsT_double_t swig_types[32]
1883
- #define SWIGTYPE_p_SBAS_SpaceNodeT_double_t swig_types[33]
1884
- #define SWIGTYPE_p_SBAS_SpaceNodeT_double_t__SatelliteProperties__Ephemeris swig_types[34]
1885
- #define SWIGTYPE_p_SP3T_double_t swig_types[35]
1886
- #define SWIGTYPE_p_System_ENUT_double_WGS84_t swig_types[36]
1887
- #define SWIGTYPE_p_System_LLHT_double_WGS84_t swig_types[37]
1888
- #define SWIGTYPE_p_System_XYZT_double_WGS84_t swig_types[38]
1889
- #define SWIGTYPE_p_available_satellites_t swig_types[39]
1890
- #define SWIGTYPE_p_char swig_types[40]
1891
- #define SWIGTYPE_p_double swig_types[41]
1892
- #define SWIGTYPE_p_enu_t swig_types[42]
1893
- #define SWIGTYPE_p_eph_t swig_types[43]
1894
- #define SWIGTYPE_p_float_t swig_types[44]
1895
- #define SWIGTYPE_p_gps_space_node_t swig_types[45]
1896
- #define SWIGTYPE_p_gps_time_t swig_types[46]
1897
- #define SWIGTYPE_p_int swig_types[47]
1898
- #define SWIGTYPE_p_int_t swig_types[48]
1899
- #define SWIGTYPE_p_llh_t swig_types[49]
1900
- #define SWIGTYPE_p_p_GPS_Solver_RAIM_LSRT_double_GPS_Solver_Base_DebugT_double_GPS_Solver_BaseT_double_t_t_t__user_pvt_t__detection_t swig_types[50]
1901
- #define SWIGTYPE_p_p_GPS_Solver_RAIM_LSRT_double_GPS_Solver_Base_DebugT_double_GPS_Solver_BaseT_double_t_t_t__user_pvt_t__exclusion_t swig_types[51]
1902
- #define SWIGTYPE_p_p_double swig_types[52]
1903
- #define SWIGTYPE_p_range_correction_list_t swig_types[53]
1904
- #define SWIGTYPE_p_s16_t swig_types[54]
1905
- #define SWIGTYPE_p_s32_t swig_types[55]
1906
- #define SWIGTYPE_p_s8_t swig_types[56]
1907
- #define SWIGTYPE_p_satellites_t swig_types[57]
1908
- #define SWIGTYPE_p_self_t swig_types[58]
1909
- #define SWIGTYPE_p_std__vectorT_std__pairT_int_SBAS_SpaceNodeT_double_t__Satellite_const_p_t_t swig_types[59]
1910
- #define SWIGTYPE_p_super_t swig_types[60]
1911
- #define SWIGTYPE_p_swig__GC_VALUE swig_types[61]
1912
- #define SWIGTYPE_p_u16_t swig_types[62]
1913
- #define SWIGTYPE_p_u32_t swig_types[63]
1914
- #define SWIGTYPE_p_u8_t swig_types[64]
1915
- #define SWIGTYPE_p_uint_t swig_types[65]
1916
- #define SWIGTYPE_p_unsigned_int swig_types[66]
1917
- #define SWIGTYPE_p_xyz_t swig_types[67]
1918
- static swig_type_info *swig_types[69];
1919
- static swig_module_info swig_module = {swig_types, 68, 0, 0, 0, 0};
1865
+ #define SWIGTYPE_p_GPS_SpaceNodeT_double_t swig_types[15]
1866
+ #define SWIGTYPE_p_GPS_SpaceNodeT_double_t__Ionospheric_UTC_Parameters swig_types[16]
1867
+ #define SWIGTYPE_p_GPS_SpaceNodeT_double_t__SatelliteProperties__Ephemeris swig_types[17]
1868
+ #define SWIGTYPE_p_GPS_TimeT_double_t swig_types[18]
1869
+ #define SWIGTYPE_p_GPS_TimeT_double_t__leap_year_prop_res_t swig_types[19]
1870
+ #define SWIGTYPE_p_GPS_User_PVTT_double_t swig_types[20]
1871
+ #define SWIGTYPE_p_MatrixT_ComplexT_double_t_Array2D_DenseT_ComplexT_double_t_t_MatrixViewBaseT_t_t swig_types[21]
1872
+ #define SWIGTYPE_p_MatrixT_double_Array2D_DenseT_double_t_MatrixViewBaseT_t_t swig_types[22]
1873
+ #define SWIGTYPE_p_MatrixViewBaseT_t swig_types[23]
1874
+ #define SWIGTYPE_p_MatrixViewFilterT_MatrixViewBaseT_t_t swig_types[24]
1875
+ #define SWIGTYPE_p_Matrix_FrozenT_double_Array2D_DenseT_double_t_MatrixViewBaseT_t_t swig_types[25]
1876
+ #define SWIGTYPE_p_PushableData swig_types[26]
1877
+ #define SWIGTYPE_p_RINEX_ClockT_double_t swig_types[27]
1878
+ #define SWIGTYPE_p_RINEX_ObservationT_double_t swig_types[28]
1879
+ #define SWIGTYPE_p_SBAS_EphemerisT_double_t swig_types[29]
1880
+ #define SWIGTYPE_p_SBAS_SolverOptionsT_double_t swig_types[30]
1881
+ #define SWIGTYPE_p_SBAS_SpaceNodeT_double_t swig_types[31]
1882
+ #define SWIGTYPE_p_SBAS_SpaceNodeT_double_t__SatelliteProperties__Ephemeris swig_types[32]
1883
+ #define SWIGTYPE_p_SP3T_double_t swig_types[33]
1884
+ #define SWIGTYPE_p_System_ENUT_double_WGS84_t swig_types[34]
1885
+ #define SWIGTYPE_p_System_LLHT_double_WGS84_t swig_types[35]
1886
+ #define SWIGTYPE_p_System_XYZT_double_WGS84_t swig_types[36]
1887
+ #define SWIGTYPE_p_available_satellites_t swig_types[37]
1888
+ #define SWIGTYPE_p_char swig_types[38]
1889
+ #define SWIGTYPE_p_double swig_types[39]
1890
+ #define SWIGTYPE_p_enu_t swig_types[40]
1891
+ #define SWIGTYPE_p_eph_t swig_types[41]
1892
+ #define SWIGTYPE_p_float_t swig_types[42]
1893
+ #define SWIGTYPE_p_gps_space_node_t swig_types[43]
1894
+ #define SWIGTYPE_p_gps_time_t swig_types[44]
1895
+ #define SWIGTYPE_p_int swig_types[45]
1896
+ #define SWIGTYPE_p_int_t swig_types[46]
1897
+ #define SWIGTYPE_p_llh_t swig_types[47]
1898
+ #define SWIGTYPE_p_p_GPS_Solver_RAIM_LSRT_double_GPS_Solver_Base_DebugT_double_GPS_Solver_BaseT_double_t_t_t__user_pvt_t__detection_t swig_types[48]
1899
+ #define SWIGTYPE_p_p_GPS_Solver_RAIM_LSRT_double_GPS_Solver_Base_DebugT_double_GPS_Solver_BaseT_double_t_t_t__user_pvt_t__exclusion_t swig_types[49]
1900
+ #define SWIGTYPE_p_p_double swig_types[50]
1901
+ #define SWIGTYPE_p_range_correction_list_t swig_types[51]
1902
+ #define SWIGTYPE_p_s16_t swig_types[52]
1903
+ #define SWIGTYPE_p_s32_t swig_types[53]
1904
+ #define SWIGTYPE_p_s8_t swig_types[54]
1905
+ #define SWIGTYPE_p_satellites_t swig_types[55]
1906
+ #define SWIGTYPE_p_self_t swig_types[56]
1907
+ #define SWIGTYPE_p_std__vectorT_std__pairT_int_SBAS_SpaceNodeT_double_t__Satellite_const_p_t_t swig_types[57]
1908
+ #define SWIGTYPE_p_super_t swig_types[58]
1909
+ #define SWIGTYPE_p_swig__GC_VALUE swig_types[59]
1910
+ #define SWIGTYPE_p_u16_t swig_types[60]
1911
+ #define SWIGTYPE_p_u32_t swig_types[61]
1912
+ #define SWIGTYPE_p_u8_t swig_types[62]
1913
+ #define SWIGTYPE_p_uint_t swig_types[63]
1914
+ #define SWIGTYPE_p_unsigned_int swig_types[64]
1915
+ #define SWIGTYPE_p_xyz_t swig_types[65]
1916
+ static swig_type_info *swig_types[67];
1917
+ static swig_module_info swig_module = {swig_types, 66, 0, 0, 0, 0};
1920
1918
  #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1921
1919
  #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1922
1920
 
@@ -1965,6 +1963,7 @@ static VALUE mGPS;
1965
1963
  #include "navigation/GPS_Solver_Base.h"
1966
1964
  #include "navigation/GPS_Solver.h"
1967
1965
  #include "navigation/GPS_Solver_RAIM.h"
1966
+ #include "navigation/GPS_Solver_MultiFrequency.h"
1968
1967
  #include "navigation/SBAS_Solver.h"
1969
1968
  #include "navigation/GLONASS_Solver.h"
1970
1969
 
@@ -2538,6 +2537,16 @@ struct GPS_Measurement {
2538
2537
  L1_SIGNAL_STRENGTH_dBHz,
2539
2538
  L1_LOCK_SEC,
2540
2539
  L1_FREQUENCY,
2540
+
2541
+
2542
+ L2CM_PSEUDORANGE, L2CL_PSEUDORANGE, L2CM_PSEUDORANGE_SIGMA, L2CL_PSEUDORANGE_SIGMA,
2543
+ L2CM_CARRIER_PHASE, L2CL_CARRIER_PHASE, L2CM_CARRIER_PHASE_SIGMA, L2CL_CARRIER_PHASE_SIGMA,
2544
+ L2CM_DOPPLER, L2CL_DOPPLER, L2CM_DOPPLER_SIGMA, L2CL_DOPPLER_SIGMA,
2545
+ L2CM_RANGE_RATE, L2CL_RANGE_RATE, L2CM_RANGE_RATE_SIGMA, L2CL_RANGE_RATE_SIGMA,
2546
+ L2CM_SIGNAL_STRENGTH_dBHz, L2CL_SIGNAL_STRENGTH_dBHz,
2547
+ L2CM_LOCK_SEC, L2CL_LOCK_SEC,
2548
+
2549
+
2541
2550
  ITEMS_PREDEFINED,
2542
2551
  };
2543
2552
  void add(const int &prn, const int &key, const FloatT &value){
@@ -2556,12 +2565,14 @@ struct GPS_SolverOptions_Common {
2556
2565
 
2557
2566
  template <class FloatT>
2558
2567
  struct GPS_SolverOptions
2559
- : public GPS_SinglePositioning<FloatT>::options_t,
2568
+ : public GPS_Solver_MultiFrequency<GPS_SinglePositioning<FloatT> >::options_t,
2560
2569
  GPS_SolverOptions_Common<FloatT> {
2561
- typedef typename GPS_SinglePositioning<FloatT>::options_t base_t;
2570
+ typedef typename GPS_Solver_MultiFrequency<GPS_SinglePositioning<FloatT> >::options_t base_t;
2562
2571
  void exclude(const int &prn){base_t::exclude_prn.set(prn);}
2563
2572
  void include(const int &prn){base_t::exclude_prn.reset(prn);}
2564
2573
  std::vector<int> excluded() const {return base_t::exclude_prn.excluded();}
2574
+ bool get_exclude_L2C() {return base_t::exclude_L2C;}
2575
+ bool set_exclude_L2C(const bool &b) {return base_t::exclude_L2C = b;}
2565
2576
  GPS_Solver_GeneralOptions<FloatT> *cast_general(){return this;}
2566
2577
  const GPS_Solver_GeneralOptions<FloatT> *cast_general() const {return this;}
2567
2578
  };
@@ -2617,7 +2628,8 @@ template <class BaseT, class HookT>
2617
2628
  struct HookableSolver : public BaseT {
2618
2629
  typedef BaseT base_t;
2619
2630
  HookT *hook;
2620
- HookableSolver(const BaseT &base) : BaseT(base), hook(NULL) {}
2631
+ template <class ArgT>
2632
+ HookableSolver(const ArgT &);
2621
2633
  virtual typename base_t::relative_property_t relative_property(
2622
2634
  const typename base_t::prn_t &prn,
2623
2635
  const typename base_t::measurement_t::mapped_type &measurement,
@@ -2659,7 +2671,9 @@ struct GPS_Solver
2659
2671
  struct gps_t {
2660
2672
  GPS_SpaceNode<FloatT> space_node;
2661
2673
  GPS_SolverOptions<FloatT> options;
2662
- HookableSolver<GPS_SinglePositioning<FloatT>, GPS_Solver<FloatT> > solver;
2674
+ HookableSolver<
2675
+ GPS_Solver_MultiFrequency<GPS_SinglePositioning<FloatT> >,
2676
+ GPS_Solver<FloatT> > solver;
2663
2677
  struct ephemeris_proxy_t {
2664
2678
  struct item_t {
2665
2679
  const void *impl;
@@ -2681,19 +2695,21 @@ struct GPS_Solver
2681
2695
  solver.satellites.impl_select = forward;
2682
2696
  }
2683
2697
  } ephemeris_proxy;
2684
- gps_t() : space_node(), options(), solver(GPS_SinglePositioning<FloatT>(space_node)), ephemeris_proxy(solver) {}
2698
+ gps_t() : space_node(), options(), solver(space_node), ephemeris_proxy(solver) {
2699
+ options.exclude_L2C = true;
2700
+ }
2685
2701
  } gps;
2686
2702
  struct sbas_t {
2687
2703
  SBAS_SpaceNode<FloatT> space_node;
2688
2704
  SBAS_SolverOptions<FloatT> options;
2689
2705
  HookableSolver<SBAS_SinglePositioning<FloatT>, GPS_Solver<FloatT> > solver;
2690
- sbas_t() : space_node(), options(), solver(SBAS_SinglePositioning<FloatT>(space_node)) {}
2706
+ sbas_t() : space_node(), options(), solver(space_node) {}
2691
2707
  } sbas;
2692
2708
  struct glonass_t {
2693
2709
  GLONASS_SpaceNode<FloatT> space_node;
2694
2710
  GLONASS_SolverOptions<FloatT> options;
2695
2711
  HookableSolver<GLONASS_SinglePositioning<FloatT>, GPS_Solver<FloatT> > solver;
2696
- glonass_t() : space_node(), options(), solver(GLONASS_SinglePositioning<FloatT>(space_node)) {}
2712
+ glonass_t() : space_node(), options(), solver(space_node) {}
2697
2713
  } glonass;
2698
2714
  VALUE hooks;
2699
2715
  typedef std::vector<GPS_RangeCorrector<FloatT> > user_correctors_t;
@@ -4057,6 +4073,20 @@ SWIGINTERN double const &GPS_SolverOptions_Common_Sl_double_Sg__get_residual_mas
4057
4073
  return self->cast_general()->residual_mask;
4058
4074
  }
4059
4075
 
4076
+ template <> template <>
4077
+ HookableSolver<
4078
+ GPS_Solver_MultiFrequency<GPS_SinglePositioning<double> >,
4079
+ GPS_Solver<double> >
4080
+ ::HookableSolver<GPS_SpaceNode<double> >(const GPS_SpaceNode<double> &sn)
4081
+ : GPS_Solver_MultiFrequency<GPS_SinglePositioning<double> >(sn), hook(NULL) {}
4082
+ template <> template <>
4083
+ HookableSolver<SBAS_SinglePositioning<double>, GPS_Solver<double> >
4084
+ ::HookableSolver<SBAS_SpaceNode<double> >(const SBAS_SpaceNode<double> &sn)
4085
+ : SBAS_SinglePositioning<double>(sn), hook(NULL) {}
4086
+ template <> template <>
4087
+ HookableSolver<GLONASS_SinglePositioning<double>, GPS_Solver<double> >
4088
+ ::HookableSolver<GLONASS_SpaceNode<double> >(const GLONASS_SpaceNode<double> &sn)
4089
+ : GLONASS_SinglePositioning<double>(sn), hook(NULL) {}
4060
4090
  template <>
4061
4091
  GPS_Solver<double>::base_t::relative_property_t
4062
4092
  GPS_Solver<double>::relative_property(
@@ -6623,7 +6653,16 @@ SWIGINTERN VALUE
6623
6653
  _wrap_Time_leap_second_events_get(VALUE self) {
6624
6654
  VALUE _val;
6625
6655
 
6626
- _val = SWIG_NewPointerObj(SWIG_as_voidptr(GPS_Time< double >::leap_second_events), SWIGTYPE_p_GPS_TimeT_double_t__leap_second_event_t, 0 );
6656
+ {
6657
+ _val = rb_ary_new2(sizeof(GPS_Time< double >::leap_second_events) / sizeof(GPS_Time< double >::leap_second_events[0]));
6658
+ for(std::size_t i(0); i < sizeof(GPS_Time< double >::leap_second_events) / sizeof(GPS_Time< double >::leap_second_events[0]); ++i){
6659
+ rb_ary_push(_val,
6660
+ rb_ary_new3(3,
6661
+ SWIG_From_int (GPS_Time< double >::leap_second_events[i].corrected.week),
6662
+ swig::from(GPS_Time< double >::leap_second_events[i].corrected.seconds),
6663
+ SWIG_From_int (GPS_Time< double >::leap_second_events[i].leap_seconds)));
6664
+ }
6665
+ }
6627
6666
  return _val;
6628
6667
  }
6629
6668
 
@@ -16602,6 +16641,186 @@ A class method.
16602
16641
 
16603
16642
  A class method.
16604
16643
 
16644
+ */
16645
+ /*
16646
+ Document-method: GPS_PVT::GPS.L2CM_PSEUDORANGE
16647
+
16648
+ call-seq:
16649
+ L2CM_PSEUDORANGE -> int
16650
+
16651
+ A class method.
16652
+
16653
+ */
16654
+ /*
16655
+ Document-method: GPS_PVT::GPS.L2CL_PSEUDORANGE
16656
+
16657
+ call-seq:
16658
+ L2CL_PSEUDORANGE -> int
16659
+
16660
+ A class method.
16661
+
16662
+ */
16663
+ /*
16664
+ Document-method: GPS_PVT::GPS.L2CM_PSEUDORANGE_SIGMA
16665
+
16666
+ call-seq:
16667
+ L2CM_PSEUDORANGE_SIGMA -> int
16668
+
16669
+ A class method.
16670
+
16671
+ */
16672
+ /*
16673
+ Document-method: GPS_PVT::GPS.L2CL_PSEUDORANGE_SIGMA
16674
+
16675
+ call-seq:
16676
+ L2CL_PSEUDORANGE_SIGMA -> int
16677
+
16678
+ A class method.
16679
+
16680
+ */
16681
+ /*
16682
+ Document-method: GPS_PVT::GPS.L2CM_CARRIER_PHASE
16683
+
16684
+ call-seq:
16685
+ L2CM_CARRIER_PHASE -> int
16686
+
16687
+ A class method.
16688
+
16689
+ */
16690
+ /*
16691
+ Document-method: GPS_PVT::GPS.L2CL_CARRIER_PHASE
16692
+
16693
+ call-seq:
16694
+ L2CL_CARRIER_PHASE -> int
16695
+
16696
+ A class method.
16697
+
16698
+ */
16699
+ /*
16700
+ Document-method: GPS_PVT::GPS.L2CM_CARRIER_PHASE_SIGMA
16701
+
16702
+ call-seq:
16703
+ L2CM_CARRIER_PHASE_SIGMA -> int
16704
+
16705
+ A class method.
16706
+
16707
+ */
16708
+ /*
16709
+ Document-method: GPS_PVT::GPS.L2CL_CARRIER_PHASE_SIGMA
16710
+
16711
+ call-seq:
16712
+ L2CL_CARRIER_PHASE_SIGMA -> int
16713
+
16714
+ A class method.
16715
+
16716
+ */
16717
+ /*
16718
+ Document-method: GPS_PVT::GPS.L2CM_DOPPLER
16719
+
16720
+ call-seq:
16721
+ L2CM_DOPPLER -> int
16722
+
16723
+ A class method.
16724
+
16725
+ */
16726
+ /*
16727
+ Document-method: GPS_PVT::GPS.L2CL_DOPPLER
16728
+
16729
+ call-seq:
16730
+ L2CL_DOPPLER -> int
16731
+
16732
+ A class method.
16733
+
16734
+ */
16735
+ /*
16736
+ Document-method: GPS_PVT::GPS.L2CM_DOPPLER_SIGMA
16737
+
16738
+ call-seq:
16739
+ L2CM_DOPPLER_SIGMA -> int
16740
+
16741
+ A class method.
16742
+
16743
+ */
16744
+ /*
16745
+ Document-method: GPS_PVT::GPS.L2CL_DOPPLER_SIGMA
16746
+
16747
+ call-seq:
16748
+ L2CL_DOPPLER_SIGMA -> int
16749
+
16750
+ A class method.
16751
+
16752
+ */
16753
+ /*
16754
+ Document-method: GPS_PVT::GPS.L2CM_RANGE_RATE
16755
+
16756
+ call-seq:
16757
+ L2CM_RANGE_RATE -> int
16758
+
16759
+ A class method.
16760
+
16761
+ */
16762
+ /*
16763
+ Document-method: GPS_PVT::GPS.L2CL_RANGE_RATE
16764
+
16765
+ call-seq:
16766
+ L2CL_RANGE_RATE -> int
16767
+
16768
+ A class method.
16769
+
16770
+ */
16771
+ /*
16772
+ Document-method: GPS_PVT::GPS.L2CM_RANGE_RATE_SIGMA
16773
+
16774
+ call-seq:
16775
+ L2CM_RANGE_RATE_SIGMA -> int
16776
+
16777
+ A class method.
16778
+
16779
+ */
16780
+ /*
16781
+ Document-method: GPS_PVT::GPS.L2CL_RANGE_RATE_SIGMA
16782
+
16783
+ call-seq:
16784
+ L2CL_RANGE_RATE_SIGMA -> int
16785
+
16786
+ A class method.
16787
+
16788
+ */
16789
+ /*
16790
+ Document-method: GPS_PVT::GPS.L2CM_SIGNAL_STRENGTH_dBHz
16791
+
16792
+ call-seq:
16793
+ L2CM_SIGNAL_STRENGTH_dBHz -> int
16794
+
16795
+ A class method.
16796
+
16797
+ */
16798
+ /*
16799
+ Document-method: GPS_PVT::GPS.L2CL_SIGNAL_STRENGTH_dBHz
16800
+
16801
+ call-seq:
16802
+ L2CL_SIGNAL_STRENGTH_dBHz -> int
16803
+
16804
+ A class method.
16805
+
16806
+ */
16807
+ /*
16808
+ Document-method: GPS_PVT::GPS.L2CM_LOCK_SEC
16809
+
16810
+ call-seq:
16811
+ L2CM_LOCK_SEC -> int
16812
+
16813
+ A class method.
16814
+
16815
+ */
16816
+ /*
16817
+ Document-method: GPS_PVT::GPS.L2CL_LOCK_SEC
16818
+
16819
+ call-seq:
16820
+ L2CL_LOCK_SEC -> int
16821
+
16822
+ A class method.
16823
+
16605
16824
  */
16606
16825
  /*
16607
16826
  Document-method: GPS_PVT::GPS.ITEMS_PREDEFINED
@@ -16900,121 +17119,6 @@ free_GPS_SolverOptions_Common_Sl_double_Sg_(void *self) {
16900
17119
  delete arg1;
16901
17120
  }
16902
17121
 
16903
- /*
16904
- Document-method: GPS_PVT::GPS::SolverOptionsCommon.cast_general
16905
-
16906
- call-seq:
16907
- cast_general -> GPS_Solver_GeneralOptions< double > *
16908
- cast_general -> GPS_Solver_GeneralOptions< double > const
16909
-
16910
- An instance method.
16911
-
16912
- */
16913
- SWIGINTERN VALUE
16914
- _wrap_SolverOptionsCommon_cast_general__SWIG_0(int argc, VALUE *argv, VALUE self) {
16915
- GPS_SolverOptions_Common< double > *arg1 = (GPS_SolverOptions_Common< double > *) 0 ;
16916
- void *argp1 = 0 ;
16917
- int res1 = 0 ;
16918
- GPS_Solver_GeneralOptions< double > *result = 0 ;
16919
- VALUE vresult = Qnil;
16920
-
16921
- if ((argc < 0) || (argc > 0)) {
16922
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
16923
- }
16924
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_GPS_SolverOptions_CommonT_double_t, 0 | 0 );
16925
- if (!SWIG_IsOK(res1)) {
16926
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "GPS_SolverOptions_Common< double > *","cast_general", 1, self ));
16927
- }
16928
- arg1 = reinterpret_cast< GPS_SolverOptions_Common< double > * >(argp1);
16929
- {
16930
- try {
16931
- result = (GPS_Solver_GeneralOptions< double > *)(arg1)->cast_general();
16932
- } catch (const native_exception &e) {
16933
- e.regenerate();
16934
- SWIG_fail;
16935
- } catch (const std::exception& e) {
16936
- SWIG_exception_fail(SWIG_RuntimeError, e.what());
16937
- }
16938
- }
16939
- vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GPS_Solver_GeneralOptionsT_double_t, 0 | 0 );
16940
- return vresult;
16941
- fail:
16942
- return Qnil;
16943
- }
16944
-
16945
-
16946
- SWIGINTERN VALUE
16947
- _wrap_SolverOptionsCommon_cast_general__SWIG_1(int argc, VALUE *argv, VALUE self) {
16948
- GPS_SolverOptions_Common< double > *arg1 = (GPS_SolverOptions_Common< double > *) 0 ;
16949
- void *argp1 = 0 ;
16950
- int res1 = 0 ;
16951
- GPS_Solver_GeneralOptions< double > *result = 0 ;
16952
- VALUE vresult = Qnil;
16953
-
16954
- if ((argc < 0) || (argc > 0)) {
16955
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
16956
- }
16957
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_GPS_SolverOptions_CommonT_double_t, 0 | 0 );
16958
- if (!SWIG_IsOK(res1)) {
16959
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "GPS_SolverOptions_Common< double > const *","cast_general", 1, self ));
16960
- }
16961
- arg1 = reinterpret_cast< GPS_SolverOptions_Common< double > * >(argp1);
16962
- {
16963
- try {
16964
- result = (GPS_Solver_GeneralOptions< double > *)((GPS_SolverOptions_Common< double > const *)arg1)->cast_general();
16965
- } catch (const native_exception &e) {
16966
- e.regenerate();
16967
- SWIG_fail;
16968
- } catch (const std::exception& e) {
16969
- SWIG_exception_fail(SWIG_RuntimeError, e.what());
16970
- }
16971
- }
16972
- vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GPS_Solver_GeneralOptionsT_double_t, 0 | 0 );
16973
- return vresult;
16974
- fail:
16975
- return Qnil;
16976
- }
16977
-
16978
-
16979
- SWIGINTERN VALUE _wrap_SolverOptionsCommon_cast_general(int nargs, VALUE *args, VALUE self) {
16980
- int argc;
16981
- VALUE argv[2];
16982
- int ii;
16983
-
16984
- argc = nargs + 1;
16985
- argv[0] = self;
16986
- if (argc > 2) SWIG_fail;
16987
- for (ii = 1; (ii < argc); ++ii) {
16988
- argv[ii] = args[ii-1];
16989
- }
16990
- if (argc == 1) {
16991
- int _v;
16992
- void *vptr = 0;
16993
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GPS_SolverOptions_CommonT_double_t, 0);
16994
- _v = SWIG_CheckState(res);
16995
- if (_v) {
16996
- return _wrap_SolverOptionsCommon_cast_general__SWIG_0(nargs, args, self);
16997
- }
16998
- }
16999
- if (argc == 1) {
17000
- int _v;
17001
- void *vptr = 0;
17002
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GPS_SolverOptions_CommonT_double_t, 0);
17003
- _v = SWIG_CheckState(res);
17004
- if (_v) {
17005
- return _wrap_SolverOptionsCommon_cast_general__SWIG_1(nargs, args, self);
17006
- }
17007
- }
17008
-
17009
- fail:
17010
- Ruby_Format_OverloadedError( argc, 2, "SolverOptionsCommon.cast_general",
17011
- " GPS_Solver_GeneralOptions< double > SolverOptionsCommon.cast_general()\n"
17012
- " GPS_Solver_GeneralOptions< double > const * SolverOptionsCommon.cast_general()\n");
17013
-
17014
- return Qnil;
17015
- }
17016
-
17017
-
17018
17122
  /*
17019
17123
  Document-method: GPS_PVT::GPS::SolverOptionsCommon.elevation_mask=
17020
17124
 
@@ -17359,6 +17463,100 @@ fail:
17359
17463
  }
17360
17464
 
17361
17465
 
17466
+ /*
17467
+ Document-method: GPS_PVT::GPS::SolverOptions.exclude_L2C?
17468
+
17469
+ call-seq:
17470
+ exclude_L2C? -> bool
17471
+
17472
+ An instance method.
17473
+
17474
+ */
17475
+ SWIGINTERN VALUE
17476
+ _wrap_SolverOptions_exclude_L2Cq___(int argc, VALUE *argv, VALUE self) {
17477
+ GPS_SolverOptions< double > *arg1 = (GPS_SolverOptions< double > *) 0 ;
17478
+ void *argp1 = 0 ;
17479
+ int res1 = 0 ;
17480
+ bool result;
17481
+ VALUE vresult = Qnil;
17482
+
17483
+ if ((argc < 0) || (argc > 0)) {
17484
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
17485
+ }
17486
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_GPS_SolverOptionsT_double_t, 0 | 0 );
17487
+ if (!SWIG_IsOK(res1)) {
17488
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "GPS_SolverOptions< double > *","get_exclude_L2C", 1, self ));
17489
+ }
17490
+ arg1 = reinterpret_cast< GPS_SolverOptions< double > * >(argp1);
17491
+ {
17492
+ try {
17493
+ result = (bool)(arg1)->get_exclude_L2C();
17494
+ } catch (const native_exception &e) {
17495
+ e.regenerate();
17496
+ SWIG_fail;
17497
+ } catch (const std::exception& e) {
17498
+ SWIG_exception_fail(SWIG_RuntimeError, e.what());
17499
+ }
17500
+ }
17501
+ vresult = SWIG_From_bool(static_cast< bool >(result));
17502
+ return vresult;
17503
+ fail:
17504
+ return Qnil;
17505
+ }
17506
+
17507
+
17508
+ /*
17509
+ Document-method: GPS_PVT::GPS::SolverOptions.exclude_L2C=
17510
+
17511
+ call-seq:
17512
+ exclude_L2C=(bool const & b) -> bool
17513
+
17514
+ An instance method.
17515
+
17516
+ */
17517
+ SWIGINTERN VALUE
17518
+ _wrap_SolverOptions_exclude_L2Ce___(int argc, VALUE *argv, VALUE self) {
17519
+ GPS_SolverOptions< double > *arg1 = (GPS_SolverOptions< double > *) 0 ;
17520
+ bool *arg2 = 0 ;
17521
+ void *argp1 = 0 ;
17522
+ int res1 = 0 ;
17523
+ bool temp2 ;
17524
+ bool val2 ;
17525
+ int ecode2 = 0 ;
17526
+ bool result;
17527
+ VALUE vresult = Qnil;
17528
+
17529
+ if ((argc < 1) || (argc > 1)) {
17530
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
17531
+ }
17532
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_GPS_SolverOptionsT_double_t, 0 | 0 );
17533
+ if (!SWIG_IsOK(res1)) {
17534
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "GPS_SolverOptions< double > *","set_exclude_L2C", 1, self ));
17535
+ }
17536
+ arg1 = reinterpret_cast< GPS_SolverOptions< double > * >(argp1);
17537
+ ecode2 = SWIG_AsVal_bool(argv[0], &val2);
17538
+ if (!SWIG_IsOK(ecode2)) {
17539
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","set_exclude_L2C", 2, argv[0] ));
17540
+ }
17541
+ temp2 = static_cast< bool >(val2);
17542
+ arg2 = &temp2;
17543
+ {
17544
+ try {
17545
+ result = (bool)(arg1)->set_exclude_L2C((bool const &)*arg2);
17546
+ } catch (const native_exception &e) {
17547
+ e.regenerate();
17548
+ SWIG_fail;
17549
+ } catch (const std::exception& e) {
17550
+ SWIG_exception_fail(SWIG_RuntimeError, e.what());
17551
+ }
17552
+ }
17553
+ vresult = SWIG_From_bool(static_cast< bool >(result));
17554
+ return vresult;
17555
+ fail:
17556
+ return Qnil;
17557
+ }
17558
+
17559
+
17362
17560
  SWIGINTERN VALUE
17363
17561
  #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
17364
17562
  _wrap_SolverOptions_allocate(VALUE self)
@@ -27276,12 +27474,10 @@ static swig_type_info _swigt__p_GPS_MeasurementT_double_t = {"_p_GPS_Measurement
27276
27474
  static swig_type_info _swigt__p_GPS_SolverOptionsT_double_t = {"_p_GPS_SolverOptionsT_double_t", "GPS_SolverOptions< double > *", 0, 0, (void*)0, 0};
27277
27475
  static swig_type_info _swigt__p_GPS_SolverOptions_CommonT_double_t = {"_p_GPS_SolverOptions_CommonT_double_t", "GPS_SolverOptions_Common< double > *", 0, 0, (void*)0, 0};
27278
27476
  static swig_type_info _swigt__p_GPS_SolverT_double_t = {"_p_GPS_SolverT_double_t", "GPS_Solver< double > *", 0, 0, (void*)0, 0};
27279
- static swig_type_info _swigt__p_GPS_Solver_GeneralOptionsT_double_t = {"_p_GPS_Solver_GeneralOptionsT_double_t", "GPS_Solver_GeneralOptions< double > *", 0, 0, (void*)0, 0};
27280
27477
  static swig_type_info _swigt__p_GPS_SpaceNodeT_double_t = {"_p_GPS_SpaceNodeT_double_t", "GPS_SpaceNode< double >::self_t *|GPS_SpaceNode< double > *", 0, 0, (void*)0, 0};
27281
27478
  static swig_type_info _swigt__p_GPS_SpaceNodeT_double_t__Ionospheric_UTC_Parameters = {"_p_GPS_SpaceNodeT_double_t__Ionospheric_UTC_Parameters", "GPS_SpaceNode< double >::Ionospheric_UTC_Parameters *", 0, 0, (void*)0, 0};
27282
27479
  static swig_type_info _swigt__p_GPS_SpaceNodeT_double_t__SatelliteProperties__Ephemeris = {"_p_GPS_SpaceNodeT_double_t__SatelliteProperties__Ephemeris", "GPS_SpaceNode< double >::SatelliteProperties::Ephemeris *", 0, 0, (void*)0, 0};
27283
27480
  static swig_type_info _swigt__p_GPS_TimeT_double_t = {"_p_GPS_TimeT_double_t", "GPS_SpaceNode< double >::gps_time_t *|SBAS_SpaceNode< double >::gps_time_t *|GPS_Time< GLONASS_SpaceNode< double >::float_t > *|GPS_Time< GPS_Time< double >::float_t > *|GPS_Time< double > *", 0, 0, (void*)0, 0};
27284
- static swig_type_info _swigt__p_GPS_TimeT_double_t__leap_second_event_t = {"_p_GPS_TimeT_double_t__leap_second_event_t", "GPS_Time< double >::leap_second_event_t *", 0, 0, (void*)0, 0};
27285
27481
  static swig_type_info _swigt__p_GPS_TimeT_double_t__leap_year_prop_res_t = {"_p_GPS_TimeT_double_t__leap_year_prop_res_t", "GPS_Time< double >::leap_year_prop_res_t *", 0, 0, (void*)0, 0};
27286
27482
  static swig_type_info _swigt__p_GPS_User_PVTT_double_t = {"_p_GPS_User_PVTT_double_t", "GPS_User_PVT< double > *", 0, 0, (void*)0, 0};
27287
27483
  static swig_type_info _swigt__p_MatrixT_ComplexT_double_t_Array2D_DenseT_ComplexT_double_t_t_MatrixViewBaseT_t_t = {"_p_MatrixT_ComplexT_double_t_Array2D_DenseT_ComplexT_double_t_t_MatrixViewBaseT_t_t", "Matrix< Complex< double >,Array2D_Dense< Complex< double > > > *|Matrix< Complex< double >,Array2D_Dense< Complex< double > >,MatrixViewBase< > > *", 0, 0, (void*)0, 0};
@@ -27346,12 +27542,10 @@ static swig_type_info *swig_type_initial[] = {
27346
27542
  &_swigt__p_GPS_SolverOptionsT_double_t,
27347
27543
  &_swigt__p_GPS_SolverOptions_CommonT_double_t,
27348
27544
  &_swigt__p_GPS_SolverT_double_t,
27349
- &_swigt__p_GPS_Solver_GeneralOptionsT_double_t,
27350
27545
  &_swigt__p_GPS_SpaceNodeT_double_t,
27351
27546
  &_swigt__p_GPS_SpaceNodeT_double_t__Ionospheric_UTC_Parameters,
27352
27547
  &_swigt__p_GPS_SpaceNodeT_double_t__SatelliteProperties__Ephemeris,
27353
27548
  &_swigt__p_GPS_TimeT_double_t,
27354
- &_swigt__p_GPS_TimeT_double_t__leap_second_event_t,
27355
27549
  &_swigt__p_GPS_TimeT_double_t__leap_year_prop_res_t,
27356
27550
  &_swigt__p_GPS_User_PVTT_double_t,
27357
27551
  &_swigt__p_MatrixT_ComplexT_double_t_Array2D_DenseT_ComplexT_double_t_t_MatrixViewBaseT_t_t,
@@ -27416,12 +27610,10 @@ static swig_cast_info _swigc__p_GPS_MeasurementT_double_t[] = { {&_swigt__p_GPS
27416
27610
  static swig_cast_info _swigc__p_GPS_SolverOptionsT_double_t[] = { {&_swigt__p_GPS_SolverOptionsT_double_t, 0, 0, 0},{0, 0, 0, 0}};
27417
27611
  static swig_cast_info _swigc__p_GPS_SolverOptions_CommonT_double_t[] = { {&_swigt__p_GPS_SolverOptions_CommonT_double_t, 0, 0, 0}, {&_swigt__p_GPS_SolverOptionsT_double_t, _p_GPS_SolverOptionsT_double_tTo_p_GPS_SolverOptions_CommonT_double_t, 0, 0}, {&_swigt__p_SBAS_SolverOptionsT_double_t, _p_SBAS_SolverOptionsT_double_tTo_p_GPS_SolverOptions_CommonT_double_t, 0, 0}, {&_swigt__p_GLONASS_SolverOptionsT_double_t, _p_GLONASS_SolverOptionsT_double_tTo_p_GPS_SolverOptions_CommonT_double_t, 0, 0},{0, 0, 0, 0}};
27418
27612
  static swig_cast_info _swigc__p_GPS_SolverT_double_t[] = { {&_swigt__p_GPS_SolverT_double_t, 0, 0, 0},{0, 0, 0, 0}};
27419
- static swig_cast_info _swigc__p_GPS_Solver_GeneralOptionsT_double_t[] = { {&_swigt__p_GPS_Solver_GeneralOptionsT_double_t, 0, 0, 0},{0, 0, 0, 0}};
27420
27613
  static swig_cast_info _swigc__p_GPS_SpaceNodeT_double_t[] = { {&_swigt__p_GPS_SpaceNodeT_double_t, 0, 0, 0},{0, 0, 0, 0}};
27421
27614
  static swig_cast_info _swigc__p_GPS_SpaceNodeT_double_t__Ionospheric_UTC_Parameters[] = { {&_swigt__p_GPS_Ionospheric_UTC_ParametersT_double_t, _p_GPS_Ionospheric_UTC_ParametersT_double_tTo_p_GPS_SpaceNodeT_double_t__Ionospheric_UTC_Parameters, 0, 0}, {&_swigt__p_GPS_SpaceNodeT_double_t__Ionospheric_UTC_Parameters, 0, 0, 0},{0, 0, 0, 0}};
27422
27615
  static swig_cast_info _swigc__p_GPS_SpaceNodeT_double_t__SatelliteProperties__Ephemeris[] = { {&_swigt__p_GPS_SpaceNodeT_double_t__SatelliteProperties__Ephemeris, 0, 0, 0}, {&_swigt__p_GPS_EphemerisT_double_t, _p_GPS_EphemerisT_double_tTo_p_GPS_SpaceNodeT_double_t__SatelliteProperties__Ephemeris, 0, 0},{0, 0, 0, 0}};
27423
27616
  static swig_cast_info _swigc__p_GPS_TimeT_double_t[] = { {&_swigt__p_GPS_TimeT_double_t, 0, 0, 0},{0, 0, 0, 0}};
27424
- static swig_cast_info _swigc__p_GPS_TimeT_double_t__leap_second_event_t[] = { {&_swigt__p_GPS_TimeT_double_t__leap_second_event_t, 0, 0, 0},{0, 0, 0, 0}};
27425
27617
  static swig_cast_info _swigc__p_GPS_TimeT_double_t__leap_year_prop_res_t[] = { {&_swigt__p_GPS_TimeT_double_t__leap_year_prop_res_t, 0, 0, 0},{0, 0, 0, 0}};
27426
27618
  static swig_cast_info _swigc__p_GPS_User_PVTT_double_t[] = { {&_swigt__p_GPS_User_PVTT_double_t, 0, 0, 0},{0, 0, 0, 0}};
27427
27619
  static swig_cast_info _swigc__p_MatrixT_ComplexT_double_t_Array2D_DenseT_ComplexT_double_t_t_MatrixViewBaseT_t_t[] = { {&_swigt__p_MatrixT_ComplexT_double_t_Array2D_DenseT_ComplexT_double_t_t_MatrixViewBaseT_t_t, 0, 0, 0},{0, 0, 0, 0}};
@@ -27486,12 +27678,10 @@ static swig_cast_info *swig_cast_initial[] = {
27486
27678
  _swigc__p_GPS_SolverOptionsT_double_t,
27487
27679
  _swigc__p_GPS_SolverOptions_CommonT_double_t,
27488
27680
  _swigc__p_GPS_SolverT_double_t,
27489
- _swigc__p_GPS_Solver_GeneralOptionsT_double_t,
27490
27681
  _swigc__p_GPS_SpaceNodeT_double_t,
27491
27682
  _swigc__p_GPS_SpaceNodeT_double_t__Ionospheric_UTC_Parameters,
27492
27683
  _swigc__p_GPS_SpaceNodeT_double_t__SatelliteProperties__Ephemeris,
27493
27684
  _swigc__p_GPS_TimeT_double_t,
27494
- _swigc__p_GPS_TimeT_double_t__leap_second_event_t,
27495
27685
  _swigc__p_GPS_TimeT_double_t__leap_year_prop_res_t,
27496
27686
  _swigc__p_GPS_User_PVTT_double_t,
27497
27687
  _swigc__p_MatrixT_ComplexT_double_t_Array2D_DenseT_ComplexT_double_t_t_MatrixViewBaseT_t_t,
@@ -28067,6 +28257,26 @@ SWIGEXPORT void Init_GPS(void) {
28067
28257
  rb_define_const(SwigClassMeasurement.klass, "L1_SIGNAL_STRENGTH_dBHz", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L1_SIGNAL_STRENGTH_dBHz)));
28068
28258
  rb_define_const(SwigClassMeasurement.klass, "L1_LOCK_SEC", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L1_LOCK_SEC)));
28069
28259
  rb_define_const(SwigClassMeasurement.klass, "L1_FREQUENCY", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L1_FREQUENCY)));
28260
+ rb_define_const(SwigClassMeasurement.klass, "L2CM_PSEUDORANGE", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L2CM_PSEUDORANGE)));
28261
+ rb_define_const(SwigClassMeasurement.klass, "L2CL_PSEUDORANGE", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L2CL_PSEUDORANGE)));
28262
+ rb_define_const(SwigClassMeasurement.klass, "L2CM_PSEUDORANGE_SIGMA", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L2CM_PSEUDORANGE_SIGMA)));
28263
+ rb_define_const(SwigClassMeasurement.klass, "L2CL_PSEUDORANGE_SIGMA", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L2CL_PSEUDORANGE_SIGMA)));
28264
+ rb_define_const(SwigClassMeasurement.klass, "L2CM_CARRIER_PHASE", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L2CM_CARRIER_PHASE)));
28265
+ rb_define_const(SwigClassMeasurement.klass, "L2CL_CARRIER_PHASE", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L2CL_CARRIER_PHASE)));
28266
+ rb_define_const(SwigClassMeasurement.klass, "L2CM_CARRIER_PHASE_SIGMA", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L2CM_CARRIER_PHASE_SIGMA)));
28267
+ rb_define_const(SwigClassMeasurement.klass, "L2CL_CARRIER_PHASE_SIGMA", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L2CL_CARRIER_PHASE_SIGMA)));
28268
+ rb_define_const(SwigClassMeasurement.klass, "L2CM_DOPPLER", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L2CM_DOPPLER)));
28269
+ rb_define_const(SwigClassMeasurement.klass, "L2CL_DOPPLER", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L2CL_DOPPLER)));
28270
+ rb_define_const(SwigClassMeasurement.klass, "L2CM_DOPPLER_SIGMA", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L2CM_DOPPLER_SIGMA)));
28271
+ rb_define_const(SwigClassMeasurement.klass, "L2CL_DOPPLER_SIGMA", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L2CL_DOPPLER_SIGMA)));
28272
+ rb_define_const(SwigClassMeasurement.klass, "L2CM_RANGE_RATE", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L2CM_RANGE_RATE)));
28273
+ rb_define_const(SwigClassMeasurement.klass, "L2CL_RANGE_RATE", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L2CL_RANGE_RATE)));
28274
+ rb_define_const(SwigClassMeasurement.klass, "L2CM_RANGE_RATE_SIGMA", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L2CM_RANGE_RATE_SIGMA)));
28275
+ rb_define_const(SwigClassMeasurement.klass, "L2CL_RANGE_RATE_SIGMA", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L2CL_RANGE_RATE_SIGMA)));
28276
+ rb_define_const(SwigClassMeasurement.klass, "L2CM_SIGNAL_STRENGTH_dBHz", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L2CM_SIGNAL_STRENGTH_dBHz)));
28277
+ rb_define_const(SwigClassMeasurement.klass, "L2CL_SIGNAL_STRENGTH_dBHz", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L2CL_SIGNAL_STRENGTH_dBHz)));
28278
+ rb_define_const(SwigClassMeasurement.klass, "L2CM_LOCK_SEC", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L2CM_LOCK_SEC)));
28279
+ rb_define_const(SwigClassMeasurement.klass, "L2CL_LOCK_SEC", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::L2CL_LOCK_SEC)));
28070
28280
  rb_define_const(SwigClassMeasurement.klass, "ITEMS_PREDEFINED", SWIG_From_int(static_cast< int >(GPS_Measurement< double >::ITEMS_PREDEFINED)));
28071
28281
  rb_define_method(SwigClassMeasurement.klass, "add", VALUEFUNC(_wrap_Measurement_add), -1);
28072
28282
  rb_define_method(SwigClassMeasurement.klass, "each", VALUEFUNC(_wrap_Measurement_each), -1);
@@ -28078,7 +28288,6 @@ SWIGEXPORT void Init_GPS(void) {
28078
28288
  SwigClassSolverOptionsCommon.klass = rb_define_class_under(mGPS, "SolverOptionsCommon", rb_cObject);
28079
28289
  SWIG_TypeClientData(SWIGTYPE_p_GPS_SolverOptions_CommonT_double_t, (void *) &SwigClassSolverOptionsCommon);
28080
28290
  rb_undef_alloc_func(SwigClassSolverOptionsCommon.klass);
28081
- rb_define_method(SwigClassSolverOptionsCommon.klass, "cast_general", VALUEFUNC(_wrap_SolverOptionsCommon_cast_general), -1);
28082
28291
  rb_define_method(SwigClassSolverOptionsCommon.klass, "elevation_mask=", VALUEFUNC(_wrap_SolverOptionsCommon_elevation_maske___), -1);
28083
28292
  rb_define_method(SwigClassSolverOptionsCommon.klass, "elevation_mask", VALUEFUNC(_wrap_SolverOptionsCommon_elevation_mask), -1);
28084
28293
  rb_define_method(SwigClassSolverOptionsCommon.klass, "residual_mask=", VALUEFUNC(_wrap_SolverOptionsCommon_residual_maske___), -1);
@@ -28094,6 +28303,8 @@ SWIGEXPORT void Init_GPS(void) {
28094
28303
  rb_define_method(SwigClassSolverOptions.klass, "exclude", VALUEFUNC(_wrap_SolverOptions_exclude), -1);
28095
28304
  rb_define_method(SwigClassSolverOptions.klass, "include", VALUEFUNC(_wrap_SolverOptions_include), -1);
28096
28305
  rb_define_method(SwigClassSolverOptions.klass, "excluded", VALUEFUNC(_wrap_SolverOptions_excluded), -1);
28306
+ rb_define_method(SwigClassSolverOptions.klass, "exclude_L2C?", VALUEFUNC(_wrap_SolverOptions_exclude_L2Cq___), -1);
28307
+ rb_define_method(SwigClassSolverOptions.klass, "exclude_L2C=", VALUEFUNC(_wrap_SolverOptions_exclude_L2Ce___), -1);
28097
28308
  SwigClassSolverOptions.mark = 0;
28098
28309
  SwigClassSolverOptions.destroy = (void (*)(void *)) free_GPS_SolverOptions_Sl_double_Sg_;
28099
28310
  SwigClassSolverOptions.trackObjects = 0;