gps_pvt 0.6.3 → 0.7.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.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/Rakefile +1 -0
- data/exe/gps_pvt +3 -1
- data/exe/to_ubx +1 -0
- data/ext/gps_pvt/GPS/GPS_wrap.cxx +986 -295
- data/ext/gps_pvt/SylphideMath/SylphideMath_wrap.cxx +2 -3
- data/ext/ninja-scan-light/tool/navigation/ANTEX.h +1 -1
- data/ext/ninja-scan-light/tool/navigation/GLONASS_Solver.h +1 -1
- data/ext/ninja-scan-light/tool/navigation/GPS_Solver.h +1 -1
- data/ext/ninja-scan-light/tool/navigation/GPS_Solver_Base.h +8 -13
- data/ext/ninja-scan-light/tool/navigation/GPS_Solver_RAIM.h +29 -1
- data/ext/ninja-scan-light/tool/navigation/MagneticField.h +4 -3
- data/ext/ninja-scan-light/tool/navigation/NTCM.h +1 -1
- data/ext/ninja-scan-light/tool/navigation/RINEX.h +29 -14
- data/ext/ninja-scan-light/tool/navigation/RINEX_Clock.h +458 -0
- data/ext/ninja-scan-light/tool/navigation/SBAS.h +3 -3
- data/ext/ninja-scan-light/tool/navigation/SBAS_Solver.h +1 -1
- data/ext/ninja-scan-light/tool/navigation/SP3.h +49 -42
- data/ext/ninja-scan-light/tool/param/bit_array.h +2 -2
- data/ext/ninja-scan-light/tool/param/quaternion.h +2 -2
- data/ext/ninja-scan-light/tool/param/vector3.h +2 -2
- data/ext/ninja-scan-light/tool/swig/GPS.i +117 -51
- data/ext/ninja-scan-light/tool/swig/SylphideMath.i +1 -2
- data/ext/ninja-scan-light/tool/swig/spec/GPS_spec.rb +121 -0
- data/lib/gps_pvt/receiver.rb +27 -2
- data/lib/gps_pvt/version.rb +1 -1
- metadata +3 -2
@@ -1875,43 +1875,47 @@ int SWIG_Ruby_arity( VALUE proc, int minimal )
|
|
1875
1875
|
#define SWIGTYPE_p_MatrixViewBaseT_t swig_types[25]
|
1876
1876
|
#define SWIGTYPE_p_MatrixViewFilterT_MatrixViewBaseT_t_t swig_types[26]
|
1877
1877
|
#define SWIGTYPE_p_Matrix_FrozenT_double_Array2D_DenseT_double_t_MatrixViewBaseT_t_t swig_types[27]
|
1878
|
-
#define
|
1879
|
-
#define
|
1880
|
-
#define
|
1881
|
-
#define
|
1882
|
-
#define
|
1883
|
-
#define
|
1884
|
-
#define
|
1885
|
-
#define
|
1886
|
-
#define
|
1887
|
-
#define
|
1888
|
-
#define
|
1889
|
-
#define
|
1890
|
-
#define
|
1891
|
-
#define
|
1892
|
-
#define
|
1893
|
-
#define
|
1894
|
-
#define
|
1895
|
-
#define
|
1896
|
-
#define
|
1897
|
-
#define
|
1898
|
-
#define
|
1899
|
-
#define
|
1900
|
-
#define
|
1901
|
-
#define
|
1902
|
-
#define
|
1903
|
-
#define
|
1904
|
-
#define
|
1905
|
-
#define
|
1906
|
-
#define
|
1907
|
-
#define
|
1908
|
-
#define
|
1909
|
-
#define
|
1910
|
-
#define
|
1911
|
-
#define
|
1912
|
-
#define
|
1913
|
-
|
1914
|
-
|
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_xyz_t swig_types[66]
|
1917
|
+
static swig_type_info *swig_types[68];
|
1918
|
+
static swig_module_info swig_module = {swig_types, 67, 0, 0, 0, 0};
|
1915
1919
|
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
|
1916
1920
|
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
|
1917
1921
|
|
@@ -1953,6 +1957,7 @@ static VALUE mGPS;
|
|
1953
1957
|
#include "navigation/QZSS.h"
|
1954
1958
|
#include "navigation/GLONASS.h"
|
1955
1959
|
#include "navigation/RINEX.h"
|
1960
|
+
#include "navigation/RINEX_Clock.h"
|
1956
1961
|
#include "navigation/SP3.h"
|
1957
1962
|
#include "navigation/ANTEX.h"
|
1958
1963
|
|
@@ -2530,6 +2535,7 @@ struct GPS_Measurement {
|
|
2530
2535
|
|
2531
2536
|
template <class FloatT>
|
2532
2537
|
struct GPS_SolverOptions_Common {
|
2538
|
+
virtual ~GPS_SolverOptions_Common() {}
|
2533
2539
|
virtual GPS_Solver_GeneralOptions<FloatT> *cast_general() = 0;
|
2534
2540
|
virtual const GPS_Solver_GeneralOptions<FloatT> *cast_general() const = 0;
|
2535
2541
|
};
|
@@ -2836,12 +2842,7 @@ template <class FloatT>
|
|
2836
2842
|
struct RINEX_Observation {};
|
2837
2843
|
|
2838
2844
|
|
2839
|
-
|
2840
|
-
struct SP3 : public SP3_Product<FloatT> {
|
2841
|
-
int read(const char *fname) {
|
2842
|
-
std::fstream fin(fname, std::ios::in | std::ios::binary);
|
2843
|
-
return SP3_Reader<FloatT>::read_all(fin, *this);
|
2844
|
-
}
|
2845
|
+
struct PushableData {
|
2845
2846
|
enum system_t {
|
2846
2847
|
SYS_GPS,
|
2847
2848
|
SYS_SBAS,
|
@@ -2851,20 +2852,21 @@ struct SP3 : public SP3_Product<FloatT> {
|
|
2851
2852
|
SYS_BEIDOU,
|
2852
2853
|
SYS_SYSTEMS,
|
2853
2854
|
};
|
2854
|
-
|
2855
|
+
template <class DataT, class FloatT>
|
2856
|
+
static bool push(DataT &data, GPS_Solver<FloatT> &solver, const system_t &sys){
|
2855
2857
|
switch(sys){
|
2856
2858
|
case SYS_GPS:
|
2857
|
-
return
|
2858
|
-
solver.gps.ephemeris_proxy.gps,
|
2859
|
+
return data.push(
|
2860
|
+
solver.gps.ephemeris_proxy.gps, DataT::SYSTEM_GPS);
|
2859
2861
|
case SYS_SBAS:
|
2860
|
-
return
|
2861
|
-
solver.sbas.solver.satellites,
|
2862
|
+
return data.push(
|
2863
|
+
solver.sbas.solver.satellites, DataT::SYSTEM_SBAS);
|
2862
2864
|
case SYS_QZSS:
|
2863
|
-
return
|
2864
|
-
solver.gps.ephemeris_proxy.qzss,
|
2865
|
+
return data.push(
|
2866
|
+
solver.gps.ephemeris_proxy.qzss, DataT::SYSTEM_QZSS);
|
2865
2867
|
case SYS_GLONASS:
|
2866
|
-
return
|
2867
|
-
solver.glonass.solver.satellites,
|
2868
|
+
return data.push(
|
2869
|
+
solver.glonass.solver.satellites, DataT::SYSTEM_GLONASS);
|
2868
2870
|
case SYS_GALILEO:
|
2869
2871
|
case SYS_BEIDOU:
|
2870
2872
|
default:
|
@@ -2872,7 +2874,8 @@ struct SP3 : public SP3_Product<FloatT> {
|
|
2872
2874
|
}
|
2873
2875
|
return false;
|
2874
2876
|
}
|
2875
|
-
|
2877
|
+
template <class DataT, class FloatT>
|
2878
|
+
static bool push(DataT &data, GPS_Solver<FloatT> &solver){
|
2876
2879
|
system_t target[] = {
|
2877
2880
|
SYS_GPS,
|
2878
2881
|
SYS_SBAS,
|
@@ -2882,10 +2885,28 @@ struct SP3 : public SP3_Product<FloatT> {
|
|
2882
2885
|
//SYS_BEIDOU,
|
2883
2886
|
};
|
2884
2887
|
for(std::size_t i(0); i < sizeof(target) / sizeof(target[0]); ++i){
|
2885
|
-
if(!push(solver, target[i])){return false;}
|
2888
|
+
if(!push(data, solver, target[i])){return false;}
|
2886
2889
|
}
|
2887
2890
|
return true;
|
2888
2891
|
}
|
2892
|
+
};
|
2893
|
+
|
2894
|
+
|
2895
|
+
template <class FloatT>
|
2896
|
+
struct SP3 : public SP3_Product<FloatT>, PushableData {
|
2897
|
+
int read(const char *fname) {
|
2898
|
+
std::fstream fin(fname, std::ios::in | std::ios::binary);
|
2899
|
+
return SP3_Reader<FloatT>::read_all(fin, *this);
|
2900
|
+
}
|
2901
|
+
typename SP3_Product<FloatT>::satellite_count_t satellites() const {
|
2902
|
+
return SP3_Product<FloatT>::satellite_count();
|
2903
|
+
}
|
2904
|
+
bool push(GPS_Solver<FloatT> &solver, const PushableData::system_t &sys) const {
|
2905
|
+
return PushableData::push((SP3_Product<FloatT> &)*this, solver, sys);
|
2906
|
+
}
|
2907
|
+
bool push(GPS_Solver<FloatT> &solver) const {
|
2908
|
+
return PushableData::push((SP3_Product<FloatT> &)*this, solver);
|
2909
|
+
}
|
2889
2910
|
System_XYZ<FloatT, WGS84> position(
|
2890
2911
|
const int &sat_id, const GPS_Time<FloatT> &t) const {
|
2891
2912
|
return SP3_Product<FloatT>::select(sat_id, t).position(t);
|
@@ -2912,6 +2933,35 @@ struct SP3 : public SP3_Product<FloatT> {
|
|
2912
2933
|
};
|
2913
2934
|
|
2914
2935
|
|
2936
|
+
template <class FloatT>
|
2937
|
+
struct RINEX_Clock : public RINEX_CLK<FloatT>::satellites_t, PushableData {
|
2938
|
+
typedef typename RINEX_CLK<FloatT>::satellites_t super_t;
|
2939
|
+
int read(const char *fname) {
|
2940
|
+
std::fstream fin(fname, std::ios::in | std::ios::binary);
|
2941
|
+
return RINEX_CLK_Reader<FloatT>::read_all(fin, *this);
|
2942
|
+
}
|
2943
|
+
typename RINEX_CLK<FloatT>::satellites_t::count_t satellites() const {
|
2944
|
+
return RINEX_CLK<FloatT>::satellites_t::count();
|
2945
|
+
}
|
2946
|
+
bool push(GPS_Solver<FloatT> &solver, const PushableData::system_t &sys) const {
|
2947
|
+
return PushableData::push((typename RINEX_CLK<FloatT>::satellites_t &)*this, solver, sys);
|
2948
|
+
}
|
2949
|
+
bool push(GPS_Solver<FloatT> &solver) const {
|
2950
|
+
return PushableData::push((typename RINEX_CLK<FloatT>::satellites_t &)*this, solver);
|
2951
|
+
}
|
2952
|
+
FloatT clock_error(const int &sat_id, const GPS_Time<FloatT> &t) const {
|
2953
|
+
typename super_t::buf_t::const_iterator it(this->buf.find(sat_id));
|
2954
|
+
if(it == this->buf.end()){return super_t::sat_t::unavailable().clock_error(t);}
|
2955
|
+
return it->second.clock_error(t);
|
2956
|
+
}
|
2957
|
+
FloatT clock_error_dot(const int &sat_id, const GPS_Time<FloatT> &t) const {
|
2958
|
+
typename super_t::buf_t::const_iterator it(this->buf.find(sat_id));
|
2959
|
+
if(it == this->buf.end()){return super_t::sat_t::unavailable().clock_error(t);}
|
2960
|
+
return it->second.clock_error_dot(t);
|
2961
|
+
}
|
2962
|
+
};
|
2963
|
+
|
2964
|
+
|
2915
2965
|
SWIGINTERNINLINE VALUE
|
2916
2966
|
SWIG_From_unsigned_SS_long (unsigned long value)
|
2917
2967
|
{
|
@@ -3448,21 +3498,13 @@ SWIGINTERN void GPS_Ionospheric_UTC_Parameters_Sl_double_Sg__set_alpha(GPS_Ionos
|
|
3448
3498
|
self->alpha[i] = values[i];
|
3449
3499
|
}
|
3450
3500
|
}
|
3451
|
-
SWIGINTERN void GPS_Ionospheric_UTC_Parameters_Sl_double_Sg__get_alpha(GPS_Ionospheric_UTC_Parameters< double > const *self,double values[4]){
|
3452
|
-
for(int i(0); i < 4; ++i){
|
3453
|
-
values[i] = self->alpha[i];
|
3454
|
-
}
|
3455
|
-
}
|
3501
|
+
SWIGINTERN void GPS_Ionospheric_UTC_Parameters_Sl_double_Sg__get_alpha(GPS_Ionospheric_UTC_Parameters< double > const *self,double const *values[4]){*values = self->alpha;}
|
3456
3502
|
SWIGINTERN void GPS_Ionospheric_UTC_Parameters_Sl_double_Sg__set_beta(GPS_Ionospheric_UTC_Parameters< double > *self,double const values[4]){
|
3457
3503
|
for(int i(0); i < 4; ++i){
|
3458
3504
|
self->beta[i] = values[i];
|
3459
3505
|
}
|
3460
3506
|
}
|
3461
|
-
SWIGINTERN void GPS_Ionospheric_UTC_Parameters_Sl_double_Sg__get_beta(GPS_Ionospheric_UTC_Parameters< double > const *self,double values[4]){
|
3462
|
-
for(int i(0); i < 4; ++i){
|
3463
|
-
values[i] = self->beta[i];
|
3464
|
-
}
|
3465
|
-
}
|
3507
|
+
SWIGINTERN void GPS_Ionospheric_UTC_Parameters_Sl_double_Sg__get_beta(GPS_Ionospheric_UTC_Parameters< double > const *self,double const *values[4]){*values = self->beta;}
|
3466
3508
|
SWIGINTERN double GPS_Ionospheric_UTC_Parameters_Sl_double_Sg__set_A1(GPS_Ionospheric_UTC_Parameters< double > *self,double const &v){
|
3467
3509
|
return self->A1 = v;
|
3468
3510
|
}
|
@@ -3980,7 +4022,10 @@ SWIGINTERN double const &GPS_SolverOptions_Common_Sl_double_Sg__get_residual_mas
|
|
3980
4022
|
if(!res.is_available()){
|
3981
4023
|
static const VALUE key(ID2SYM(rb_intern("relative_property")));
|
3982
4024
|
VALUE hook(rb_hash_lookup(hooks, key));
|
3983
|
-
if(!NIL_P(hook)){
|
4025
|
+
if(!NIL_P(hook)){
|
4026
|
+
if(!res.impl_xyz){res.impl_xyz = this;}
|
4027
|
+
if(!res.impl_t){res.impl_t = this;}
|
4028
|
+
}
|
3984
4029
|
}
|
3985
4030
|
|
3986
4031
|
return res;
|
@@ -4126,6 +4171,19 @@ SWIGINTERN VALUE GPS_Solver_Sl_double_Sg__get_correction(GPS_Solver< double > co
|
|
4126
4171
|
SWIGINTERN VALUE GPS_Solver_Sl_double_Sg__set_correction(GPS_Solver< double > *self,VALUE hash){
|
4127
4172
|
return self->update_correction(true, hash);
|
4128
4173
|
}
|
4174
|
+
SWIGINTERN GPS_Solver< double >::super_t::options_t GPS_Solver_Sl_double_Sg__get_options(GPS_Solver< double > const *self){
|
4175
|
+
return self->available_options();
|
4176
|
+
}
|
4177
|
+
SWIGINTERN GPS_Solver< double >::super_t::options_t GPS_Solver_Sl_double_Sg__set_options(GPS_Solver< double > *self,VALUE obj){
|
4178
|
+
GPS_Solver<double>::super_t::options_t opt(self->available_options());
|
4179
|
+
|
4180
|
+
if(!RB_TYPE_P(obj, T_HASH)){SWIG_exception(SWIG_TypeError, "Hash is expected");}
|
4181
|
+
SWIG_AsVal_bool (
|
4182
|
+
rb_hash_lookup(obj, ID2SYM(rb_intern("skip_exclusion"))),
|
4183
|
+
&opt.skip_exclusion);
|
4184
|
+
|
4185
|
+
return self->update_options(opt);
|
4186
|
+
}
|
4129
4187
|
SWIGINTERN unsigned int SBAS_Ephemeris_Sl_double_Sg__set_svid(SBAS_Ephemeris< double > *self,unsigned int const &v){
|
4130
4188
|
return self->svid = v;
|
4131
4189
|
}
|
@@ -4578,15 +4636,6 @@ SWIGINTERN void RINEX_Observation_Sl_double_Sg__read(char const *fname){
|
|
4578
4636
|
|
4579
4637
|
}
|
4580
4638
|
}
|
4581
|
-
SWIGINTERN void SP3_Sl_double_Sg__satellites(SP3< double > const *self,int count[SP3< double >::SYS_SYSTEMS]){
|
4582
|
-
typename SP3_Product<double>::satellite_count_t x(self->satellite_count());
|
4583
|
-
count[SP3<double>::SYS_GPS] = x.gps;
|
4584
|
-
count[SP3<double>::SYS_SBAS] = x.sbas;
|
4585
|
-
count[SP3<double>::SYS_QZSS] = x.qzss;
|
4586
|
-
count[SP3<double>::SYS_GLONASS] = x.glonass;
|
4587
|
-
count[SP3<double>::SYS_GALILEO] = x.galileo;
|
4588
|
-
count[SP3<double>::SYS_BEIDOU] = x.beidou;
|
4589
|
-
}
|
4590
4639
|
static swig_class SwigClassGC_VALUE;
|
4591
4640
|
|
4592
4641
|
/*
|
@@ -4643,6 +4692,132 @@ fail:
|
|
4643
4692
|
}
|
4644
4693
|
|
4645
4694
|
|
4695
|
+
/*
|
4696
|
+
Document-class: GPS_PVT::GPS::PushableData
|
4697
|
+
|
4698
|
+
Proxy of C++ GPS_PVT::GPS::PushableData class
|
4699
|
+
|
4700
|
+
|
4701
|
+
*/
|
4702
|
+
static swig_class SwigClassPushableData;
|
4703
|
+
|
4704
|
+
/*
|
4705
|
+
Document-method: GPS_PVT::GPS::system_t.SYS_GPS
|
4706
|
+
|
4707
|
+
call-seq:
|
4708
|
+
SYS_GPS -> int
|
4709
|
+
|
4710
|
+
A class method.
|
4711
|
+
|
4712
|
+
*/
|
4713
|
+
/*
|
4714
|
+
Document-method: GPS_PVT::GPS::system_t.SYS_SBAS
|
4715
|
+
|
4716
|
+
call-seq:
|
4717
|
+
SYS_SBAS -> int
|
4718
|
+
|
4719
|
+
A class method.
|
4720
|
+
|
4721
|
+
*/
|
4722
|
+
/*
|
4723
|
+
Document-method: GPS_PVT::GPS::system_t.SYS_QZSS
|
4724
|
+
|
4725
|
+
call-seq:
|
4726
|
+
SYS_QZSS -> int
|
4727
|
+
|
4728
|
+
A class method.
|
4729
|
+
|
4730
|
+
*/
|
4731
|
+
/*
|
4732
|
+
Document-method: GPS_PVT::GPS::system_t.SYS_GLONASS
|
4733
|
+
|
4734
|
+
call-seq:
|
4735
|
+
SYS_GLONASS -> int
|
4736
|
+
|
4737
|
+
A class method.
|
4738
|
+
|
4739
|
+
*/
|
4740
|
+
/*
|
4741
|
+
Document-method: GPS_PVT::GPS::system_t.SYS_GALILEO
|
4742
|
+
|
4743
|
+
call-seq:
|
4744
|
+
SYS_GALILEO -> int
|
4745
|
+
|
4746
|
+
A class method.
|
4747
|
+
|
4748
|
+
*/
|
4749
|
+
/*
|
4750
|
+
Document-method: GPS_PVT::GPS::system_t.SYS_BEIDOU
|
4751
|
+
|
4752
|
+
call-seq:
|
4753
|
+
SYS_BEIDOU -> int
|
4754
|
+
|
4755
|
+
A class method.
|
4756
|
+
|
4757
|
+
*/
|
4758
|
+
/*
|
4759
|
+
Document-method: GPS_PVT::GPS::system_t.SYS_SYSTEMS
|
4760
|
+
|
4761
|
+
call-seq:
|
4762
|
+
SYS_SYSTEMS -> int
|
4763
|
+
|
4764
|
+
A class method.
|
4765
|
+
|
4766
|
+
*/
|
4767
|
+
SWIGINTERN VALUE
|
4768
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
4769
|
+
_wrap_PushableData_allocate(VALUE self)
|
4770
|
+
#else
|
4771
|
+
_wrap_PushableData_allocate(int argc, VALUE *argv, VALUE self)
|
4772
|
+
#endif
|
4773
|
+
{
|
4774
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_PushableData);
|
4775
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
4776
|
+
rb_obj_call_init(vresult, argc, argv);
|
4777
|
+
#endif
|
4778
|
+
return vresult;
|
4779
|
+
}
|
4780
|
+
|
4781
|
+
|
4782
|
+
/*
|
4783
|
+
Document-method: GPS_PVT::GPS::PushableData.new
|
4784
|
+
|
4785
|
+
call-seq:
|
4786
|
+
PushableData.new
|
4787
|
+
|
4788
|
+
Class constructor.
|
4789
|
+
|
4790
|
+
*/
|
4791
|
+
SWIGINTERN VALUE
|
4792
|
+
_wrap_new_PushableData(int argc, VALUE *argv, VALUE self) {
|
4793
|
+
PushableData *result = 0 ;
|
4794
|
+
|
4795
|
+
if ((argc < 0) || (argc > 0)) {
|
4796
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
4797
|
+
}
|
4798
|
+
{
|
4799
|
+
try {
|
4800
|
+
result = (PushableData *)new PushableData();
|
4801
|
+
DATA_PTR(self) = result;
|
4802
|
+
} catch (const native_exception &e) {
|
4803
|
+
e.regenerate();
|
4804
|
+
SWIG_fail;
|
4805
|
+
} catch (const std::exception& e) {
|
4806
|
+
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
4807
|
+
}
|
4808
|
+
}
|
4809
|
+
return self;
|
4810
|
+
fail:
|
4811
|
+
return Qnil;
|
4812
|
+
}
|
4813
|
+
|
4814
|
+
|
4815
|
+
SWIGINTERN void
|
4816
|
+
free_PushableData(void *self) {
|
4817
|
+
PushableData *arg1 = (PushableData *)self;
|
4818
|
+
delete arg1;
|
4819
|
+
}
|
4820
|
+
|
4646
4821
|
/*
|
4647
4822
|
Document-class: GPS_PVT::GPS::Time
|
4648
4823
|
|
@@ -9708,7 +9883,6 @@ _wrap_Ionospheric_UTC_Parameters_alphae___(int argc, VALUE *argv, VALUE self) {
|
|
9708
9883
|
void *argp1 = 0 ;
|
9709
9884
|
int res1 = 0 ;
|
9710
9885
|
double temp2[4] ;
|
9711
|
-
VALUE vresult = Qnil;
|
9712
9886
|
|
9713
9887
|
if ((argc < 1) || (argc > 1)) {
|
9714
9888
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
@@ -9739,12 +9913,7 @@ _wrap_Ionospheric_UTC_Parameters_alphae___(int argc, VALUE *argv, VALUE self) {
|
|
9739
9913
|
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
9740
9914
|
}
|
9741
9915
|
}
|
9742
|
-
|
9743
|
-
for(int i(0); i < 4; ++i){
|
9744
|
-
vresult = SWIG_Ruby_AppendOutput(vresult, swig::from(arg2[i]));
|
9745
|
-
}
|
9746
|
-
}
|
9747
|
-
return vresult;
|
9916
|
+
return Qnil;
|
9748
9917
|
fail:
|
9749
9918
|
return Qnil;
|
9750
9919
|
}
|
@@ -9762,15 +9931,13 @@ An instance method.
|
|
9762
9931
|
SWIGINTERN VALUE
|
9763
9932
|
_wrap_Ionospheric_UTC_Parameters_alpha(int argc, VALUE *argv, VALUE self) {
|
9764
9933
|
GPS_Ionospheric_UTC_Parameters< double > *arg1 = (GPS_Ionospheric_UTC_Parameters< double > *) 0 ;
|
9765
|
-
double
|
9934
|
+
double **arg2 ;
|
9766
9935
|
void *argp1 = 0 ;
|
9767
9936
|
int res1 = 0 ;
|
9768
|
-
double temp2
|
9937
|
+
double *temp2 ;
|
9769
9938
|
VALUE vresult = Qnil;
|
9770
9939
|
|
9771
|
-
|
9772
|
-
arg2 = temp2;
|
9773
|
-
|
9940
|
+
arg2 = &temp2;
|
9774
9941
|
if ((argc < 0) || (argc > 0)) {
|
9775
9942
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
9776
9943
|
}
|
@@ -9781,7 +9948,7 @@ _wrap_Ionospheric_UTC_Parameters_alpha(int argc, VALUE *argv, VALUE self) {
|
|
9781
9948
|
arg1 = reinterpret_cast< GPS_Ionospheric_UTC_Parameters< double > * >(argp1);
|
9782
9949
|
{
|
9783
9950
|
try {
|
9784
|
-
GPS_Ionospheric_UTC_Parameters_Sl_double_Sg__get_alpha((GPS_Ionospheric_UTC_Parameters< double > const *)arg1,arg2);
|
9951
|
+
GPS_Ionospheric_UTC_Parameters_Sl_double_Sg__get_alpha((GPS_Ionospheric_UTC_Parameters< double > const *)arg1,(double const *(*))arg2);
|
9785
9952
|
} catch (const native_exception &e) {
|
9786
9953
|
e.regenerate();
|
9787
9954
|
SWIG_fail;
|
@@ -9791,7 +9958,7 @@ _wrap_Ionospheric_UTC_Parameters_alpha(int argc, VALUE *argv, VALUE self) {
|
|
9791
9958
|
}
|
9792
9959
|
{
|
9793
9960
|
for(int i(0); i < 4; ++i){
|
9794
|
-
vresult = SWIG_Ruby_AppendOutput(vresult, swig::from(arg2[i]));
|
9961
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, swig::from((*arg2)[i]));
|
9795
9962
|
}
|
9796
9963
|
}
|
9797
9964
|
return vresult;
|
@@ -9816,7 +9983,6 @@ _wrap_Ionospheric_UTC_Parameters_betae___(int argc, VALUE *argv, VALUE self) {
|
|
9816
9983
|
void *argp1 = 0 ;
|
9817
9984
|
int res1 = 0 ;
|
9818
9985
|
double temp2[4] ;
|
9819
|
-
VALUE vresult = Qnil;
|
9820
9986
|
|
9821
9987
|
if ((argc < 1) || (argc > 1)) {
|
9822
9988
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
@@ -9847,12 +10013,7 @@ _wrap_Ionospheric_UTC_Parameters_betae___(int argc, VALUE *argv, VALUE self) {
|
|
9847
10013
|
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
9848
10014
|
}
|
9849
10015
|
}
|
9850
|
-
|
9851
|
-
for(int i(0); i < 4; ++i){
|
9852
|
-
vresult = SWIG_Ruby_AppendOutput(vresult, swig::from(arg2[i]));
|
9853
|
-
}
|
9854
|
-
}
|
9855
|
-
return vresult;
|
10016
|
+
return Qnil;
|
9856
10017
|
fail:
|
9857
10018
|
return Qnil;
|
9858
10019
|
}
|
@@ -9870,15 +10031,13 @@ An instance method.
|
|
9870
10031
|
SWIGINTERN VALUE
|
9871
10032
|
_wrap_Ionospheric_UTC_Parameters_beta(int argc, VALUE *argv, VALUE self) {
|
9872
10033
|
GPS_Ionospheric_UTC_Parameters< double > *arg1 = (GPS_Ionospheric_UTC_Parameters< double > *) 0 ;
|
9873
|
-
double
|
10034
|
+
double **arg2 ;
|
9874
10035
|
void *argp1 = 0 ;
|
9875
10036
|
int res1 = 0 ;
|
9876
|
-
double temp2
|
10037
|
+
double *temp2 ;
|
9877
10038
|
VALUE vresult = Qnil;
|
9878
10039
|
|
9879
|
-
|
9880
|
-
arg2 = temp2;
|
9881
|
-
|
10040
|
+
arg2 = &temp2;
|
9882
10041
|
if ((argc < 0) || (argc > 0)) {
|
9883
10042
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
9884
10043
|
}
|
@@ -9889,7 +10048,7 @@ _wrap_Ionospheric_UTC_Parameters_beta(int argc, VALUE *argv, VALUE self) {
|
|
9889
10048
|
arg1 = reinterpret_cast< GPS_Ionospheric_UTC_Parameters< double > * >(argp1);
|
9890
10049
|
{
|
9891
10050
|
try {
|
9892
|
-
GPS_Ionospheric_UTC_Parameters_Sl_double_Sg__get_beta((GPS_Ionospheric_UTC_Parameters< double > const *)arg1,arg2);
|
10051
|
+
GPS_Ionospheric_UTC_Parameters_Sl_double_Sg__get_beta((GPS_Ionospheric_UTC_Parameters< double > const *)arg1,(double const *(*))arg2);
|
9893
10052
|
} catch (const native_exception &e) {
|
9894
10053
|
e.regenerate();
|
9895
10054
|
SWIG_fail;
|
@@ -9899,7 +10058,7 @@ _wrap_Ionospheric_UTC_Parameters_beta(int argc, VALUE *argv, VALUE self) {
|
|
9899
10058
|
}
|
9900
10059
|
{
|
9901
10060
|
for(int i(0); i < 4; ++i){
|
9902
|
-
vresult = SWIG_Ruby_AppendOutput(vresult, swig::from(arg2[i]));
|
10061
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, swig::from((*arg2)[i]));
|
9903
10062
|
}
|
9904
10063
|
}
|
9905
10064
|
return vresult;
|
@@ -16071,6 +16230,12 @@ free_GPS_Measurement_Sl_double_Sg_(void *self) {
|
|
16071
16230
|
*/
|
16072
16231
|
static swig_class SwigClassSolverOptionsCommon;
|
16073
16232
|
|
16233
|
+
SWIGINTERN void
|
16234
|
+
free_GPS_SolverOptions_Common_Sl_double_Sg_(void *self) {
|
16235
|
+
GPS_SolverOptions_Common< double > *arg1 = (GPS_SolverOptions_Common< double > *)self;
|
16236
|
+
delete arg1;
|
16237
|
+
}
|
16238
|
+
|
16074
16239
|
/*
|
16075
16240
|
Document-method: GPS_PVT::GPS::SolverOptionsCommon.cast_general
|
16076
16241
|
|
@@ -16374,12 +16539,6 @@ fail:
|
|
16374
16539
|
}
|
16375
16540
|
|
16376
16541
|
|
16377
|
-
SWIGINTERN void
|
16378
|
-
free_GPS_SolverOptions_Common_Sl_double_Sg_(void *self) {
|
16379
|
-
GPS_SolverOptions_Common< double > *arg1 = (GPS_SolverOptions_Common< double > *)self;
|
16380
|
-
delete arg1;
|
16381
|
-
}
|
16382
|
-
|
16383
16542
|
/*
|
16384
16543
|
Document-class: GPS_PVT::GPS::SolverOptions < GPS::SolverOptionsCommon
|
16385
16544
|
|
@@ -17079,42 +17238,34 @@ fail:
|
|
17079
17238
|
}
|
17080
17239
|
|
17081
17240
|
|
17082
|
-
SWIGINTERN void
|
17083
|
-
free_GPS_Solver_Sl_double_Sg_(void *self) {
|
17084
|
-
GPS_Solver< double > *arg1 = (GPS_Solver< double > *)self;
|
17085
|
-
delete arg1;
|
17086
|
-
}
|
17087
|
-
|
17088
|
-
/*
|
17089
|
-
Document-class: GPS_PVT::GPS::Ephemeris_SBAS
|
17090
|
-
|
17091
|
-
Proxy of C++ GPS_PVT::GPS::Ephemeris_SBAS class
|
17092
|
-
|
17093
|
-
|
17094
|
-
*/
|
17095
|
-
static swig_class SwigClassEphemeris_SBAS;
|
17096
|
-
|
17097
17241
|
/*
|
17098
|
-
Document-method: GPS_PVT::GPS::
|
17242
|
+
Document-method: GPS_PVT::GPS::Solver.options
|
17099
17243
|
|
17100
17244
|
call-seq:
|
17101
|
-
|
17102
|
-
Ephemeris_SBAS.new(SBAS_SpaceNode< double >::SatelliteProperties::Ephemeris const & eph)
|
17245
|
+
options -> GPS_Solver< double >::super_t::options_t
|
17103
17246
|
|
17104
|
-
|
17247
|
+
An instance method.
|
17105
17248
|
|
17106
17249
|
*/
|
17107
17250
|
SWIGINTERN VALUE
|
17108
|
-
|
17109
|
-
|
17251
|
+
_wrap_Solver_options(int argc, VALUE *argv, VALUE self) {
|
17252
|
+
GPS_Solver< double > *arg1 = (GPS_Solver< double > *) 0 ;
|
17253
|
+
void *argp1 = 0 ;
|
17254
|
+
int res1 = 0 ;
|
17255
|
+
GPS_Solver< double >::super_t::options_t result;
|
17256
|
+
VALUE vresult = Qnil;
|
17110
17257
|
|
17111
17258
|
if ((argc < 0) || (argc > 0)) {
|
17112
17259
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
17113
17260
|
}
|
17261
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_GPS_SolverT_double_t, 0 | 0 );
|
17262
|
+
if (!SWIG_IsOK(res1)) {
|
17263
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "GPS_Solver< double > const *","get_options", 1, self ));
|
17264
|
+
}
|
17265
|
+
arg1 = reinterpret_cast< GPS_Solver< double > * >(argp1);
|
17114
17266
|
{
|
17115
17267
|
try {
|
17116
|
-
result = (
|
17117
|
-
DATA_PTR(self) = result;
|
17268
|
+
result = GPS_Solver_Sl_double_Sg__get_options((GPS_Solver< double > const *)arg1);
|
17118
17269
|
} catch (const native_exception &e) {
|
17119
17270
|
e.regenerate();
|
17120
17271
|
SWIG_fail;
|
@@ -17122,38 +17273,140 @@ _wrap_new_Ephemeris_SBAS__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
17122
17273
|
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
17123
17274
|
}
|
17124
17275
|
}
|
17125
|
-
|
17276
|
+
{
|
17277
|
+
VALUE res(rb_hash_new());
|
17278
|
+
rb_hash_aset(res, ID2SYM(rb_intern("skip_exclusion")), SWIG_From_bool ((&result)->skip_exclusion));
|
17279
|
+
vresult = res;
|
17280
|
+
}
|
17281
|
+
return vresult;
|
17126
17282
|
fail:
|
17127
17283
|
return Qnil;
|
17128
17284
|
}
|
17129
17285
|
|
17130
17286
|
|
17131
|
-
|
17132
|
-
|
17133
|
-
|
17134
|
-
|
17135
|
-
|
17136
|
-
#endif
|
17137
|
-
{
|
17138
|
-
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_SBAS_EphemerisT_double_t);
|
17139
|
-
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
17140
|
-
rb_obj_call_init(vresult, argc, argv);
|
17141
|
-
#endif
|
17142
|
-
return vresult;
|
17143
|
-
}
|
17287
|
+
/*
|
17288
|
+
Document-method: GPS_PVT::GPS::Solver.options=
|
17289
|
+
|
17290
|
+
call-seq:
|
17291
|
+
options=(VALUE obj) -> GPS_Solver< double >::super_t::options_t
|
17144
17292
|
|
17293
|
+
An instance method.
|
17145
17294
|
|
17295
|
+
*/
|
17146
17296
|
SWIGINTERN VALUE
|
17147
|
-
|
17148
|
-
|
17149
|
-
|
17297
|
+
_wrap_Solver_optionse___(int argc, VALUE *argv, VALUE self) {
|
17298
|
+
GPS_Solver< double > *arg1 = (GPS_Solver< double > *) 0 ;
|
17299
|
+
VALUE arg2 = (VALUE) 0 ;
|
17300
|
+
void *argp1 = 0 ;
|
17150
17301
|
int res1 = 0 ;
|
17151
|
-
|
17302
|
+
GPS_Solver< double >::super_t::options_t result;
|
17303
|
+
VALUE vresult = Qnil;
|
17152
17304
|
|
17153
17305
|
if ((argc < 1) || (argc > 1)) {
|
17154
17306
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
17155
17307
|
}
|
17156
|
-
res1 = SWIG_ConvertPtr(
|
17308
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_GPS_SolverT_double_t, 0 | 0 );
|
17309
|
+
if (!SWIG_IsOK(res1)) {
|
17310
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "GPS_Solver< double > *","set_options", 1, self ));
|
17311
|
+
}
|
17312
|
+
arg1 = reinterpret_cast< GPS_Solver< double > * >(argp1);
|
17313
|
+
arg2 = argv[0];
|
17314
|
+
{
|
17315
|
+
try {
|
17316
|
+
result = GPS_Solver_Sl_double_Sg__set_options(arg1,arg2);
|
17317
|
+
} catch (const native_exception &e) {
|
17318
|
+
e.regenerate();
|
17319
|
+
SWIG_fail;
|
17320
|
+
} catch (const std::exception& e) {
|
17321
|
+
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
17322
|
+
}
|
17323
|
+
}
|
17324
|
+
{
|
17325
|
+
VALUE res(rb_hash_new());
|
17326
|
+
rb_hash_aset(res, ID2SYM(rb_intern("skip_exclusion")), SWIG_From_bool ((&result)->skip_exclusion));
|
17327
|
+
vresult = res;
|
17328
|
+
}
|
17329
|
+
return vresult;
|
17330
|
+
fail:
|
17331
|
+
return Qnil;
|
17332
|
+
}
|
17333
|
+
|
17334
|
+
|
17335
|
+
SWIGINTERN void
|
17336
|
+
free_GPS_Solver_Sl_double_Sg_(void *self) {
|
17337
|
+
GPS_Solver< double > *arg1 = (GPS_Solver< double > *)self;
|
17338
|
+
delete arg1;
|
17339
|
+
}
|
17340
|
+
|
17341
|
+
/*
|
17342
|
+
Document-class: GPS_PVT::GPS::Ephemeris_SBAS
|
17343
|
+
|
17344
|
+
Proxy of C++ GPS_PVT::GPS::Ephemeris_SBAS class
|
17345
|
+
|
17346
|
+
|
17347
|
+
*/
|
17348
|
+
static swig_class SwigClassEphemeris_SBAS;
|
17349
|
+
|
17350
|
+
/*
|
17351
|
+
Document-method: GPS_PVT::GPS::Ephemeris_SBAS.new
|
17352
|
+
|
17353
|
+
call-seq:
|
17354
|
+
Ephemeris_SBAS.new
|
17355
|
+
Ephemeris_SBAS.new(SBAS_SpaceNode< double >::SatelliteProperties::Ephemeris const & eph)
|
17356
|
+
|
17357
|
+
Class constructor.
|
17358
|
+
|
17359
|
+
*/
|
17360
|
+
SWIGINTERN VALUE
|
17361
|
+
_wrap_new_Ephemeris_SBAS__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
17362
|
+
SBAS_Ephemeris< double > *result = 0 ;
|
17363
|
+
|
17364
|
+
if ((argc < 0) || (argc > 0)) {
|
17365
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
17366
|
+
}
|
17367
|
+
{
|
17368
|
+
try {
|
17369
|
+
result = (SBAS_Ephemeris< double > *)new SBAS_Ephemeris< double >();
|
17370
|
+
DATA_PTR(self) = result;
|
17371
|
+
} catch (const native_exception &e) {
|
17372
|
+
e.regenerate();
|
17373
|
+
SWIG_fail;
|
17374
|
+
} catch (const std::exception& e) {
|
17375
|
+
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
17376
|
+
}
|
17377
|
+
}
|
17378
|
+
return self;
|
17379
|
+
fail:
|
17380
|
+
return Qnil;
|
17381
|
+
}
|
17382
|
+
|
17383
|
+
|
17384
|
+
SWIGINTERN VALUE
|
17385
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
17386
|
+
_wrap_Ephemeris_SBAS_allocate(VALUE self)
|
17387
|
+
#else
|
17388
|
+
_wrap_Ephemeris_SBAS_allocate(int argc, VALUE *argv, VALUE self)
|
17389
|
+
#endif
|
17390
|
+
{
|
17391
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_SBAS_EphemerisT_double_t);
|
17392
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
17393
|
+
rb_obj_call_init(vresult, argc, argv);
|
17394
|
+
#endif
|
17395
|
+
return vresult;
|
17396
|
+
}
|
17397
|
+
|
17398
|
+
|
17399
|
+
SWIGINTERN VALUE
|
17400
|
+
_wrap_new_Ephemeris_SBAS__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
17401
|
+
SBAS_SpaceNode< double >::SatelliteProperties::Ephemeris *arg1 = 0 ;
|
17402
|
+
void *argp1 ;
|
17403
|
+
int res1 = 0 ;
|
17404
|
+
SBAS_Ephemeris< double > *result = 0 ;
|
17405
|
+
|
17406
|
+
if ((argc < 1) || (argc > 1)) {
|
17407
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
17408
|
+
}
|
17409
|
+
res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_SBAS_SpaceNodeT_double_t__SatelliteProperties__Ephemeris, 0 );
|
17157
17410
|
if (!SWIG_IsOK(res1)) {
|
17158
17411
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SBAS_SpaceNode< double >::SatelliteProperties::Ephemeris const &","SBAS_Ephemeris<(double)>", 1, argv[0] ));
|
17159
17412
|
}
|
@@ -24889,68 +25142,54 @@ fail:
|
|
24889
25142
|
|
24890
25143
|
|
24891
25144
|
/*
|
24892
|
-
Document-method: GPS_PVT::GPS::
|
24893
|
-
|
24894
|
-
call-seq:
|
24895
|
-
SYS_GPS -> int
|
24896
|
-
|
24897
|
-
A class method.
|
24898
|
-
|
24899
|
-
*/
|
24900
|
-
/*
|
24901
|
-
Document-method: GPS_PVT::GPS::system_t.SYS_SBAS
|
24902
|
-
|
24903
|
-
call-seq:
|
24904
|
-
SYS_SBAS -> int
|
24905
|
-
|
24906
|
-
A class method.
|
24907
|
-
|
24908
|
-
*/
|
24909
|
-
/*
|
24910
|
-
Document-method: GPS_PVT::GPS::system_t.SYS_QZSS
|
24911
|
-
|
24912
|
-
call-seq:
|
24913
|
-
SYS_QZSS -> int
|
24914
|
-
|
24915
|
-
A class method.
|
24916
|
-
|
24917
|
-
*/
|
24918
|
-
/*
|
24919
|
-
Document-method: GPS_PVT::GPS::system_t.SYS_GLONASS
|
24920
|
-
|
24921
|
-
call-seq:
|
24922
|
-
SYS_GLONASS -> int
|
24923
|
-
|
24924
|
-
A class method.
|
24925
|
-
|
24926
|
-
*/
|
24927
|
-
/*
|
24928
|
-
Document-method: GPS_PVT::GPS::system_t.SYS_GALILEO
|
24929
|
-
|
24930
|
-
call-seq:
|
24931
|
-
SYS_GALILEO -> int
|
24932
|
-
|
24933
|
-
A class method.
|
24934
|
-
|
24935
|
-
*/
|
24936
|
-
/*
|
24937
|
-
Document-method: GPS_PVT::GPS::system_t.SYS_BEIDOU
|
25145
|
+
Document-method: GPS_PVT::GPS::SP3.satellites
|
24938
25146
|
|
24939
25147
|
call-seq:
|
24940
|
-
|
25148
|
+
satellites -> SP3_Product< double >::satellite_count_t
|
24941
25149
|
|
24942
|
-
|
25150
|
+
An instance method.
|
24943
25151
|
|
24944
25152
|
*/
|
24945
|
-
|
24946
|
-
|
24947
|
-
|
24948
|
-
|
24949
|
-
|
25153
|
+
SWIGINTERN VALUE
|
25154
|
+
_wrap_SP3_satellites(int argc, VALUE *argv, VALUE self) {
|
25155
|
+
SP3< double > *arg1 = (SP3< double > *) 0 ;
|
25156
|
+
void *argp1 = 0 ;
|
25157
|
+
int res1 = 0 ;
|
25158
|
+
SP3_Product< double >::satellite_count_t result;
|
25159
|
+
VALUE vresult = Qnil;
|
25160
|
+
|
25161
|
+
if ((argc < 0) || (argc > 0)) {
|
25162
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
25163
|
+
}
|
25164
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_SP3T_double_t, 0 | 0 );
|
25165
|
+
if (!SWIG_IsOK(res1)) {
|
25166
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SP3< double > const *","satellites", 1, self ));
|
25167
|
+
}
|
25168
|
+
arg1 = reinterpret_cast< SP3< double > * >(argp1);
|
25169
|
+
{
|
25170
|
+
try {
|
25171
|
+
result = ((SP3< double > const *)arg1)->satellites();
|
25172
|
+
} catch (const native_exception &e) {
|
25173
|
+
e.regenerate();
|
25174
|
+
SWIG_fail;
|
25175
|
+
} catch (const std::exception& e) {
|
25176
|
+
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
25177
|
+
}
|
25178
|
+
}
|
25179
|
+
{
|
25180
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int ((&result)->gps));
|
25181
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int ((&result)->sbas));
|
25182
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int ((&result)->qzss));
|
25183
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int ((&result)->glonass));
|
25184
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int ((&result)->galileo));
|
25185
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int ((&result)->beidou));
|
25186
|
+
}
|
25187
|
+
return vresult;
|
25188
|
+
fail:
|
25189
|
+
return Qnil;
|
25190
|
+
}
|
24950
25191
|
|
24951
|
-
A class method.
|
24952
25192
|
|
24953
|
-
*/
|
24954
25193
|
/*
|
24955
25194
|
Document-method: GPS_PVT::GPS::SP3.push
|
24956
25195
|
|
@@ -24964,14 +25203,14 @@ SWIGINTERN VALUE
|
|
24964
25203
|
_wrap_SP3_push__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
24965
25204
|
SP3< double > *arg1 = (SP3< double > *) 0 ;
|
24966
25205
|
GPS_Solver< double > *arg2 = 0 ;
|
24967
|
-
|
25206
|
+
PushableData::system_t *arg3 = 0 ;
|
24968
25207
|
void *argp1 = 0 ;
|
24969
25208
|
int res1 = 0 ;
|
24970
25209
|
void *argp2 = 0 ;
|
24971
25210
|
int res2 = 0 ;
|
24972
25211
|
int val3 ;
|
24973
25212
|
int ecode3 ;
|
24974
|
-
|
25213
|
+
PushableData::system_t temp3 ;
|
24975
25214
|
bool result;
|
24976
25215
|
VALUE vresult = Qnil;
|
24977
25216
|
|
@@ -24993,14 +25232,14 @@ _wrap_SP3_push__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
24993
25232
|
arg2 = reinterpret_cast< GPS_Solver< double > * >(argp2);
|
24994
25233
|
ecode3 = SWIG_AsVal_int (argv[1], &val3);
|
24995
25234
|
if (!SWIG_IsOK(ecode3)) {
|
24996
|
-
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "
|
25235
|
+
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "PushableData::system_t const &","push", 3, argv[1] ));
|
24997
25236
|
} else {
|
24998
|
-
temp3 = static_cast<
|
25237
|
+
temp3 = static_cast< PushableData::system_t >(val3);
|
24999
25238
|
arg3 = &temp3;
|
25000
25239
|
}
|
25001
25240
|
{
|
25002
25241
|
try {
|
25003
|
-
result = (bool)((SP3< double > const *)arg1)->push(*arg2,(
|
25242
|
+
result = (bool)((SP3< double > const *)arg1)->push(*arg2,(PushableData::system_t const &)*arg3);
|
25004
25243
|
} catch (const native_exception &e) {
|
25005
25244
|
e.regenerate();
|
25006
25245
|
SWIG_fail;
|
@@ -25107,7 +25346,7 @@ SWIGINTERN VALUE _wrap_SP3_push(int nargs, VALUE *args, VALUE self) {
|
|
25107
25346
|
|
25108
25347
|
fail:
|
25109
25348
|
Ruby_Format_OverloadedError( argc, 4, "SP3.push",
|
25110
|
-
" bool SP3.push(GPS_Solver< double > &solver,
|
25349
|
+
" bool SP3.push(GPS_Solver< double > &solver, PushableData::system_t const &sys)\n"
|
25111
25350
|
" bool SP3.push(GPS_Solver< double > &solver)\n");
|
25112
25351
|
|
25113
25352
|
return Qnil;
|
@@ -25419,54 +25658,6 @@ fail:
|
|
25419
25658
|
}
|
25420
25659
|
|
25421
25660
|
|
25422
|
-
/*
|
25423
|
-
Document-method: GPS_PVT::GPS::SP3.satellites
|
25424
|
-
|
25425
|
-
call-seq:
|
25426
|
-
satellites
|
25427
|
-
|
25428
|
-
An instance method.
|
25429
|
-
|
25430
|
-
*/
|
25431
|
-
SWIGINTERN VALUE
|
25432
|
-
_wrap_SP3_satellites(int argc, VALUE *argv, VALUE self) {
|
25433
|
-
SP3< double > *arg1 = (SP3< double > *) 0 ;
|
25434
|
-
int *arg2 ;
|
25435
|
-
void *argp1 = 0 ;
|
25436
|
-
int res1 = 0 ;
|
25437
|
-
int temp2[SP3< double >::SYS_SYSTEMS] ;
|
25438
|
-
VALUE vresult = Qnil;
|
25439
|
-
|
25440
|
-
arg2 = temp2;
|
25441
|
-
if ((argc < 0) || (argc > 0)) {
|
25442
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
25443
|
-
}
|
25444
|
-
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_SP3T_double_t, 0 | 0 );
|
25445
|
-
if (!SWIG_IsOK(res1)) {
|
25446
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SP3< double > const *","satellites", 1, self ));
|
25447
|
-
}
|
25448
|
-
arg1 = reinterpret_cast< SP3< double > * >(argp1);
|
25449
|
-
{
|
25450
|
-
try {
|
25451
|
-
SP3_Sl_double_Sg__satellites((SP3< double > const *)arg1,arg2);
|
25452
|
-
} catch (const native_exception &e) {
|
25453
|
-
e.regenerate();
|
25454
|
-
SWIG_fail;
|
25455
|
-
} catch (const std::exception& e) {
|
25456
|
-
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
25457
|
-
}
|
25458
|
-
}
|
25459
|
-
{
|
25460
|
-
for(int i(0); i < SP3< double >::SYS_SYSTEMS; ++i){
|
25461
|
-
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int (arg2[i]));
|
25462
|
-
}
|
25463
|
-
}
|
25464
|
-
return vresult;
|
25465
|
-
fail:
|
25466
|
-
return Qnil;
|
25467
|
-
}
|
25468
|
-
|
25469
|
-
|
25470
25661
|
SWIGINTERN VALUE
|
25471
25662
|
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
25472
25663
|
_wrap_SP3_allocate(VALUE self)
|
@@ -25521,35 +25712,496 @@ free_SP3_Sl_double_Sg_(void *self) {
|
|
25521
25712
|
delete arg1;
|
25522
25713
|
}
|
25523
25714
|
|
25715
|
+
/*
|
25716
|
+
Document-class: GPS_PVT::GPS
|
25524
25717
|
|
25525
|
-
|
25718
|
+
Proxy of C++ GPS_PVT::GPS class
|
25526
25719
|
|
25527
|
-
|
25528
|
-
|
25529
|
-
|
25530
|
-
static
|
25531
|
-
|
25532
|
-
|
25533
|
-
|
25534
|
-
|
25535
|
-
|
25536
|
-
|
25537
|
-
|
25538
|
-
|
25539
|
-
|
25540
|
-
|
25541
|
-
|
25542
|
-
|
25543
|
-
|
25544
|
-
|
25545
|
-
|
25546
|
-
|
25547
|
-
|
25548
|
-
|
25549
|
-
|
25550
|
-
|
25551
|
-
|
25552
|
-
|
25720
|
+
|
25721
|
+
|
25722
|
+
*/
|
25723
|
+
static swig_class SwigClassRINEX_Clock;
|
25724
|
+
|
25725
|
+
/*
|
25726
|
+
Document-method: GPS_PVT::GPS::RINEX_Clock.read
|
25727
|
+
|
25728
|
+
call-seq:
|
25729
|
+
read(char const * fname) -> int
|
25730
|
+
|
25731
|
+
An instance method.
|
25732
|
+
|
25733
|
+
*/
|
25734
|
+
SWIGINTERN VALUE
|
25735
|
+
_wrap_RINEX_Clock_read(int argc, VALUE *argv, VALUE self) {
|
25736
|
+
RINEX_Clock< double > *arg1 = (RINEX_Clock< double > *) 0 ;
|
25737
|
+
char *arg2 = (char *) 0 ;
|
25738
|
+
void *argp1 = 0 ;
|
25739
|
+
int res1 = 0 ;
|
25740
|
+
int res2 ;
|
25741
|
+
char *buf2 = 0 ;
|
25742
|
+
int alloc2 = 0 ;
|
25743
|
+
int result;
|
25744
|
+
VALUE vresult = Qnil;
|
25745
|
+
|
25746
|
+
if ((argc < 1) || (argc > 1)) {
|
25747
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
25748
|
+
}
|
25749
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_RINEX_ClockT_double_t, 0 | 0 );
|
25750
|
+
if (!SWIG_IsOK(res1)) {
|
25751
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "RINEX_Clock< double > *","read", 1, self ));
|
25752
|
+
}
|
25753
|
+
arg1 = reinterpret_cast< RINEX_Clock< double > * >(argp1);
|
25754
|
+
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
|
25755
|
+
if (!SWIG_IsOK(res2)) {
|
25756
|
+
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","read", 2, argv[0] ));
|
25757
|
+
}
|
25758
|
+
arg2 = reinterpret_cast< char * >(buf2);
|
25759
|
+
{
|
25760
|
+
try {
|
25761
|
+
result = (int)(arg1)->read((char const *)arg2);
|
25762
|
+
} catch (const native_exception &e) {
|
25763
|
+
e.regenerate();
|
25764
|
+
SWIG_fail;
|
25765
|
+
} catch (const std::exception& e) {
|
25766
|
+
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
25767
|
+
}
|
25768
|
+
}
|
25769
|
+
vresult = SWIG_From_int(static_cast< int >(result));
|
25770
|
+
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
|
25771
|
+
return vresult;
|
25772
|
+
fail:
|
25773
|
+
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
|
25774
|
+
return Qnil;
|
25775
|
+
}
|
25776
|
+
|
25777
|
+
|
25778
|
+
/*
|
25779
|
+
Document-method: GPS_PVT::GPS::RINEX_Clock.satellites
|
25780
|
+
|
25781
|
+
call-seq:
|
25782
|
+
satellites -> RINEX_CLK< double >::satellites_t::count_t
|
25783
|
+
|
25784
|
+
An instance method.
|
25785
|
+
|
25786
|
+
*/
|
25787
|
+
SWIGINTERN VALUE
|
25788
|
+
_wrap_RINEX_Clock_satellites(int argc, VALUE *argv, VALUE self) {
|
25789
|
+
RINEX_Clock< double > *arg1 = (RINEX_Clock< double > *) 0 ;
|
25790
|
+
void *argp1 = 0 ;
|
25791
|
+
int res1 = 0 ;
|
25792
|
+
RINEX_CLK< double >::satellites_t::count_t result;
|
25793
|
+
VALUE vresult = Qnil;
|
25794
|
+
|
25795
|
+
if ((argc < 0) || (argc > 0)) {
|
25796
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
25797
|
+
}
|
25798
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_RINEX_ClockT_double_t, 0 | 0 );
|
25799
|
+
if (!SWIG_IsOK(res1)) {
|
25800
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "RINEX_Clock< double > const *","satellites", 1, self ));
|
25801
|
+
}
|
25802
|
+
arg1 = reinterpret_cast< RINEX_Clock< double > * >(argp1);
|
25803
|
+
{
|
25804
|
+
try {
|
25805
|
+
result = ((RINEX_Clock< double > const *)arg1)->satellites();
|
25806
|
+
} catch (const native_exception &e) {
|
25807
|
+
e.regenerate();
|
25808
|
+
SWIG_fail;
|
25809
|
+
} catch (const std::exception& e) {
|
25810
|
+
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
25811
|
+
}
|
25812
|
+
}
|
25813
|
+
{
|
25814
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int ((&result)->gps));
|
25815
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int ((&result)->sbas));
|
25816
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int ((&result)->qzss));
|
25817
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int ((&result)->glonass));
|
25818
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int ((&result)->galileo));
|
25819
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int ((&result)->beidou));
|
25820
|
+
}
|
25821
|
+
return vresult;
|
25822
|
+
fail:
|
25823
|
+
return Qnil;
|
25824
|
+
}
|
25825
|
+
|
25826
|
+
|
25827
|
+
/*
|
25828
|
+
Document-method: GPS_PVT::GPS::RINEX_Clock.push
|
25829
|
+
|
25830
|
+
call-seq:
|
25831
|
+
push(solver, sys) -> bool
|
25832
|
+
push(solver) -> bool
|
25833
|
+
|
25834
|
+
Add an element at the end of the RINEX_Clock.
|
25835
|
+
*/
|
25836
|
+
SWIGINTERN VALUE
|
25837
|
+
_wrap_RINEX_Clock_push__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
25838
|
+
RINEX_Clock< double > *arg1 = (RINEX_Clock< double > *) 0 ;
|
25839
|
+
GPS_Solver< double > *arg2 = 0 ;
|
25840
|
+
PushableData::system_t *arg3 = 0 ;
|
25841
|
+
void *argp1 = 0 ;
|
25842
|
+
int res1 = 0 ;
|
25843
|
+
void *argp2 = 0 ;
|
25844
|
+
int res2 = 0 ;
|
25845
|
+
int val3 ;
|
25846
|
+
int ecode3 ;
|
25847
|
+
PushableData::system_t temp3 ;
|
25848
|
+
bool result;
|
25849
|
+
VALUE vresult = Qnil;
|
25850
|
+
|
25851
|
+
if ((argc < 2) || (argc > 2)) {
|
25852
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
|
25853
|
+
}
|
25854
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_RINEX_ClockT_double_t, 0 | 0 );
|
25855
|
+
if (!SWIG_IsOK(res1)) {
|
25856
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "RINEX_Clock< double > const *","push", 1, self ));
|
25857
|
+
}
|
25858
|
+
arg1 = reinterpret_cast< RINEX_Clock< double > * >(argp1);
|
25859
|
+
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GPS_SolverT_double_t, 0 );
|
25860
|
+
if (!SWIG_IsOK(res2)) {
|
25861
|
+
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GPS_Solver< double > &","push", 2, argv[0] ));
|
25862
|
+
}
|
25863
|
+
if (!argp2) {
|
25864
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GPS_Solver< double > &","push", 2, argv[0]));
|
25865
|
+
}
|
25866
|
+
arg2 = reinterpret_cast< GPS_Solver< double > * >(argp2);
|
25867
|
+
ecode3 = SWIG_AsVal_int (argv[1], &val3);
|
25868
|
+
if (!SWIG_IsOK(ecode3)) {
|
25869
|
+
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "PushableData::system_t const &","push", 3, argv[1] ));
|
25870
|
+
} else {
|
25871
|
+
temp3 = static_cast< PushableData::system_t >(val3);
|
25872
|
+
arg3 = &temp3;
|
25873
|
+
}
|
25874
|
+
{
|
25875
|
+
try {
|
25876
|
+
result = (bool)((RINEX_Clock< double > const *)arg1)->push(*arg2,(PushableData::system_t const &)*arg3);
|
25877
|
+
} catch (const native_exception &e) {
|
25878
|
+
e.regenerate();
|
25879
|
+
SWIG_fail;
|
25880
|
+
} catch (const std::exception& e) {
|
25881
|
+
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
25882
|
+
}
|
25883
|
+
}
|
25884
|
+
vresult = SWIG_From_bool(static_cast< bool >(result));
|
25885
|
+
return vresult;
|
25886
|
+
fail:
|
25887
|
+
return Qnil;
|
25888
|
+
}
|
25889
|
+
|
25890
|
+
|
25891
|
+
SWIGINTERN VALUE
|
25892
|
+
_wrap_RINEX_Clock_push__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
25893
|
+
RINEX_Clock< double > *arg1 = (RINEX_Clock< double > *) 0 ;
|
25894
|
+
GPS_Solver< double > *arg2 = 0 ;
|
25895
|
+
void *argp1 = 0 ;
|
25896
|
+
int res1 = 0 ;
|
25897
|
+
void *argp2 = 0 ;
|
25898
|
+
int res2 = 0 ;
|
25899
|
+
bool result;
|
25900
|
+
VALUE vresult = Qnil;
|
25901
|
+
|
25902
|
+
if ((argc < 1) || (argc > 1)) {
|
25903
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
25904
|
+
}
|
25905
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_RINEX_ClockT_double_t, 0 | 0 );
|
25906
|
+
if (!SWIG_IsOK(res1)) {
|
25907
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "RINEX_Clock< double > const *","push", 1, self ));
|
25908
|
+
}
|
25909
|
+
arg1 = reinterpret_cast< RINEX_Clock< double > * >(argp1);
|
25910
|
+
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GPS_SolverT_double_t, 0 );
|
25911
|
+
if (!SWIG_IsOK(res2)) {
|
25912
|
+
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GPS_Solver< double > &","push", 2, argv[0] ));
|
25913
|
+
}
|
25914
|
+
if (!argp2) {
|
25915
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GPS_Solver< double > &","push", 2, argv[0]));
|
25916
|
+
}
|
25917
|
+
arg2 = reinterpret_cast< GPS_Solver< double > * >(argp2);
|
25918
|
+
{
|
25919
|
+
try {
|
25920
|
+
result = (bool)((RINEX_Clock< double > const *)arg1)->push(*arg2);
|
25921
|
+
} catch (const native_exception &e) {
|
25922
|
+
e.regenerate();
|
25923
|
+
SWIG_fail;
|
25924
|
+
} catch (const std::exception& e) {
|
25925
|
+
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
25926
|
+
}
|
25927
|
+
}
|
25928
|
+
vresult = SWIG_From_bool(static_cast< bool >(result));
|
25929
|
+
return vresult;
|
25930
|
+
fail:
|
25931
|
+
return Qnil;
|
25932
|
+
}
|
25933
|
+
|
25934
|
+
|
25935
|
+
SWIGINTERN VALUE _wrap_RINEX_Clock_push(int nargs, VALUE *args, VALUE self) {
|
25936
|
+
int argc;
|
25937
|
+
VALUE argv[4];
|
25938
|
+
int ii;
|
25939
|
+
|
25940
|
+
argc = nargs + 1;
|
25941
|
+
argv[0] = self;
|
25942
|
+
if (argc > 4) SWIG_fail;
|
25943
|
+
for (ii = 1; (ii < argc); ++ii) {
|
25944
|
+
argv[ii] = args[ii-1];
|
25945
|
+
}
|
25946
|
+
if (argc == 2) {
|
25947
|
+
int _v;
|
25948
|
+
void *vptr = 0;
|
25949
|
+
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_RINEX_ClockT_double_t, 0);
|
25950
|
+
_v = SWIG_CheckState(res);
|
25951
|
+
if (_v) {
|
25952
|
+
void *vptr = 0;
|
25953
|
+
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GPS_SolverT_double_t, SWIG_POINTER_NO_NULL);
|
25954
|
+
_v = SWIG_CheckState(res);
|
25955
|
+
if (_v) {
|
25956
|
+
return _wrap_RINEX_Clock_push__SWIG_1(nargs, args, self);
|
25957
|
+
}
|
25958
|
+
}
|
25959
|
+
}
|
25960
|
+
if (argc == 3) {
|
25961
|
+
int _v;
|
25962
|
+
void *vptr = 0;
|
25963
|
+
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_RINEX_ClockT_double_t, 0);
|
25964
|
+
_v = SWIG_CheckState(res);
|
25965
|
+
if (_v) {
|
25966
|
+
void *vptr = 0;
|
25967
|
+
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GPS_SolverT_double_t, SWIG_POINTER_NO_NULL);
|
25968
|
+
_v = SWIG_CheckState(res);
|
25969
|
+
if (_v) {
|
25970
|
+
{
|
25971
|
+
int res = SWIG_AsVal_int(argv[2], NULL);
|
25972
|
+
_v = SWIG_CheckState(res);
|
25973
|
+
}
|
25974
|
+
if (_v) {
|
25975
|
+
return _wrap_RINEX_Clock_push__SWIG_0(nargs, args, self);
|
25976
|
+
}
|
25977
|
+
}
|
25978
|
+
}
|
25979
|
+
}
|
25980
|
+
|
25981
|
+
fail:
|
25982
|
+
Ruby_Format_OverloadedError( argc, 4, "RINEX_Clock.push",
|
25983
|
+
" bool RINEX_Clock.push(GPS_Solver< double > &solver, PushableData::system_t const &sys)\n"
|
25984
|
+
" bool RINEX_Clock.push(GPS_Solver< double > &solver)\n");
|
25985
|
+
|
25986
|
+
return Qnil;
|
25987
|
+
}
|
25988
|
+
|
25989
|
+
|
25990
|
+
/*
|
25991
|
+
Document-method: GPS_PVT::GPS::RINEX_Clock.clock_error
|
25992
|
+
|
25993
|
+
call-seq:
|
25994
|
+
clock_error(int const & sat_id, Time t) -> double
|
25995
|
+
|
25996
|
+
An instance method.
|
25997
|
+
|
25998
|
+
*/
|
25999
|
+
SWIGINTERN VALUE
|
26000
|
+
_wrap_RINEX_Clock_clock_error(int argc, VALUE *argv, VALUE self) {
|
26001
|
+
RINEX_Clock< double > *arg1 = (RINEX_Clock< double > *) 0 ;
|
26002
|
+
int *arg2 = 0 ;
|
26003
|
+
GPS_Time< double > *arg3 = 0 ;
|
26004
|
+
void *argp1 = 0 ;
|
26005
|
+
int res1 = 0 ;
|
26006
|
+
int temp2 ;
|
26007
|
+
int val2 ;
|
26008
|
+
int ecode2 = 0 ;
|
26009
|
+
void *argp3 ;
|
26010
|
+
int res3 = 0 ;
|
26011
|
+
double result;
|
26012
|
+
VALUE vresult = Qnil;
|
26013
|
+
|
26014
|
+
if ((argc < 2) || (argc > 2)) {
|
26015
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
|
26016
|
+
}
|
26017
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_RINEX_ClockT_double_t, 0 | 0 );
|
26018
|
+
if (!SWIG_IsOK(res1)) {
|
26019
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "RINEX_Clock< double > const *","clock_error", 1, self ));
|
26020
|
+
}
|
26021
|
+
arg1 = reinterpret_cast< RINEX_Clock< double > * >(argp1);
|
26022
|
+
ecode2 = SWIG_AsVal_int(argv[0], &val2);
|
26023
|
+
if (!SWIG_IsOK(ecode2)) {
|
26024
|
+
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","clock_error", 2, argv[0] ));
|
26025
|
+
}
|
26026
|
+
temp2 = static_cast< int >(val2);
|
26027
|
+
arg2 = &temp2;
|
26028
|
+
res3 = SWIG_ConvertPtr(argv[1], &argp3, SWIGTYPE_p_GPS_TimeT_double_t, 0 );
|
26029
|
+
if (!SWIG_IsOK(res3)) {
|
26030
|
+
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "GPS_Time< double > const &","clock_error", 3, argv[1] ));
|
26031
|
+
}
|
26032
|
+
if (!argp3) {
|
26033
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GPS_Time< double > const &","clock_error", 3, argv[1]));
|
26034
|
+
}
|
26035
|
+
arg3 = reinterpret_cast< GPS_Time< double > * >(argp3);
|
26036
|
+
{
|
26037
|
+
try {
|
26038
|
+
result = (double)((RINEX_Clock< double > const *)arg1)->clock_error((int const &)*arg2,(GPS_Time< double > const &)*arg3);
|
26039
|
+
} catch (const native_exception &e) {
|
26040
|
+
e.regenerate();
|
26041
|
+
SWIG_fail;
|
26042
|
+
} catch (const std::exception& e) {
|
26043
|
+
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
26044
|
+
}
|
26045
|
+
}
|
26046
|
+
vresult = SWIG_From_double(static_cast< double >(result));
|
26047
|
+
return vresult;
|
26048
|
+
fail:
|
26049
|
+
return Qnil;
|
26050
|
+
}
|
26051
|
+
|
26052
|
+
|
26053
|
+
/*
|
26054
|
+
Document-method: GPS_PVT::GPS::RINEX_Clock.clock_error_dot
|
26055
|
+
|
26056
|
+
call-seq:
|
26057
|
+
clock_error_dot(int const & sat_id, Time t) -> double
|
26058
|
+
|
26059
|
+
An instance method.
|
26060
|
+
|
26061
|
+
*/
|
26062
|
+
SWIGINTERN VALUE
|
26063
|
+
_wrap_RINEX_Clock_clock_error_dot(int argc, VALUE *argv, VALUE self) {
|
26064
|
+
RINEX_Clock< double > *arg1 = (RINEX_Clock< double > *) 0 ;
|
26065
|
+
int *arg2 = 0 ;
|
26066
|
+
GPS_Time< double > *arg3 = 0 ;
|
26067
|
+
void *argp1 = 0 ;
|
26068
|
+
int res1 = 0 ;
|
26069
|
+
int temp2 ;
|
26070
|
+
int val2 ;
|
26071
|
+
int ecode2 = 0 ;
|
26072
|
+
void *argp3 ;
|
26073
|
+
int res3 = 0 ;
|
26074
|
+
double result;
|
26075
|
+
VALUE vresult = Qnil;
|
26076
|
+
|
26077
|
+
if ((argc < 2) || (argc > 2)) {
|
26078
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
|
26079
|
+
}
|
26080
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_RINEX_ClockT_double_t, 0 | 0 );
|
26081
|
+
if (!SWIG_IsOK(res1)) {
|
26082
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "RINEX_Clock< double > const *","clock_error_dot", 1, self ));
|
26083
|
+
}
|
26084
|
+
arg1 = reinterpret_cast< RINEX_Clock< double > * >(argp1);
|
26085
|
+
ecode2 = SWIG_AsVal_int(argv[0], &val2);
|
26086
|
+
if (!SWIG_IsOK(ecode2)) {
|
26087
|
+
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","clock_error_dot", 2, argv[0] ));
|
26088
|
+
}
|
26089
|
+
temp2 = static_cast< int >(val2);
|
26090
|
+
arg2 = &temp2;
|
26091
|
+
res3 = SWIG_ConvertPtr(argv[1], &argp3, SWIGTYPE_p_GPS_TimeT_double_t, 0 );
|
26092
|
+
if (!SWIG_IsOK(res3)) {
|
26093
|
+
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "GPS_Time< double > const &","clock_error_dot", 3, argv[1] ));
|
26094
|
+
}
|
26095
|
+
if (!argp3) {
|
26096
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GPS_Time< double > const &","clock_error_dot", 3, argv[1]));
|
26097
|
+
}
|
26098
|
+
arg3 = reinterpret_cast< GPS_Time< double > * >(argp3);
|
26099
|
+
{
|
26100
|
+
try {
|
26101
|
+
result = (double)((RINEX_Clock< double > const *)arg1)->clock_error_dot((int const &)*arg2,(GPS_Time< double > const &)*arg3);
|
26102
|
+
} catch (const native_exception &e) {
|
26103
|
+
e.regenerate();
|
26104
|
+
SWIG_fail;
|
26105
|
+
} catch (const std::exception& e) {
|
26106
|
+
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
26107
|
+
}
|
26108
|
+
}
|
26109
|
+
vresult = SWIG_From_double(static_cast< double >(result));
|
26110
|
+
return vresult;
|
26111
|
+
fail:
|
26112
|
+
return Qnil;
|
26113
|
+
}
|
26114
|
+
|
26115
|
+
|
26116
|
+
SWIGINTERN VALUE
|
26117
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
26118
|
+
_wrap_RINEX_Clock_allocate(VALUE self)
|
26119
|
+
#else
|
26120
|
+
_wrap_RINEX_Clock_allocate(int argc, VALUE *argv, VALUE self)
|
26121
|
+
#endif
|
26122
|
+
{
|
26123
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_RINEX_ClockT_double_t);
|
26124
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
26125
|
+
rb_obj_call_init(vresult, argc, argv);
|
26126
|
+
#endif
|
26127
|
+
return vresult;
|
26128
|
+
}
|
26129
|
+
|
26130
|
+
|
26131
|
+
/*
|
26132
|
+
Document-method: GPS_PVT::GPS::RINEX_Clock.new
|
26133
|
+
|
26134
|
+
call-seq:
|
26135
|
+
RINEX_Clock.new
|
26136
|
+
|
26137
|
+
Class constructor.
|
26138
|
+
|
26139
|
+
*/
|
26140
|
+
SWIGINTERN VALUE
|
26141
|
+
_wrap_new_RINEX_Clock(int argc, VALUE *argv, VALUE self) {
|
26142
|
+
RINEX_Clock< double > *result = 0 ;
|
26143
|
+
|
26144
|
+
if ((argc < 0) || (argc > 0)) {
|
26145
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
26146
|
+
}
|
26147
|
+
{
|
26148
|
+
try {
|
26149
|
+
result = (RINEX_Clock< double > *)new RINEX_Clock< double >();
|
26150
|
+
DATA_PTR(self) = result;
|
26151
|
+
} catch (const native_exception &e) {
|
26152
|
+
e.regenerate();
|
26153
|
+
SWIG_fail;
|
26154
|
+
} catch (const std::exception& e) {
|
26155
|
+
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
26156
|
+
}
|
26157
|
+
}
|
26158
|
+
return self;
|
26159
|
+
fail:
|
26160
|
+
return Qnil;
|
26161
|
+
}
|
26162
|
+
|
26163
|
+
|
26164
|
+
SWIGINTERN void
|
26165
|
+
free_RINEX_Clock_Sl_double_Sg_(void *self) {
|
26166
|
+
RINEX_Clock< double > *arg1 = (RINEX_Clock< double > *)self;
|
26167
|
+
delete arg1;
|
26168
|
+
}
|
26169
|
+
|
26170
|
+
|
26171
|
+
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
|
26172
|
+
|
26173
|
+
static void *_p_GPS_EphemerisT_double_tTo_p_GPS_SpaceNodeT_double_t__SatelliteProperties__Ephemeris(void *x, int *SWIGUNUSEDPARM(newmemory)) {
|
26174
|
+
return (void *)((GPS_SpaceNode< double >::SatelliteProperties::Ephemeris *) ((GPS_Ephemeris< double > *) x));
|
26175
|
+
}
|
26176
|
+
static void *_p_GPS_SolverOptionsT_double_tTo_p_GPS_SolverOptions_CommonT_double_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
|
26177
|
+
return (void *)((GPS_SolverOptions_Common< double > *) ((GPS_SolverOptions< double > *) x));
|
26178
|
+
}
|
26179
|
+
static void *_p_SBAS_SolverOptionsT_double_tTo_p_GPS_SolverOptions_CommonT_double_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
|
26180
|
+
return (void *)((GPS_SolverOptions_Common< double > *) ((SBAS_SolverOptions< double > *) x));
|
26181
|
+
}
|
26182
|
+
static void *_p_GLONASS_SolverOptionsT_double_tTo_p_GPS_SolverOptions_CommonT_double_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
|
26183
|
+
return (void *)((GPS_SolverOptions_Common< double > *) ((GLONASS_SolverOptions< double > *) x));
|
26184
|
+
}
|
26185
|
+
static void *_p_GLONASS_EphemerisT_double_tTo_p_GLONASS_SpaceNodeT_double_t__SatelliteProperties__Ephemeris_with_GPS_Time(void *x, int *SWIGUNUSEDPARM(newmemory)) {
|
26186
|
+
return (void *)((GLONASS_SpaceNode< double >::SatelliteProperties::Ephemeris_with_GPS_Time *) ((GLONASS_Ephemeris< double > *) x));
|
26187
|
+
}
|
26188
|
+
static void *_p_SBAS_EphemerisT_double_tTo_p_SBAS_SpaceNodeT_double_t__SatelliteProperties__Ephemeris(void *x, int *SWIGUNUSEDPARM(newmemory)) {
|
26189
|
+
return (void *)((SBAS_SpaceNode< double >::SatelliteProperties::Ephemeris *) ((SBAS_Ephemeris< double > *) x));
|
26190
|
+
}
|
26191
|
+
static void *_p_GPS_Ionospheric_UTC_ParametersT_double_tTo_p_GPS_SpaceNodeT_double_t__Ionospheric_UTC_Parameters(void *x, int *SWIGUNUSEDPARM(newmemory)) {
|
26192
|
+
return (void *)((GPS_SpaceNode< double >::Ionospheric_UTC_Parameters *) ((GPS_Ionospheric_UTC_Parameters< double > *) x));
|
26193
|
+
}
|
26194
|
+
static void *_p_SP3T_double_tTo_p_PushableData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
|
26195
|
+
return (void *)((PushableData *) ((SP3< double > *) x));
|
26196
|
+
}
|
26197
|
+
static void *_p_RINEX_ClockT_double_tTo_p_PushableData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
|
26198
|
+
return (void *)((PushableData *) ((RINEX_Clock< double > *) x));
|
26199
|
+
}
|
26200
|
+
static void *_p_MatrixT_double_Array2D_DenseT_double_t_MatrixViewBaseT_t_tTo_p_Matrix_FrozenT_double_Array2D_DenseT_double_t_MatrixViewBaseT_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
|
26201
|
+
return (void *)((Matrix_Frozen< double,Array2D_Dense< double >,MatrixViewBase< > > *) ((Matrix< double,Array2D_Dense< double > > *) x));
|
26202
|
+
}
|
26203
|
+
static swig_type_info _swigt__System_LLHT_double_WGS84_t = {"_System_LLHT_double_WGS84_t", "System_LLH< double,WGS84 >", 0, 0, (void*)0, 0};
|
26204
|
+
static swig_type_info _swigt__System_XYZT_double_WGS84_t = {"_System_XYZT_double_WGS84_t", "System_XYZ< double,WGS84 >", 0, 0, (void*)0, 0};
|
25553
26205
|
static swig_type_info _swigt__p_ComplexT_double_t = {"_p_ComplexT_double_t", "Complex< double > *", 0, 0, (void*)0, 0};
|
25554
26206
|
static swig_type_info _swigt__p_DataParser = {"_p_DataParser", "DataParser *", 0, 0, (void*)0, 0};
|
25555
26207
|
static swig_type_info _swigt__p_GLONASS_EphemerisT_double_t = {"_p_GLONASS_EphemerisT_double_t", "GLONASS_Ephemeris< double > *", 0, 0, (void*)0, 0};
|
@@ -25576,6 +26228,8 @@ static swig_type_info _swigt__p_MatrixT_double_Array2D_DenseT_double_t_MatrixVie
|
|
25576
26228
|
static swig_type_info _swigt__p_MatrixViewBaseT_t = {"_p_MatrixViewBaseT_t", "MatrixViewBase< > *|MatViewBase *", 0, 0, (void*)0, 0};
|
25577
26229
|
static swig_type_info _swigt__p_MatrixViewFilterT_MatrixViewBaseT_t_t = {"_p_MatrixViewFilterT_MatrixViewBaseT_t_t", "MatrixViewFilter< MatrixViewBase< > > *|MatView_f *", 0, 0, (void*)0, 0};
|
25578
26230
|
static swig_type_info _swigt__p_Matrix_FrozenT_double_Array2D_DenseT_double_t_MatrixViewBaseT_t_t = {"_p_Matrix_FrozenT_double_Array2D_DenseT_double_t_MatrixViewBaseT_t_t", "Matrix_Frozen< double,Array2D_Dense< double > > *|Matrix_Frozen< double,Array2D_Dense< double >,MatrixViewBase< > > *", 0, 0, (void*)0, 0};
|
26231
|
+
static swig_type_info _swigt__p_PushableData = {"_p_PushableData", "PushableData *", 0, 0, (void*)0, 0};
|
26232
|
+
static swig_type_info _swigt__p_RINEX_ClockT_double_t = {"_p_RINEX_ClockT_double_t", "RINEX_Clock< double > *", 0, 0, (void*)0, 0};
|
25579
26233
|
static swig_type_info _swigt__p_RINEX_ObservationT_double_t = {"_p_RINEX_ObservationT_double_t", "RINEX_Observation< double > *", 0, 0, (void*)0, 0};
|
25580
26234
|
static swig_type_info _swigt__p_SBAS_EphemerisT_double_t = {"_p_SBAS_EphemerisT_double_t", "SBAS_Ephemeris< double > *", 0, 0, (void*)0, 0};
|
25581
26235
|
static swig_type_info _swigt__p_SBAS_SolverOptionsT_double_t = {"_p_SBAS_SolverOptionsT_double_t", "SBAS_SolverOptions< double > *", 0, 0, (void*)0, 0};
|
@@ -25598,6 +26252,7 @@ static swig_type_info _swigt__p_int_t = {"_p_int_t", "int_t *", 0, 0, (void*)0,
|
|
25598
26252
|
static swig_type_info _swigt__p_llh_t = {"_p_llh_t", "llh_t *", 0, 0, (void*)0, 0};
|
25599
26253
|
static swig_type_info _swigt__p_p_GPS_Solver_RAIM_LSRT_double_GPS_Solver_Base_DebugT_double_GPS_Solver_BaseT_double_t_t_t__user_pvt_t__detection_t = {"_p_p_GPS_Solver_RAIM_LSRT_double_GPS_Solver_Base_DebugT_double_GPS_Solver_BaseT_double_t_t_t__user_pvt_t__detection_t", "GPS_User_PVT< double >::base_t::detection_t **|GPS_Solver_RAIM_LSR< double,GPS_Solver_Base_Debug< double,GPS_Solver_Base< double > > >::user_pvt_t::detection_t **", 0, 0, (void*)0, 0};
|
25600
26254
|
static swig_type_info _swigt__p_p_GPS_Solver_RAIM_LSRT_double_GPS_Solver_Base_DebugT_double_GPS_Solver_BaseT_double_t_t_t__user_pvt_t__exclusion_t = {"_p_p_GPS_Solver_RAIM_LSRT_double_GPS_Solver_Base_DebugT_double_GPS_Solver_BaseT_double_t_t_t__user_pvt_t__exclusion_t", "GPS_User_PVT< double >::base_t::exclusion_t **|GPS_Solver_RAIM_LSR< double,GPS_Solver_Base_Debug< double,GPS_Solver_Base< double > > >::user_pvt_t::exclusion_t **", 0, 0, (void*)0, 0};
|
26255
|
+
static swig_type_info _swigt__p_p_double = {"_p_p_double", "double **", 0, 0, (void*)0, 0};
|
25601
26256
|
static swig_type_info _swigt__p_range_correction_list_t = {"_p_range_correction_list_t", "range_correction_list_t *", 0, 0, (void*)0, 0};
|
25602
26257
|
static swig_type_info _swigt__p_s16_t = {"_p_s16_t", "s16_t *", 0, 0, (void*)0, 0};
|
25603
26258
|
static swig_type_info _swigt__p_s32_t = {"_p_s32_t", "s32_t *", 0, 0, (void*)0, 0};
|
@@ -25605,6 +26260,7 @@ static swig_type_info _swigt__p_s8_t = {"_p_s8_t", "s8_t *", 0, 0, (void*)0, 0};
|
|
25605
26260
|
static swig_type_info _swigt__p_satellites_t = {"_p_satellites_t", "satellites_t *", 0, 0, (void*)0, 0};
|
25606
26261
|
static swig_type_info _swigt__p_self_t = {"_p_self_t", "self_t *", 0, 0, (void*)0, 0};
|
25607
26262
|
static swig_type_info _swigt__p_std__vectorT_std__pairT_int_SBAS_SpaceNodeT_double_t__Satellite_const_p_t_t = {"_p_std__vectorT_std__pairT_int_SBAS_SpaceNodeT_double_t__Satellite_const_p_t_t", "SBAS_SpaceNode< double >::available_satellites_t *|std::vector< std::pair< int,SBAS_SpaceNode< double >::Satellite const * > > *", 0, 0, (void*)0, 0};
|
26263
|
+
static swig_type_info _swigt__p_super_t = {"_p_super_t", "super_t *", 0, 0, (void*)0, 0};
|
25608
26264
|
static swig_type_info _swigt__p_swig__GC_VALUE = {"_p_swig__GC_VALUE", "swig::GC_VALUE *", 0, 0, (void*)0, 0};
|
25609
26265
|
static swig_type_info _swigt__p_u16_t = {"_p_u16_t", "u16_t *", 0, 0, (void*)0, 0};
|
25610
26266
|
static swig_type_info _swigt__p_u32_t = {"_p_u32_t", "u32_t *", 0, 0, (void*)0, 0};
|
@@ -25641,6 +26297,8 @@ static swig_type_info *swig_type_initial[] = {
|
|
25641
26297
|
&_swigt__p_MatrixViewBaseT_t,
|
25642
26298
|
&_swigt__p_MatrixViewFilterT_MatrixViewBaseT_t_t,
|
25643
26299
|
&_swigt__p_Matrix_FrozenT_double_Array2D_DenseT_double_t_MatrixViewBaseT_t_t,
|
26300
|
+
&_swigt__p_PushableData,
|
26301
|
+
&_swigt__p_RINEX_ClockT_double_t,
|
25644
26302
|
&_swigt__p_RINEX_ObservationT_double_t,
|
25645
26303
|
&_swigt__p_SBAS_EphemerisT_double_t,
|
25646
26304
|
&_swigt__p_SBAS_SolverOptionsT_double_t,
|
@@ -25663,6 +26321,7 @@ static swig_type_info *swig_type_initial[] = {
|
|
25663
26321
|
&_swigt__p_llh_t,
|
25664
26322
|
&_swigt__p_p_GPS_Solver_RAIM_LSRT_double_GPS_Solver_Base_DebugT_double_GPS_Solver_BaseT_double_t_t_t__user_pvt_t__detection_t,
|
25665
26323
|
&_swigt__p_p_GPS_Solver_RAIM_LSRT_double_GPS_Solver_Base_DebugT_double_GPS_Solver_BaseT_double_t_t_t__user_pvt_t__exclusion_t,
|
26324
|
+
&_swigt__p_p_double,
|
25666
26325
|
&_swigt__p_range_correction_list_t,
|
25667
26326
|
&_swigt__p_s16_t,
|
25668
26327
|
&_swigt__p_s32_t,
|
@@ -25670,6 +26329,7 @@ static swig_type_info *swig_type_initial[] = {
|
|
25670
26329
|
&_swigt__p_satellites_t,
|
25671
26330
|
&_swigt__p_self_t,
|
25672
26331
|
&_swigt__p_std__vectorT_std__pairT_int_SBAS_SpaceNodeT_double_t__Satellite_const_p_t_t,
|
26332
|
+
&_swigt__p_super_t,
|
25673
26333
|
&_swigt__p_swig__GC_VALUE,
|
25674
26334
|
&_swigt__p_u16_t,
|
25675
26335
|
&_swigt__p_u32_t,
|
@@ -25706,6 +26366,8 @@ static swig_cast_info _swigc__p_MatrixT_double_Array2D_DenseT_double_t_MatrixVie
|
|
25706
26366
|
static swig_cast_info _swigc__p_MatrixViewBaseT_t[] = { {&_swigt__p_MatrixViewBaseT_t, 0, 0, 0},{0, 0, 0, 0}};
|
25707
26367
|
static swig_cast_info _swigc__p_MatrixViewFilterT_MatrixViewBaseT_t_t[] = { {&_swigt__p_MatrixViewFilterT_MatrixViewBaseT_t_t, 0, 0, 0},{0, 0, 0, 0}};
|
25708
26368
|
static swig_cast_info _swigc__p_Matrix_FrozenT_double_Array2D_DenseT_double_t_MatrixViewBaseT_t_t[] = { {&_swigt__p_Matrix_FrozenT_double_Array2D_DenseT_double_t_MatrixViewBaseT_t_t, 0, 0, 0}, {&_swigt__p_MatrixT_double_Array2D_DenseT_double_t_MatrixViewBaseT_t_t, _p_MatrixT_double_Array2D_DenseT_double_t_MatrixViewBaseT_t_tTo_p_Matrix_FrozenT_double_Array2D_DenseT_double_t_MatrixViewBaseT_t_t, 0, 0},{0, 0, 0, 0}};
|
26369
|
+
static swig_cast_info _swigc__p_PushableData[] = { {&_swigt__p_SP3T_double_t, _p_SP3T_double_tTo_p_PushableData, 0, 0}, {&_swigt__p_RINEX_ClockT_double_t, _p_RINEX_ClockT_double_tTo_p_PushableData, 0, 0}, {&_swigt__p_PushableData, 0, 0, 0},{0, 0, 0, 0}};
|
26370
|
+
static swig_cast_info _swigc__p_RINEX_ClockT_double_t[] = { {&_swigt__p_RINEX_ClockT_double_t, 0, 0, 0},{0, 0, 0, 0}};
|
25709
26371
|
static swig_cast_info _swigc__p_RINEX_ObservationT_double_t[] = { {&_swigt__p_RINEX_ObservationT_double_t, 0, 0, 0},{0, 0, 0, 0}};
|
25710
26372
|
static swig_cast_info _swigc__p_SBAS_EphemerisT_double_t[] = { {&_swigt__p_SBAS_EphemerisT_double_t, 0, 0, 0},{0, 0, 0, 0}};
|
25711
26373
|
static swig_cast_info _swigc__p_SBAS_SolverOptionsT_double_t[] = { {&_swigt__p_SBAS_SolverOptionsT_double_t, 0, 0, 0},{0, 0, 0, 0}};
|
@@ -25728,6 +26390,7 @@ static swig_cast_info _swigc__p_int_t[] = { {&_swigt__p_int_t, 0, 0, 0},{0, 0,
|
|
25728
26390
|
static swig_cast_info _swigc__p_llh_t[] = { {&_swigt__p_llh_t, 0, 0, 0},{0, 0, 0, 0}};
|
25729
26391
|
static swig_cast_info _swigc__p_p_GPS_Solver_RAIM_LSRT_double_GPS_Solver_Base_DebugT_double_GPS_Solver_BaseT_double_t_t_t__user_pvt_t__detection_t[] = { {&_swigt__p_p_GPS_Solver_RAIM_LSRT_double_GPS_Solver_Base_DebugT_double_GPS_Solver_BaseT_double_t_t_t__user_pvt_t__detection_t, 0, 0, 0},{0, 0, 0, 0}};
|
25730
26392
|
static swig_cast_info _swigc__p_p_GPS_Solver_RAIM_LSRT_double_GPS_Solver_Base_DebugT_double_GPS_Solver_BaseT_double_t_t_t__user_pvt_t__exclusion_t[] = { {&_swigt__p_p_GPS_Solver_RAIM_LSRT_double_GPS_Solver_Base_DebugT_double_GPS_Solver_BaseT_double_t_t_t__user_pvt_t__exclusion_t, 0, 0, 0},{0, 0, 0, 0}};
|
26393
|
+
static swig_cast_info _swigc__p_p_double[] = { {&_swigt__p_p_double, 0, 0, 0},{0, 0, 0, 0}};
|
25731
26394
|
static swig_cast_info _swigc__p_range_correction_list_t[] = { {&_swigt__p_range_correction_list_t, 0, 0, 0},{0, 0, 0, 0}};
|
25732
26395
|
static swig_cast_info _swigc__p_s16_t[] = { {&_swigt__p_s16_t, 0, 0, 0},{0, 0, 0, 0}};
|
25733
26396
|
static swig_cast_info _swigc__p_s32_t[] = { {&_swigt__p_s32_t, 0, 0, 0},{0, 0, 0, 0}};
|
@@ -25735,6 +26398,7 @@ static swig_cast_info _swigc__p_s8_t[] = { {&_swigt__p_s8_t, 0, 0, 0},{0, 0, 0,
|
|
25735
26398
|
static swig_cast_info _swigc__p_satellites_t[] = { {&_swigt__p_satellites_t, 0, 0, 0},{0, 0, 0, 0}};
|
25736
26399
|
static swig_cast_info _swigc__p_self_t[] = { {&_swigt__p_self_t, 0, 0, 0},{0, 0, 0, 0}};
|
25737
26400
|
static swig_cast_info _swigc__p_std__vectorT_std__pairT_int_SBAS_SpaceNodeT_double_t__Satellite_const_p_t_t[] = { {&_swigt__p_std__vectorT_std__pairT_int_SBAS_SpaceNodeT_double_t__Satellite_const_p_t_t, 0, 0, 0},{0, 0, 0, 0}};
|
26401
|
+
static swig_cast_info _swigc__p_super_t[] = { {&_swigt__p_super_t, 0, 0, 0},{0, 0, 0, 0}};
|
25738
26402
|
static swig_cast_info _swigc__p_swig__GC_VALUE[] = { {&_swigt__p_swig__GC_VALUE, 0, 0, 0},{0, 0, 0, 0}};
|
25739
26403
|
static swig_cast_info _swigc__p_u16_t[] = { {&_swigt__p_u16_t, 0, 0, 0},{0, 0, 0, 0}};
|
25740
26404
|
static swig_cast_info _swigc__p_u32_t[] = { {&_swigt__p_u32_t, 0, 0, 0},{0, 0, 0, 0}};
|
@@ -25771,6 +26435,8 @@ static swig_cast_info *swig_cast_initial[] = {
|
|
25771
26435
|
_swigc__p_MatrixViewBaseT_t,
|
25772
26436
|
_swigc__p_MatrixViewFilterT_MatrixViewBaseT_t_t,
|
25773
26437
|
_swigc__p_Matrix_FrozenT_double_Array2D_DenseT_double_t_MatrixViewBaseT_t_t,
|
26438
|
+
_swigc__p_PushableData,
|
26439
|
+
_swigc__p_RINEX_ClockT_double_t,
|
25774
26440
|
_swigc__p_RINEX_ObservationT_double_t,
|
25775
26441
|
_swigc__p_SBAS_EphemerisT_double_t,
|
25776
26442
|
_swigc__p_SBAS_SolverOptionsT_double_t,
|
@@ -25793,6 +26459,7 @@ static swig_cast_info *swig_cast_initial[] = {
|
|
25793
26459
|
_swigc__p_llh_t,
|
25794
26460
|
_swigc__p_p_GPS_Solver_RAIM_LSRT_double_GPS_Solver_Base_DebugT_double_GPS_Solver_BaseT_double_t_t_t__user_pvt_t__detection_t,
|
25795
26461
|
_swigc__p_p_GPS_Solver_RAIM_LSRT_double_GPS_Solver_Base_DebugT_double_GPS_Solver_BaseT_double_t_t_t__user_pvt_t__exclusion_t,
|
26462
|
+
_swigc__p_p_double,
|
25796
26463
|
_swigc__p_range_correction_list_t,
|
25797
26464
|
_swigc__p_s16_t,
|
25798
26465
|
_swigc__p_s32_t,
|
@@ -25800,6 +26467,7 @@ static swig_cast_info *swig_cast_initial[] = {
|
|
25800
26467
|
_swigc__p_satellites_t,
|
25801
26468
|
_swigc__p_self_t,
|
25802
26469
|
_swigc__p_std__vectorT_std__pairT_int_SBAS_SpaceNodeT_double_t__Satellite_const_p_t_t,
|
26470
|
+
_swigc__p_super_t,
|
25803
26471
|
_swigc__p_swig__GC_VALUE,
|
25804
26472
|
_swigc__p_u16_t,
|
25805
26473
|
_swigc__p_u32_t,
|
@@ -26076,6 +26744,21 @@ SWIGEXPORT void Init_GPS(void) {
|
|
26076
26744
|
rb_require("gps_pvt/Coordinate");
|
26077
26745
|
rb_define_const(mGPS, "GPS_SC2RAD", SWIG_From_double(static_cast< double >(3.1415926535898)));
|
26078
26746
|
|
26747
|
+
SwigClassPushableData.klass = rb_define_class_under(mGPS, "PushableData", rb_cObject);
|
26748
|
+
SWIG_TypeClientData(SWIGTYPE_p_PushableData, (void *) &SwigClassPushableData);
|
26749
|
+
rb_define_alloc_func(SwigClassPushableData.klass, _wrap_PushableData_allocate);
|
26750
|
+
rb_define_method(SwigClassPushableData.klass, "initialize", VALUEFUNC(_wrap_new_PushableData), -1);
|
26751
|
+
rb_define_const(SwigClassPushableData.klass, "SYS_GPS", SWIG_From_int(static_cast< int >(PushableData::SYS_GPS)));
|
26752
|
+
rb_define_const(SwigClassPushableData.klass, "SYS_SBAS", SWIG_From_int(static_cast< int >(PushableData::SYS_SBAS)));
|
26753
|
+
rb_define_const(SwigClassPushableData.klass, "SYS_QZSS", SWIG_From_int(static_cast< int >(PushableData::SYS_QZSS)));
|
26754
|
+
rb_define_const(SwigClassPushableData.klass, "SYS_GLONASS", SWIG_From_int(static_cast< int >(PushableData::SYS_GLONASS)));
|
26755
|
+
rb_define_const(SwigClassPushableData.klass, "SYS_GALILEO", SWIG_From_int(static_cast< int >(PushableData::SYS_GALILEO)));
|
26756
|
+
rb_define_const(SwigClassPushableData.klass, "SYS_BEIDOU", SWIG_From_int(static_cast< int >(PushableData::SYS_BEIDOU)));
|
26757
|
+
rb_define_const(SwigClassPushableData.klass, "SYS_SYSTEMS", SWIG_From_int(static_cast< int >(PushableData::SYS_SYSTEMS)));
|
26758
|
+
SwigClassPushableData.mark = 0;
|
26759
|
+
SwigClassPushableData.destroy = (void (*)(void *)) free_PushableData;
|
26760
|
+
SwigClassPushableData.trackObjects = 0;
|
26761
|
+
|
26079
26762
|
SwigClassTime.klass = rb_define_class_under(mGPS, "Time", rb_cObject);
|
26080
26763
|
SWIG_TypeClientData(SWIGTYPE_p_GPS_TimeT_double_t, (void *) &SwigClassTime);
|
26081
26764
|
rb_define_alloc_func(SwigClassTime.klass, _wrap_Time_allocate);
|
@@ -26357,6 +27040,8 @@ SWIGEXPORT void Init_GPS(void) {
|
|
26357
27040
|
rb_define_method(SwigClassSolver.klass, "solve", VALUEFUNC(_wrap_Solver_solve), -1);
|
26358
27041
|
rb_define_method(SwigClassSolver.klass, "correction", VALUEFUNC(_wrap_Solver_correction), -1);
|
26359
27042
|
rb_define_method(SwigClassSolver.klass, "correction=", VALUEFUNC(_wrap_Solver_correctione___), -1);
|
27043
|
+
rb_define_method(SwigClassSolver.klass, "options", VALUEFUNC(_wrap_Solver_options), -1);
|
27044
|
+
rb_define_method(SwigClassSolver.klass, "options=", VALUEFUNC(_wrap_Solver_optionse___), -1);
|
26360
27045
|
SwigClassSolver.mark = (void (*)(void *)) GPS_Solver<double>::mark;
|
26361
27046
|
SwigClassSolver.destroy = (void (*)(void *)) free_GPS_Solver_Sl_double_Sg_;
|
26362
27047
|
SwigClassSolver.trackObjects = 0;
|
@@ -26568,27 +27253,33 @@ SWIGEXPORT void Init_GPS(void) {
|
|
26568
27253
|
SwigClassRINEX_Observation.destroy = (void (*)(void *)) free_RINEX_Observation_Sl_double_Sg_;
|
26569
27254
|
SwigClassRINEX_Observation.trackObjects = 0;
|
26570
27255
|
|
26571
|
-
SwigClassSP3.klass = rb_define_class_under(mGPS, "SP3",
|
27256
|
+
SwigClassSP3.klass = rb_define_class_under(mGPS, "SP3", ((swig_class *) SWIGTYPE_p_PushableData->clientdata)->klass);
|
26572
27257
|
SWIG_TypeClientData(SWIGTYPE_p_SP3T_double_t, (void *) &SwigClassSP3);
|
26573
27258
|
rb_define_alloc_func(SwigClassSP3.klass, _wrap_SP3_allocate);
|
26574
27259
|
rb_define_method(SwigClassSP3.klass, "initialize", VALUEFUNC(_wrap_new_SP3), -1);
|
26575
27260
|
rb_define_method(SwigClassSP3.klass, "read", VALUEFUNC(_wrap_SP3_read), -1);
|
26576
|
-
|
26577
|
-
rb_define_const(SwigClassSP3.klass, "SYS_SBAS", SWIG_From_int(static_cast< int >(SP3< double >::SYS_SBAS)));
|
26578
|
-
rb_define_const(SwigClassSP3.klass, "SYS_QZSS", SWIG_From_int(static_cast< int >(SP3< double >::SYS_QZSS)));
|
26579
|
-
rb_define_const(SwigClassSP3.klass, "SYS_GLONASS", SWIG_From_int(static_cast< int >(SP3< double >::SYS_GLONASS)));
|
26580
|
-
rb_define_const(SwigClassSP3.klass, "SYS_GALILEO", SWIG_From_int(static_cast< int >(SP3< double >::SYS_GALILEO)));
|
26581
|
-
rb_define_const(SwigClassSP3.klass, "SYS_BEIDOU", SWIG_From_int(static_cast< int >(SP3< double >::SYS_BEIDOU)));
|
26582
|
-
rb_define_const(SwigClassSP3.klass, "SYS_SYSTEMS", SWIG_From_int(static_cast< int >(SP3< double >::SYS_SYSTEMS)));
|
27261
|
+
rb_define_method(SwigClassSP3.klass, "satellites", VALUEFUNC(_wrap_SP3_satellites), -1);
|
26583
27262
|
rb_define_method(SwigClassSP3.klass, "push", VALUEFUNC(_wrap_SP3_push), -1);
|
26584
27263
|
rb_define_method(SwigClassSP3.klass, "position", VALUEFUNC(_wrap_SP3_position), -1);
|
26585
27264
|
rb_define_method(SwigClassSP3.klass, "velocity", VALUEFUNC(_wrap_SP3_velocity), -1);
|
26586
27265
|
rb_define_method(SwigClassSP3.klass, "clock_error", VALUEFUNC(_wrap_SP3_clock_error), -1);
|
26587
27266
|
rb_define_method(SwigClassSP3.klass, "clock_error_dot", VALUEFUNC(_wrap_SP3_clock_error_dot), -1);
|
26588
27267
|
rb_define_method(SwigClassSP3.klass, "apply_antex", VALUEFUNC(_wrap_SP3_apply_antex), -1);
|
26589
|
-
rb_define_method(SwigClassSP3.klass, "satellites", VALUEFUNC(_wrap_SP3_satellites), -1);
|
26590
27268
|
SwigClassSP3.mark = 0;
|
26591
27269
|
SwigClassSP3.destroy = (void (*)(void *)) free_SP3_Sl_double_Sg_;
|
26592
27270
|
SwigClassSP3.trackObjects = 0;
|
27271
|
+
|
27272
|
+
SwigClassRINEX_Clock.klass = rb_define_class_under(mGPS, "RINEX_Clock", ((swig_class *) SWIGTYPE_p_PushableData->clientdata)->klass);
|
27273
|
+
SWIG_TypeClientData(SWIGTYPE_p_RINEX_ClockT_double_t, (void *) &SwigClassRINEX_Clock);
|
27274
|
+
rb_define_alloc_func(SwigClassRINEX_Clock.klass, _wrap_RINEX_Clock_allocate);
|
27275
|
+
rb_define_method(SwigClassRINEX_Clock.klass, "initialize", VALUEFUNC(_wrap_new_RINEX_Clock), -1);
|
27276
|
+
rb_define_method(SwigClassRINEX_Clock.klass, "read", VALUEFUNC(_wrap_RINEX_Clock_read), -1);
|
27277
|
+
rb_define_method(SwigClassRINEX_Clock.klass, "satellites", VALUEFUNC(_wrap_RINEX_Clock_satellites), -1);
|
27278
|
+
rb_define_method(SwigClassRINEX_Clock.klass, "push", VALUEFUNC(_wrap_RINEX_Clock_push), -1);
|
27279
|
+
rb_define_method(SwigClassRINEX_Clock.klass, "clock_error", VALUEFUNC(_wrap_RINEX_Clock_clock_error), -1);
|
27280
|
+
rb_define_method(SwigClassRINEX_Clock.klass, "clock_error_dot", VALUEFUNC(_wrap_RINEX_Clock_clock_error_dot), -1);
|
27281
|
+
SwigClassRINEX_Clock.mark = 0;
|
27282
|
+
SwigClassRINEX_Clock.destroy = (void (*)(void *)) free_RINEX_Clock_Sl_double_Sg_;
|
27283
|
+
SwigClassRINEX_Clock.trackObjects = 0;
|
26593
27284
|
}
|
26594
27285
|
|