gps_pvt 0.6.4 → 0.7.2
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 +2 -1
- data/Rakefile +1 -0
- data/exe/gps_pvt +4 -2
- data/ext/gps_pvt/GPS/GPS_wrap.cxx +993 -296
- 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.h +4 -11
- data/ext/ninja-scan-light/tool/navigation/GLONASS_Solver.h +25 -13
- data/ext/ninja-scan-light/tool/navigation/GPS.h +21 -18
- data/ext/ninja-scan-light/tool/navigation/GPS_Solver.h +42 -25
- data/ext/ninja-scan-light/tool/navigation/GPS_Solver_Base.h +44 -23
- 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 +31 -20
- data/ext/ninja-scan-light/tool/navigation/RINEX_Clock.h +458 -0
- data/ext/ninja-scan-light/tool/navigation/SBAS.h +34 -6
- data/ext/ninja-scan-light/tool/navigation/SBAS_Solver.h +26 -14
- data/ext/ninja-scan-light/tool/navigation/SP3.h +51 -43
- 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 +124 -52
- data/ext/ninja-scan-light/tool/swig/SylphideMath.i +1 -2
- data/ext/ninja-scan-light/tool/swig/spec/GPS_spec.rb +134 -13
- data/lib/gps_pvt/receiver.rb +32 -7
- 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
|
}
|
@@ -3906,10 +3948,13 @@ SWIGINTERN double const &GPS_SolverOptions_Common_Sl_double_Sg__get_residual_mas
|
|
3906
3948
|
static const int prop_items(sizeof(res.values) / sizeof(res.values[0]));
|
3907
3949
|
VALUE hook(rb_hash_lookup(hooks, key));
|
3908
3950
|
if(NIL_P(hook)){break;}
|
3951
|
+
double weight((res.prop.range_sigma > 0)
|
3952
|
+
? (1. / std::pow(res.prop.range_sigma, 2)) // weight=1/(sigma^2)
|
3953
|
+
: res.prop.range_sigma);
|
3909
3954
|
VALUE values[] = {
|
3910
3955
|
SWIG_From_int (prn), // prn
|
3911
3956
|
rb_ary_new_from_args(prop_items, // relative_property
|
3912
|
-
swig::from(
|
3957
|
+
swig::from(weight),
|
3913
3958
|
swig::from(res.prop.range_corrected),
|
3914
3959
|
swig::from(res.prop.range_residual),
|
3915
3960
|
swig::from(res.prop.rate_relative_neg),
|
@@ -3941,6 +3986,9 @@ SWIGINTERN double const &GPS_SolverOptions_Common_Sl_double_Sg__get_residual_mas
|
|
3941
3986
|
.append(" @ [").append(std::to_string(i)).append("]"));
|
3942
3987
|
}
|
3943
3988
|
}
|
3989
|
+
if(res.values[0] > 0){
|
3990
|
+
res.values[0] = std::pow(1. / res.values[0], 0.5); // sigma=(1/weight)^0.5
|
3991
|
+
}
|
3944
3992
|
}while(false);
|
3945
3993
|
|
3946
3994
|
return res.prop;
|
@@ -3980,7 +4028,10 @@ SWIGINTERN double const &GPS_SolverOptions_Common_Sl_double_Sg__get_residual_mas
|
|
3980
4028
|
if(!res.is_available()){
|
3981
4029
|
static const VALUE key(ID2SYM(rb_intern("relative_property")));
|
3982
4030
|
VALUE hook(rb_hash_lookup(hooks, key));
|
3983
|
-
if(!NIL_P(hook)){
|
4031
|
+
if(!NIL_P(hook)){
|
4032
|
+
if(!res.impl_xyz){res.impl_xyz = this;}
|
4033
|
+
if(!res.impl_t){res.impl_t = this;}
|
4034
|
+
}
|
3984
4035
|
}
|
3985
4036
|
|
3986
4037
|
return res;
|
@@ -4126,6 +4177,19 @@ SWIGINTERN VALUE GPS_Solver_Sl_double_Sg__get_correction(GPS_Solver< double > co
|
|
4126
4177
|
SWIGINTERN VALUE GPS_Solver_Sl_double_Sg__set_correction(GPS_Solver< double > *self,VALUE hash){
|
4127
4178
|
return self->update_correction(true, hash);
|
4128
4179
|
}
|
4180
|
+
SWIGINTERN GPS_Solver< double >::super_t::options_t GPS_Solver_Sl_double_Sg__get_options(GPS_Solver< double > const *self){
|
4181
|
+
return self->available_options();
|
4182
|
+
}
|
4183
|
+
SWIGINTERN GPS_Solver< double >::super_t::options_t GPS_Solver_Sl_double_Sg__set_options(GPS_Solver< double > *self,VALUE obj){
|
4184
|
+
GPS_Solver<double>::super_t::options_t opt(self->available_options());
|
4185
|
+
|
4186
|
+
if(!RB_TYPE_P(obj, T_HASH)){SWIG_exception(SWIG_TypeError, "Hash is expected");}
|
4187
|
+
SWIG_AsVal_bool (
|
4188
|
+
rb_hash_lookup(obj, ID2SYM(rb_intern("skip_exclusion"))),
|
4189
|
+
&opt.skip_exclusion);
|
4190
|
+
|
4191
|
+
return self->update_options(opt);
|
4192
|
+
}
|
4129
4193
|
SWIGINTERN unsigned int SBAS_Ephemeris_Sl_double_Sg__set_svid(SBAS_Ephemeris< double > *self,unsigned int const &v){
|
4130
4194
|
return self->svid = v;
|
4131
4195
|
}
|
@@ -4578,15 +4642,6 @@ SWIGINTERN void RINEX_Observation_Sl_double_Sg__read(char const *fname){
|
|
4578
4642
|
|
4579
4643
|
}
|
4580
4644
|
}
|
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
4645
|
static swig_class SwigClassGC_VALUE;
|
4591
4646
|
|
4592
4647
|
/*
|
@@ -4643,6 +4698,132 @@ fail:
|
|
4643
4698
|
}
|
4644
4699
|
|
4645
4700
|
|
4701
|
+
/*
|
4702
|
+
Document-class: GPS_PVT::GPS::PushableData
|
4703
|
+
|
4704
|
+
Proxy of C++ GPS_PVT::GPS::PushableData class
|
4705
|
+
|
4706
|
+
|
4707
|
+
*/
|
4708
|
+
static swig_class SwigClassPushableData;
|
4709
|
+
|
4710
|
+
/*
|
4711
|
+
Document-method: GPS_PVT::GPS::system_t.SYS_GPS
|
4712
|
+
|
4713
|
+
call-seq:
|
4714
|
+
SYS_GPS -> int
|
4715
|
+
|
4716
|
+
A class method.
|
4717
|
+
|
4718
|
+
*/
|
4719
|
+
/*
|
4720
|
+
Document-method: GPS_PVT::GPS::system_t.SYS_SBAS
|
4721
|
+
|
4722
|
+
call-seq:
|
4723
|
+
SYS_SBAS -> int
|
4724
|
+
|
4725
|
+
A class method.
|
4726
|
+
|
4727
|
+
*/
|
4728
|
+
/*
|
4729
|
+
Document-method: GPS_PVT::GPS::system_t.SYS_QZSS
|
4730
|
+
|
4731
|
+
call-seq:
|
4732
|
+
SYS_QZSS -> int
|
4733
|
+
|
4734
|
+
A class method.
|
4735
|
+
|
4736
|
+
*/
|
4737
|
+
/*
|
4738
|
+
Document-method: GPS_PVT::GPS::system_t.SYS_GLONASS
|
4739
|
+
|
4740
|
+
call-seq:
|
4741
|
+
SYS_GLONASS -> int
|
4742
|
+
|
4743
|
+
A class method.
|
4744
|
+
|
4745
|
+
*/
|
4746
|
+
/*
|
4747
|
+
Document-method: GPS_PVT::GPS::system_t.SYS_GALILEO
|
4748
|
+
|
4749
|
+
call-seq:
|
4750
|
+
SYS_GALILEO -> int
|
4751
|
+
|
4752
|
+
A class method.
|
4753
|
+
|
4754
|
+
*/
|
4755
|
+
/*
|
4756
|
+
Document-method: GPS_PVT::GPS::system_t.SYS_BEIDOU
|
4757
|
+
|
4758
|
+
call-seq:
|
4759
|
+
SYS_BEIDOU -> int
|
4760
|
+
|
4761
|
+
A class method.
|
4762
|
+
|
4763
|
+
*/
|
4764
|
+
/*
|
4765
|
+
Document-method: GPS_PVT::GPS::system_t.SYS_SYSTEMS
|
4766
|
+
|
4767
|
+
call-seq:
|
4768
|
+
SYS_SYSTEMS -> int
|
4769
|
+
|
4770
|
+
A class method.
|
4771
|
+
|
4772
|
+
*/
|
4773
|
+
SWIGINTERN VALUE
|
4774
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
4775
|
+
_wrap_PushableData_allocate(VALUE self)
|
4776
|
+
#else
|
4777
|
+
_wrap_PushableData_allocate(int argc, VALUE *argv, VALUE self)
|
4778
|
+
#endif
|
4779
|
+
{
|
4780
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_PushableData);
|
4781
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
4782
|
+
rb_obj_call_init(vresult, argc, argv);
|
4783
|
+
#endif
|
4784
|
+
return vresult;
|
4785
|
+
}
|
4786
|
+
|
4787
|
+
|
4788
|
+
/*
|
4789
|
+
Document-method: GPS_PVT::GPS::PushableData.new
|
4790
|
+
|
4791
|
+
call-seq:
|
4792
|
+
PushableData.new
|
4793
|
+
|
4794
|
+
Class constructor.
|
4795
|
+
|
4796
|
+
*/
|
4797
|
+
SWIGINTERN VALUE
|
4798
|
+
_wrap_new_PushableData(int argc, VALUE *argv, VALUE self) {
|
4799
|
+
PushableData *result = 0 ;
|
4800
|
+
|
4801
|
+
if ((argc < 0) || (argc > 0)) {
|
4802
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
4803
|
+
}
|
4804
|
+
{
|
4805
|
+
try {
|
4806
|
+
result = (PushableData *)new PushableData();
|
4807
|
+
DATA_PTR(self) = result;
|
4808
|
+
} catch (const native_exception &e) {
|
4809
|
+
e.regenerate();
|
4810
|
+
SWIG_fail;
|
4811
|
+
} catch (const std::exception& e) {
|
4812
|
+
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
4813
|
+
}
|
4814
|
+
}
|
4815
|
+
return self;
|
4816
|
+
fail:
|
4817
|
+
return Qnil;
|
4818
|
+
}
|
4819
|
+
|
4820
|
+
|
4821
|
+
SWIGINTERN void
|
4822
|
+
free_PushableData(void *self) {
|
4823
|
+
PushableData *arg1 = (PushableData *)self;
|
4824
|
+
delete arg1;
|
4825
|
+
}
|
4826
|
+
|
4646
4827
|
/*
|
4647
4828
|
Document-class: GPS_PVT::GPS::Time
|
4648
4829
|
|
@@ -9708,7 +9889,6 @@ _wrap_Ionospheric_UTC_Parameters_alphae___(int argc, VALUE *argv, VALUE self) {
|
|
9708
9889
|
void *argp1 = 0 ;
|
9709
9890
|
int res1 = 0 ;
|
9710
9891
|
double temp2[4] ;
|
9711
|
-
VALUE vresult = Qnil;
|
9712
9892
|
|
9713
9893
|
if ((argc < 1) || (argc > 1)) {
|
9714
9894
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
@@ -9739,12 +9919,7 @@ _wrap_Ionospheric_UTC_Parameters_alphae___(int argc, VALUE *argv, VALUE self) {
|
|
9739
9919
|
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
9740
9920
|
}
|
9741
9921
|
}
|
9742
|
-
|
9743
|
-
for(int i(0); i < 4; ++i){
|
9744
|
-
vresult = SWIG_Ruby_AppendOutput(vresult, swig::from(arg2[i]));
|
9745
|
-
}
|
9746
|
-
}
|
9747
|
-
return vresult;
|
9922
|
+
return Qnil;
|
9748
9923
|
fail:
|
9749
9924
|
return Qnil;
|
9750
9925
|
}
|
@@ -9762,15 +9937,13 @@ An instance method.
|
|
9762
9937
|
SWIGINTERN VALUE
|
9763
9938
|
_wrap_Ionospheric_UTC_Parameters_alpha(int argc, VALUE *argv, VALUE self) {
|
9764
9939
|
GPS_Ionospheric_UTC_Parameters< double > *arg1 = (GPS_Ionospheric_UTC_Parameters< double > *) 0 ;
|
9765
|
-
double
|
9940
|
+
double **arg2 ;
|
9766
9941
|
void *argp1 = 0 ;
|
9767
9942
|
int res1 = 0 ;
|
9768
|
-
double temp2
|
9943
|
+
double *temp2 ;
|
9769
9944
|
VALUE vresult = Qnil;
|
9770
9945
|
|
9771
|
-
|
9772
|
-
arg2 = temp2;
|
9773
|
-
|
9946
|
+
arg2 = &temp2;
|
9774
9947
|
if ((argc < 0) || (argc > 0)) {
|
9775
9948
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
9776
9949
|
}
|
@@ -9781,7 +9954,7 @@ _wrap_Ionospheric_UTC_Parameters_alpha(int argc, VALUE *argv, VALUE self) {
|
|
9781
9954
|
arg1 = reinterpret_cast< GPS_Ionospheric_UTC_Parameters< double > * >(argp1);
|
9782
9955
|
{
|
9783
9956
|
try {
|
9784
|
-
GPS_Ionospheric_UTC_Parameters_Sl_double_Sg__get_alpha((GPS_Ionospheric_UTC_Parameters< double > const *)arg1,arg2);
|
9957
|
+
GPS_Ionospheric_UTC_Parameters_Sl_double_Sg__get_alpha((GPS_Ionospheric_UTC_Parameters< double > const *)arg1,(double const *(*))arg2);
|
9785
9958
|
} catch (const native_exception &e) {
|
9786
9959
|
e.regenerate();
|
9787
9960
|
SWIG_fail;
|
@@ -9791,7 +9964,7 @@ _wrap_Ionospheric_UTC_Parameters_alpha(int argc, VALUE *argv, VALUE self) {
|
|
9791
9964
|
}
|
9792
9965
|
{
|
9793
9966
|
for(int i(0); i < 4; ++i){
|
9794
|
-
vresult = SWIG_Ruby_AppendOutput(vresult, swig::from(arg2[i]));
|
9967
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, swig::from((*arg2)[i]));
|
9795
9968
|
}
|
9796
9969
|
}
|
9797
9970
|
return vresult;
|
@@ -9816,7 +9989,6 @@ _wrap_Ionospheric_UTC_Parameters_betae___(int argc, VALUE *argv, VALUE self) {
|
|
9816
9989
|
void *argp1 = 0 ;
|
9817
9990
|
int res1 = 0 ;
|
9818
9991
|
double temp2[4] ;
|
9819
|
-
VALUE vresult = Qnil;
|
9820
9992
|
|
9821
9993
|
if ((argc < 1) || (argc > 1)) {
|
9822
9994
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
@@ -9847,12 +10019,7 @@ _wrap_Ionospheric_UTC_Parameters_betae___(int argc, VALUE *argv, VALUE self) {
|
|
9847
10019
|
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
9848
10020
|
}
|
9849
10021
|
}
|
9850
|
-
|
9851
|
-
for(int i(0); i < 4; ++i){
|
9852
|
-
vresult = SWIG_Ruby_AppendOutput(vresult, swig::from(arg2[i]));
|
9853
|
-
}
|
9854
|
-
}
|
9855
|
-
return vresult;
|
10022
|
+
return Qnil;
|
9856
10023
|
fail:
|
9857
10024
|
return Qnil;
|
9858
10025
|
}
|
@@ -9870,15 +10037,13 @@ An instance method.
|
|
9870
10037
|
SWIGINTERN VALUE
|
9871
10038
|
_wrap_Ionospheric_UTC_Parameters_beta(int argc, VALUE *argv, VALUE self) {
|
9872
10039
|
GPS_Ionospheric_UTC_Parameters< double > *arg1 = (GPS_Ionospheric_UTC_Parameters< double > *) 0 ;
|
9873
|
-
double
|
10040
|
+
double **arg2 ;
|
9874
10041
|
void *argp1 = 0 ;
|
9875
10042
|
int res1 = 0 ;
|
9876
|
-
double temp2
|
10043
|
+
double *temp2 ;
|
9877
10044
|
VALUE vresult = Qnil;
|
9878
10045
|
|
9879
|
-
|
9880
|
-
arg2 = temp2;
|
9881
|
-
|
10046
|
+
arg2 = &temp2;
|
9882
10047
|
if ((argc < 0) || (argc > 0)) {
|
9883
10048
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
9884
10049
|
}
|
@@ -9889,7 +10054,7 @@ _wrap_Ionospheric_UTC_Parameters_beta(int argc, VALUE *argv, VALUE self) {
|
|
9889
10054
|
arg1 = reinterpret_cast< GPS_Ionospheric_UTC_Parameters< double > * >(argp1);
|
9890
10055
|
{
|
9891
10056
|
try {
|
9892
|
-
GPS_Ionospheric_UTC_Parameters_Sl_double_Sg__get_beta((GPS_Ionospheric_UTC_Parameters< double > const *)arg1,arg2);
|
10057
|
+
GPS_Ionospheric_UTC_Parameters_Sl_double_Sg__get_beta((GPS_Ionospheric_UTC_Parameters< double > const *)arg1,(double const *(*))arg2);
|
9893
10058
|
} catch (const native_exception &e) {
|
9894
10059
|
e.regenerate();
|
9895
10060
|
SWIG_fail;
|
@@ -9899,7 +10064,7 @@ _wrap_Ionospheric_UTC_Parameters_beta(int argc, VALUE *argv, VALUE self) {
|
|
9899
10064
|
}
|
9900
10065
|
{
|
9901
10066
|
for(int i(0); i < 4; ++i){
|
9902
|
-
vresult = SWIG_Ruby_AppendOutput(vresult, swig::from(arg2[i]));
|
10067
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, swig::from((*arg2)[i]));
|
9903
10068
|
}
|
9904
10069
|
}
|
9905
10070
|
return vresult;
|
@@ -16071,6 +16236,12 @@ free_GPS_Measurement_Sl_double_Sg_(void *self) {
|
|
16071
16236
|
*/
|
16072
16237
|
static swig_class SwigClassSolverOptionsCommon;
|
16073
16238
|
|
16239
|
+
SWIGINTERN void
|
16240
|
+
free_GPS_SolverOptions_Common_Sl_double_Sg_(void *self) {
|
16241
|
+
GPS_SolverOptions_Common< double > *arg1 = (GPS_SolverOptions_Common< double > *)self;
|
16242
|
+
delete arg1;
|
16243
|
+
}
|
16244
|
+
|
16074
16245
|
/*
|
16075
16246
|
Document-method: GPS_PVT::GPS::SolverOptionsCommon.cast_general
|
16076
16247
|
|
@@ -16374,12 +16545,6 @@ fail:
|
|
16374
16545
|
}
|
16375
16546
|
|
16376
16547
|
|
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
16548
|
/*
|
16384
16549
|
Document-class: GPS_PVT::GPS::SolverOptions < GPS::SolverOptionsCommon
|
16385
16550
|
|
@@ -17079,42 +17244,34 @@ fail:
|
|
17079
17244
|
}
|
17080
17245
|
|
17081
17246
|
|
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
17247
|
/*
|
17098
|
-
Document-method: GPS_PVT::GPS::
|
17248
|
+
Document-method: GPS_PVT::GPS::Solver.options
|
17099
17249
|
|
17100
17250
|
call-seq:
|
17101
|
-
|
17102
|
-
Ephemeris_SBAS.new(SBAS_SpaceNode< double >::SatelliteProperties::Ephemeris const & eph)
|
17251
|
+
options -> GPS_Solver< double >::super_t::options_t
|
17103
17252
|
|
17104
|
-
|
17253
|
+
An instance method.
|
17105
17254
|
|
17106
17255
|
*/
|
17107
17256
|
SWIGINTERN VALUE
|
17108
|
-
|
17109
|
-
|
17257
|
+
_wrap_Solver_options(int argc, VALUE *argv, VALUE self) {
|
17258
|
+
GPS_Solver< double > *arg1 = (GPS_Solver< double > *) 0 ;
|
17259
|
+
void *argp1 = 0 ;
|
17260
|
+
int res1 = 0 ;
|
17261
|
+
GPS_Solver< double >::super_t::options_t result;
|
17262
|
+
VALUE vresult = Qnil;
|
17110
17263
|
|
17111
17264
|
if ((argc < 0) || (argc > 0)) {
|
17112
17265
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
17113
17266
|
}
|
17267
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_GPS_SolverT_double_t, 0 | 0 );
|
17268
|
+
if (!SWIG_IsOK(res1)) {
|
17269
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "GPS_Solver< double > const *","get_options", 1, self ));
|
17270
|
+
}
|
17271
|
+
arg1 = reinterpret_cast< GPS_Solver< double > * >(argp1);
|
17114
17272
|
{
|
17115
17273
|
try {
|
17116
|
-
result = (
|
17117
|
-
DATA_PTR(self) = result;
|
17274
|
+
result = GPS_Solver_Sl_double_Sg__get_options((GPS_Solver< double > const *)arg1);
|
17118
17275
|
} catch (const native_exception &e) {
|
17119
17276
|
e.regenerate();
|
17120
17277
|
SWIG_fail;
|
@@ -17122,33 +17279,135 @@ _wrap_new_Ephemeris_SBAS__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
17122
17279
|
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
17123
17280
|
}
|
17124
17281
|
}
|
17125
|
-
|
17282
|
+
{
|
17283
|
+
VALUE res(rb_hash_new());
|
17284
|
+
rb_hash_aset(res, ID2SYM(rb_intern("skip_exclusion")), SWIG_From_bool ((&result)->skip_exclusion));
|
17285
|
+
vresult = res;
|
17286
|
+
}
|
17287
|
+
return vresult;
|
17126
17288
|
fail:
|
17127
17289
|
return Qnil;
|
17128
17290
|
}
|
17129
17291
|
|
17130
17292
|
|
17131
|
-
|
17132
|
-
|
17133
|
-
_wrap_Ephemeris_SBAS_allocate(VALUE self)
|
17134
|
-
#else
|
17135
|
-
_wrap_Ephemeris_SBAS_allocate(int argc, VALUE *argv, VALUE self)
|
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
|
-
}
|
17293
|
+
/*
|
17294
|
+
Document-method: GPS_PVT::GPS::Solver.options=
|
17144
17295
|
|
17296
|
+
call-seq:
|
17297
|
+
options=(VALUE obj) -> GPS_Solver< double >::super_t::options_t
|
17298
|
+
|
17299
|
+
An instance method.
|
17145
17300
|
|
17301
|
+
*/
|
17146
17302
|
SWIGINTERN VALUE
|
17147
|
-
|
17148
|
-
|
17149
|
-
|
17303
|
+
_wrap_Solver_optionse___(int argc, VALUE *argv, VALUE self) {
|
17304
|
+
GPS_Solver< double > *arg1 = (GPS_Solver< double > *) 0 ;
|
17305
|
+
VALUE arg2 = (VALUE) 0 ;
|
17306
|
+
void *argp1 = 0 ;
|
17150
17307
|
int res1 = 0 ;
|
17151
|
-
|
17308
|
+
GPS_Solver< double >::super_t::options_t result;
|
17309
|
+
VALUE vresult = Qnil;
|
17310
|
+
|
17311
|
+
if ((argc < 1) || (argc > 1)) {
|
17312
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
17313
|
+
}
|
17314
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_GPS_SolverT_double_t, 0 | 0 );
|
17315
|
+
if (!SWIG_IsOK(res1)) {
|
17316
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "GPS_Solver< double > *","set_options", 1, self ));
|
17317
|
+
}
|
17318
|
+
arg1 = reinterpret_cast< GPS_Solver< double > * >(argp1);
|
17319
|
+
arg2 = argv[0];
|
17320
|
+
{
|
17321
|
+
try {
|
17322
|
+
result = GPS_Solver_Sl_double_Sg__set_options(arg1,arg2);
|
17323
|
+
} catch (const native_exception &e) {
|
17324
|
+
e.regenerate();
|
17325
|
+
SWIG_fail;
|
17326
|
+
} catch (const std::exception& e) {
|
17327
|
+
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
17328
|
+
}
|
17329
|
+
}
|
17330
|
+
{
|
17331
|
+
VALUE res(rb_hash_new());
|
17332
|
+
rb_hash_aset(res, ID2SYM(rb_intern("skip_exclusion")), SWIG_From_bool ((&result)->skip_exclusion));
|
17333
|
+
vresult = res;
|
17334
|
+
}
|
17335
|
+
return vresult;
|
17336
|
+
fail:
|
17337
|
+
return Qnil;
|
17338
|
+
}
|
17339
|
+
|
17340
|
+
|
17341
|
+
SWIGINTERN void
|
17342
|
+
free_GPS_Solver_Sl_double_Sg_(void *self) {
|
17343
|
+
GPS_Solver< double > *arg1 = (GPS_Solver< double > *)self;
|
17344
|
+
delete arg1;
|
17345
|
+
}
|
17346
|
+
|
17347
|
+
/*
|
17348
|
+
Document-class: GPS_PVT::GPS::Ephemeris_SBAS
|
17349
|
+
|
17350
|
+
Proxy of C++ GPS_PVT::GPS::Ephemeris_SBAS class
|
17351
|
+
|
17352
|
+
|
17353
|
+
*/
|
17354
|
+
static swig_class SwigClassEphemeris_SBAS;
|
17355
|
+
|
17356
|
+
/*
|
17357
|
+
Document-method: GPS_PVT::GPS::Ephemeris_SBAS.new
|
17358
|
+
|
17359
|
+
call-seq:
|
17360
|
+
Ephemeris_SBAS.new
|
17361
|
+
Ephemeris_SBAS.new(SBAS_SpaceNode< double >::SatelliteProperties::Ephemeris const & eph)
|
17362
|
+
|
17363
|
+
Class constructor.
|
17364
|
+
|
17365
|
+
*/
|
17366
|
+
SWIGINTERN VALUE
|
17367
|
+
_wrap_new_Ephemeris_SBAS__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
17368
|
+
SBAS_Ephemeris< double > *result = 0 ;
|
17369
|
+
|
17370
|
+
if ((argc < 0) || (argc > 0)) {
|
17371
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
17372
|
+
}
|
17373
|
+
{
|
17374
|
+
try {
|
17375
|
+
result = (SBAS_Ephemeris< double > *)new SBAS_Ephemeris< double >();
|
17376
|
+
DATA_PTR(self) = result;
|
17377
|
+
} catch (const native_exception &e) {
|
17378
|
+
e.regenerate();
|
17379
|
+
SWIG_fail;
|
17380
|
+
} catch (const std::exception& e) {
|
17381
|
+
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
17382
|
+
}
|
17383
|
+
}
|
17384
|
+
return self;
|
17385
|
+
fail:
|
17386
|
+
return Qnil;
|
17387
|
+
}
|
17388
|
+
|
17389
|
+
|
17390
|
+
SWIGINTERN VALUE
|
17391
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
17392
|
+
_wrap_Ephemeris_SBAS_allocate(VALUE self)
|
17393
|
+
#else
|
17394
|
+
_wrap_Ephemeris_SBAS_allocate(int argc, VALUE *argv, VALUE self)
|
17395
|
+
#endif
|
17396
|
+
{
|
17397
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_SBAS_EphemerisT_double_t);
|
17398
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
17399
|
+
rb_obj_call_init(vresult, argc, argv);
|
17400
|
+
#endif
|
17401
|
+
return vresult;
|
17402
|
+
}
|
17403
|
+
|
17404
|
+
|
17405
|
+
SWIGINTERN VALUE
|
17406
|
+
_wrap_new_Ephemeris_SBAS__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
17407
|
+
SBAS_SpaceNode< double >::SatelliteProperties::Ephemeris *arg1 = 0 ;
|
17408
|
+
void *argp1 ;
|
17409
|
+
int res1 = 0 ;
|
17410
|
+
SBAS_Ephemeris< double > *result = 0 ;
|
17152
17411
|
|
17153
17412
|
if ((argc < 1) || (argc > 1)) {
|
17154
17413
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
@@ -24889,68 +25148,54 @@ fail:
|
|
24889
25148
|
|
24890
25149
|
|
24891
25150
|
/*
|
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
|
25151
|
+
Document-method: GPS_PVT::GPS::SP3.satellites
|
24938
25152
|
|
24939
25153
|
call-seq:
|
24940
|
-
|
25154
|
+
satellites -> SP3_Product< double >::satellite_count_t
|
24941
25155
|
|
24942
|
-
|
25156
|
+
An instance method.
|
24943
25157
|
|
24944
25158
|
*/
|
24945
|
-
|
24946
|
-
|
24947
|
-
|
24948
|
-
|
24949
|
-
|
25159
|
+
SWIGINTERN VALUE
|
25160
|
+
_wrap_SP3_satellites(int argc, VALUE *argv, VALUE self) {
|
25161
|
+
SP3< double > *arg1 = (SP3< double > *) 0 ;
|
25162
|
+
void *argp1 = 0 ;
|
25163
|
+
int res1 = 0 ;
|
25164
|
+
SP3_Product< double >::satellite_count_t result;
|
25165
|
+
VALUE vresult = Qnil;
|
25166
|
+
|
25167
|
+
if ((argc < 0) || (argc > 0)) {
|
25168
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
25169
|
+
}
|
25170
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_SP3T_double_t, 0 | 0 );
|
25171
|
+
if (!SWIG_IsOK(res1)) {
|
25172
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SP3< double > const *","satellites", 1, self ));
|
25173
|
+
}
|
25174
|
+
arg1 = reinterpret_cast< SP3< double > * >(argp1);
|
25175
|
+
{
|
25176
|
+
try {
|
25177
|
+
result = ((SP3< double > const *)arg1)->satellites();
|
25178
|
+
} catch (const native_exception &e) {
|
25179
|
+
e.regenerate();
|
25180
|
+
SWIG_fail;
|
25181
|
+
} catch (const std::exception& e) {
|
25182
|
+
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
25183
|
+
}
|
25184
|
+
}
|
25185
|
+
{
|
25186
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int ((&result)->gps));
|
25187
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int ((&result)->sbas));
|
25188
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int ((&result)->qzss));
|
25189
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int ((&result)->glonass));
|
25190
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int ((&result)->galileo));
|
25191
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int ((&result)->beidou));
|
25192
|
+
}
|
25193
|
+
return vresult;
|
25194
|
+
fail:
|
25195
|
+
return Qnil;
|
25196
|
+
}
|
24950
25197
|
|
24951
|
-
A class method.
|
24952
25198
|
|
24953
|
-
*/
|
24954
25199
|
/*
|
24955
25200
|
Document-method: GPS_PVT::GPS::SP3.push
|
24956
25201
|
|
@@ -24964,14 +25209,14 @@ SWIGINTERN VALUE
|
|
24964
25209
|
_wrap_SP3_push__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
24965
25210
|
SP3< double > *arg1 = (SP3< double > *) 0 ;
|
24966
25211
|
GPS_Solver< double > *arg2 = 0 ;
|
24967
|
-
|
25212
|
+
PushableData::system_t *arg3 = 0 ;
|
24968
25213
|
void *argp1 = 0 ;
|
24969
25214
|
int res1 = 0 ;
|
24970
25215
|
void *argp2 = 0 ;
|
24971
25216
|
int res2 = 0 ;
|
24972
25217
|
int val3 ;
|
24973
25218
|
int ecode3 ;
|
24974
|
-
|
25219
|
+
PushableData::system_t temp3 ;
|
24975
25220
|
bool result;
|
24976
25221
|
VALUE vresult = Qnil;
|
24977
25222
|
|
@@ -24993,14 +25238,14 @@ _wrap_SP3_push__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
24993
25238
|
arg2 = reinterpret_cast< GPS_Solver< double > * >(argp2);
|
24994
25239
|
ecode3 = SWIG_AsVal_int (argv[1], &val3);
|
24995
25240
|
if (!SWIG_IsOK(ecode3)) {
|
24996
|
-
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "
|
25241
|
+
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "PushableData::system_t const &","push", 3, argv[1] ));
|
24997
25242
|
} else {
|
24998
|
-
temp3 = static_cast<
|
25243
|
+
temp3 = static_cast< PushableData::system_t >(val3);
|
24999
25244
|
arg3 = &temp3;
|
25000
25245
|
}
|
25001
25246
|
{
|
25002
25247
|
try {
|
25003
|
-
result = (bool)((SP3< double > const *)arg1)->push(*arg2,(
|
25248
|
+
result = (bool)((SP3< double > const *)arg1)->push(*arg2,(PushableData::system_t const &)*arg3);
|
25004
25249
|
} catch (const native_exception &e) {
|
25005
25250
|
e.regenerate();
|
25006
25251
|
SWIG_fail;
|
@@ -25107,7 +25352,7 @@ SWIGINTERN VALUE _wrap_SP3_push(int nargs, VALUE *args, VALUE self) {
|
|
25107
25352
|
|
25108
25353
|
fail:
|
25109
25354
|
Ruby_Format_OverloadedError( argc, 4, "SP3.push",
|
25110
|
-
" bool SP3.push(GPS_Solver< double > &solver,
|
25355
|
+
" bool SP3.push(GPS_Solver< double > &solver, PushableData::system_t const &sys)\n"
|
25111
25356
|
" bool SP3.push(GPS_Solver< double > &solver)\n");
|
25112
25357
|
|
25113
25358
|
return Qnil;
|
@@ -25419,54 +25664,6 @@ fail:
|
|
25419
25664
|
}
|
25420
25665
|
|
25421
25666
|
|
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
25667
|
SWIGINTERN VALUE
|
25471
25668
|
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
25472
25669
|
_wrap_SP3_allocate(VALUE self)
|
@@ -25521,36 +25718,497 @@ free_SP3_Sl_double_Sg_(void *self) {
|
|
25521
25718
|
delete arg1;
|
25522
25719
|
}
|
25523
25720
|
|
25721
|
+
/*
|
25722
|
+
Document-class: GPS_PVT::GPS
|
25524
25723
|
|
25525
|
-
|
25724
|
+
Proxy of C++ GPS_PVT::GPS class
|
25526
25725
|
|
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
|
-
|
25553
|
-
|
25726
|
+
|
25727
|
+
|
25728
|
+
*/
|
25729
|
+
static swig_class SwigClassRINEX_Clock;
|
25730
|
+
|
25731
|
+
/*
|
25732
|
+
Document-method: GPS_PVT::GPS::RINEX_Clock.read
|
25733
|
+
|
25734
|
+
call-seq:
|
25735
|
+
read(char const * fname) -> int
|
25736
|
+
|
25737
|
+
An instance method.
|
25738
|
+
|
25739
|
+
*/
|
25740
|
+
SWIGINTERN VALUE
|
25741
|
+
_wrap_RINEX_Clock_read(int argc, VALUE *argv, VALUE self) {
|
25742
|
+
RINEX_Clock< double > *arg1 = (RINEX_Clock< double > *) 0 ;
|
25743
|
+
char *arg2 = (char *) 0 ;
|
25744
|
+
void *argp1 = 0 ;
|
25745
|
+
int res1 = 0 ;
|
25746
|
+
int res2 ;
|
25747
|
+
char *buf2 = 0 ;
|
25748
|
+
int alloc2 = 0 ;
|
25749
|
+
int result;
|
25750
|
+
VALUE vresult = Qnil;
|
25751
|
+
|
25752
|
+
if ((argc < 1) || (argc > 1)) {
|
25753
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
25754
|
+
}
|
25755
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_RINEX_ClockT_double_t, 0 | 0 );
|
25756
|
+
if (!SWIG_IsOK(res1)) {
|
25757
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "RINEX_Clock< double > *","read", 1, self ));
|
25758
|
+
}
|
25759
|
+
arg1 = reinterpret_cast< RINEX_Clock< double > * >(argp1);
|
25760
|
+
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
|
25761
|
+
if (!SWIG_IsOK(res2)) {
|
25762
|
+
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","read", 2, argv[0] ));
|
25763
|
+
}
|
25764
|
+
arg2 = reinterpret_cast< char * >(buf2);
|
25765
|
+
{
|
25766
|
+
try {
|
25767
|
+
result = (int)(arg1)->read((char const *)arg2);
|
25768
|
+
} catch (const native_exception &e) {
|
25769
|
+
e.regenerate();
|
25770
|
+
SWIG_fail;
|
25771
|
+
} catch (const std::exception& e) {
|
25772
|
+
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
25773
|
+
}
|
25774
|
+
}
|
25775
|
+
vresult = SWIG_From_int(static_cast< int >(result));
|
25776
|
+
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
|
25777
|
+
return vresult;
|
25778
|
+
fail:
|
25779
|
+
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
|
25780
|
+
return Qnil;
|
25781
|
+
}
|
25782
|
+
|
25783
|
+
|
25784
|
+
/*
|
25785
|
+
Document-method: GPS_PVT::GPS::RINEX_Clock.satellites
|
25786
|
+
|
25787
|
+
call-seq:
|
25788
|
+
satellites -> RINEX_CLK< double >::satellites_t::count_t
|
25789
|
+
|
25790
|
+
An instance method.
|
25791
|
+
|
25792
|
+
*/
|
25793
|
+
SWIGINTERN VALUE
|
25794
|
+
_wrap_RINEX_Clock_satellites(int argc, VALUE *argv, VALUE self) {
|
25795
|
+
RINEX_Clock< double > *arg1 = (RINEX_Clock< double > *) 0 ;
|
25796
|
+
void *argp1 = 0 ;
|
25797
|
+
int res1 = 0 ;
|
25798
|
+
RINEX_CLK< double >::satellites_t::count_t result;
|
25799
|
+
VALUE vresult = Qnil;
|
25800
|
+
|
25801
|
+
if ((argc < 0) || (argc > 0)) {
|
25802
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
25803
|
+
}
|
25804
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_RINEX_ClockT_double_t, 0 | 0 );
|
25805
|
+
if (!SWIG_IsOK(res1)) {
|
25806
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "RINEX_Clock< double > const *","satellites", 1, self ));
|
25807
|
+
}
|
25808
|
+
arg1 = reinterpret_cast< RINEX_Clock< double > * >(argp1);
|
25809
|
+
{
|
25810
|
+
try {
|
25811
|
+
result = ((RINEX_Clock< double > const *)arg1)->satellites();
|
25812
|
+
} catch (const native_exception &e) {
|
25813
|
+
e.regenerate();
|
25814
|
+
SWIG_fail;
|
25815
|
+
} catch (const std::exception& e) {
|
25816
|
+
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
25817
|
+
}
|
25818
|
+
}
|
25819
|
+
{
|
25820
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int ((&result)->gps));
|
25821
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int ((&result)->sbas));
|
25822
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int ((&result)->qzss));
|
25823
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int ((&result)->glonass));
|
25824
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int ((&result)->galileo));
|
25825
|
+
vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int ((&result)->beidou));
|
25826
|
+
}
|
25827
|
+
return vresult;
|
25828
|
+
fail:
|
25829
|
+
return Qnil;
|
25830
|
+
}
|
25831
|
+
|
25832
|
+
|
25833
|
+
/*
|
25834
|
+
Document-method: GPS_PVT::GPS::RINEX_Clock.push
|
25835
|
+
|
25836
|
+
call-seq:
|
25837
|
+
push(solver, sys) -> bool
|
25838
|
+
push(solver) -> bool
|
25839
|
+
|
25840
|
+
Add an element at the end of the RINEX_Clock.
|
25841
|
+
*/
|
25842
|
+
SWIGINTERN VALUE
|
25843
|
+
_wrap_RINEX_Clock_push__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
25844
|
+
RINEX_Clock< double > *arg1 = (RINEX_Clock< double > *) 0 ;
|
25845
|
+
GPS_Solver< double > *arg2 = 0 ;
|
25846
|
+
PushableData::system_t *arg3 = 0 ;
|
25847
|
+
void *argp1 = 0 ;
|
25848
|
+
int res1 = 0 ;
|
25849
|
+
void *argp2 = 0 ;
|
25850
|
+
int res2 = 0 ;
|
25851
|
+
int val3 ;
|
25852
|
+
int ecode3 ;
|
25853
|
+
PushableData::system_t temp3 ;
|
25854
|
+
bool result;
|
25855
|
+
VALUE vresult = Qnil;
|
25856
|
+
|
25857
|
+
if ((argc < 2) || (argc > 2)) {
|
25858
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
|
25859
|
+
}
|
25860
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_RINEX_ClockT_double_t, 0 | 0 );
|
25861
|
+
if (!SWIG_IsOK(res1)) {
|
25862
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "RINEX_Clock< double > const *","push", 1, self ));
|
25863
|
+
}
|
25864
|
+
arg1 = reinterpret_cast< RINEX_Clock< double > * >(argp1);
|
25865
|
+
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GPS_SolverT_double_t, 0 );
|
25866
|
+
if (!SWIG_IsOK(res2)) {
|
25867
|
+
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GPS_Solver< double > &","push", 2, argv[0] ));
|
25868
|
+
}
|
25869
|
+
if (!argp2) {
|
25870
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GPS_Solver< double > &","push", 2, argv[0]));
|
25871
|
+
}
|
25872
|
+
arg2 = reinterpret_cast< GPS_Solver< double > * >(argp2);
|
25873
|
+
ecode3 = SWIG_AsVal_int (argv[1], &val3);
|
25874
|
+
if (!SWIG_IsOK(ecode3)) {
|
25875
|
+
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "PushableData::system_t const &","push", 3, argv[1] ));
|
25876
|
+
} else {
|
25877
|
+
temp3 = static_cast< PushableData::system_t >(val3);
|
25878
|
+
arg3 = &temp3;
|
25879
|
+
}
|
25880
|
+
{
|
25881
|
+
try {
|
25882
|
+
result = (bool)((RINEX_Clock< double > const *)arg1)->push(*arg2,(PushableData::system_t const &)*arg3);
|
25883
|
+
} catch (const native_exception &e) {
|
25884
|
+
e.regenerate();
|
25885
|
+
SWIG_fail;
|
25886
|
+
} catch (const std::exception& e) {
|
25887
|
+
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
25888
|
+
}
|
25889
|
+
}
|
25890
|
+
vresult = SWIG_From_bool(static_cast< bool >(result));
|
25891
|
+
return vresult;
|
25892
|
+
fail:
|
25893
|
+
return Qnil;
|
25894
|
+
}
|
25895
|
+
|
25896
|
+
|
25897
|
+
SWIGINTERN VALUE
|
25898
|
+
_wrap_RINEX_Clock_push__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
25899
|
+
RINEX_Clock< double > *arg1 = (RINEX_Clock< double > *) 0 ;
|
25900
|
+
GPS_Solver< double > *arg2 = 0 ;
|
25901
|
+
void *argp1 = 0 ;
|
25902
|
+
int res1 = 0 ;
|
25903
|
+
void *argp2 = 0 ;
|
25904
|
+
int res2 = 0 ;
|
25905
|
+
bool result;
|
25906
|
+
VALUE vresult = Qnil;
|
25907
|
+
|
25908
|
+
if ((argc < 1) || (argc > 1)) {
|
25909
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
25910
|
+
}
|
25911
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_RINEX_ClockT_double_t, 0 | 0 );
|
25912
|
+
if (!SWIG_IsOK(res1)) {
|
25913
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "RINEX_Clock< double > const *","push", 1, self ));
|
25914
|
+
}
|
25915
|
+
arg1 = reinterpret_cast< RINEX_Clock< double > * >(argp1);
|
25916
|
+
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GPS_SolverT_double_t, 0 );
|
25917
|
+
if (!SWIG_IsOK(res2)) {
|
25918
|
+
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GPS_Solver< double > &","push", 2, argv[0] ));
|
25919
|
+
}
|
25920
|
+
if (!argp2) {
|
25921
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GPS_Solver< double > &","push", 2, argv[0]));
|
25922
|
+
}
|
25923
|
+
arg2 = reinterpret_cast< GPS_Solver< double > * >(argp2);
|
25924
|
+
{
|
25925
|
+
try {
|
25926
|
+
result = (bool)((RINEX_Clock< double > const *)arg1)->push(*arg2);
|
25927
|
+
} catch (const native_exception &e) {
|
25928
|
+
e.regenerate();
|
25929
|
+
SWIG_fail;
|
25930
|
+
} catch (const std::exception& e) {
|
25931
|
+
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
25932
|
+
}
|
25933
|
+
}
|
25934
|
+
vresult = SWIG_From_bool(static_cast< bool >(result));
|
25935
|
+
return vresult;
|
25936
|
+
fail:
|
25937
|
+
return Qnil;
|
25938
|
+
}
|
25939
|
+
|
25940
|
+
|
25941
|
+
SWIGINTERN VALUE _wrap_RINEX_Clock_push(int nargs, VALUE *args, VALUE self) {
|
25942
|
+
int argc;
|
25943
|
+
VALUE argv[4];
|
25944
|
+
int ii;
|
25945
|
+
|
25946
|
+
argc = nargs + 1;
|
25947
|
+
argv[0] = self;
|
25948
|
+
if (argc > 4) SWIG_fail;
|
25949
|
+
for (ii = 1; (ii < argc); ++ii) {
|
25950
|
+
argv[ii] = args[ii-1];
|
25951
|
+
}
|
25952
|
+
if (argc == 2) {
|
25953
|
+
int _v;
|
25954
|
+
void *vptr = 0;
|
25955
|
+
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_RINEX_ClockT_double_t, 0);
|
25956
|
+
_v = SWIG_CheckState(res);
|
25957
|
+
if (_v) {
|
25958
|
+
void *vptr = 0;
|
25959
|
+
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GPS_SolverT_double_t, SWIG_POINTER_NO_NULL);
|
25960
|
+
_v = SWIG_CheckState(res);
|
25961
|
+
if (_v) {
|
25962
|
+
return _wrap_RINEX_Clock_push__SWIG_1(nargs, args, self);
|
25963
|
+
}
|
25964
|
+
}
|
25965
|
+
}
|
25966
|
+
if (argc == 3) {
|
25967
|
+
int _v;
|
25968
|
+
void *vptr = 0;
|
25969
|
+
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_RINEX_ClockT_double_t, 0);
|
25970
|
+
_v = SWIG_CheckState(res);
|
25971
|
+
if (_v) {
|
25972
|
+
void *vptr = 0;
|
25973
|
+
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GPS_SolverT_double_t, SWIG_POINTER_NO_NULL);
|
25974
|
+
_v = SWIG_CheckState(res);
|
25975
|
+
if (_v) {
|
25976
|
+
{
|
25977
|
+
int res = SWIG_AsVal_int(argv[2], NULL);
|
25978
|
+
_v = SWIG_CheckState(res);
|
25979
|
+
}
|
25980
|
+
if (_v) {
|
25981
|
+
return _wrap_RINEX_Clock_push__SWIG_0(nargs, args, self);
|
25982
|
+
}
|
25983
|
+
}
|
25984
|
+
}
|
25985
|
+
}
|
25986
|
+
|
25987
|
+
fail:
|
25988
|
+
Ruby_Format_OverloadedError( argc, 4, "RINEX_Clock.push",
|
25989
|
+
" bool RINEX_Clock.push(GPS_Solver< double > &solver, PushableData::system_t const &sys)\n"
|
25990
|
+
" bool RINEX_Clock.push(GPS_Solver< double > &solver)\n");
|
25991
|
+
|
25992
|
+
return Qnil;
|
25993
|
+
}
|
25994
|
+
|
25995
|
+
|
25996
|
+
/*
|
25997
|
+
Document-method: GPS_PVT::GPS::RINEX_Clock.clock_error
|
25998
|
+
|
25999
|
+
call-seq:
|
26000
|
+
clock_error(int const & sat_id, Time t) -> double
|
26001
|
+
|
26002
|
+
An instance method.
|
26003
|
+
|
26004
|
+
*/
|
26005
|
+
SWIGINTERN VALUE
|
26006
|
+
_wrap_RINEX_Clock_clock_error(int argc, VALUE *argv, VALUE self) {
|
26007
|
+
RINEX_Clock< double > *arg1 = (RINEX_Clock< double > *) 0 ;
|
26008
|
+
int *arg2 = 0 ;
|
26009
|
+
GPS_Time< double > *arg3 = 0 ;
|
26010
|
+
void *argp1 = 0 ;
|
26011
|
+
int res1 = 0 ;
|
26012
|
+
int temp2 ;
|
26013
|
+
int val2 ;
|
26014
|
+
int ecode2 = 0 ;
|
26015
|
+
void *argp3 ;
|
26016
|
+
int res3 = 0 ;
|
26017
|
+
double result;
|
26018
|
+
VALUE vresult = Qnil;
|
26019
|
+
|
26020
|
+
if ((argc < 2) || (argc > 2)) {
|
26021
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
|
26022
|
+
}
|
26023
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_RINEX_ClockT_double_t, 0 | 0 );
|
26024
|
+
if (!SWIG_IsOK(res1)) {
|
26025
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "RINEX_Clock< double > const *","clock_error", 1, self ));
|
26026
|
+
}
|
26027
|
+
arg1 = reinterpret_cast< RINEX_Clock< double > * >(argp1);
|
26028
|
+
ecode2 = SWIG_AsVal_int(argv[0], &val2);
|
26029
|
+
if (!SWIG_IsOK(ecode2)) {
|
26030
|
+
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","clock_error", 2, argv[0] ));
|
26031
|
+
}
|
26032
|
+
temp2 = static_cast< int >(val2);
|
26033
|
+
arg2 = &temp2;
|
26034
|
+
res3 = SWIG_ConvertPtr(argv[1], &argp3, SWIGTYPE_p_GPS_TimeT_double_t, 0 );
|
26035
|
+
if (!SWIG_IsOK(res3)) {
|
26036
|
+
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "GPS_Time< double > const &","clock_error", 3, argv[1] ));
|
26037
|
+
}
|
26038
|
+
if (!argp3) {
|
26039
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GPS_Time< double > const &","clock_error", 3, argv[1]));
|
26040
|
+
}
|
26041
|
+
arg3 = reinterpret_cast< GPS_Time< double > * >(argp3);
|
26042
|
+
{
|
26043
|
+
try {
|
26044
|
+
result = (double)((RINEX_Clock< double > const *)arg1)->clock_error((int const &)*arg2,(GPS_Time< double > const &)*arg3);
|
26045
|
+
} catch (const native_exception &e) {
|
26046
|
+
e.regenerate();
|
26047
|
+
SWIG_fail;
|
26048
|
+
} catch (const std::exception& e) {
|
26049
|
+
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
26050
|
+
}
|
26051
|
+
}
|
26052
|
+
vresult = SWIG_From_double(static_cast< double >(result));
|
26053
|
+
return vresult;
|
26054
|
+
fail:
|
26055
|
+
return Qnil;
|
26056
|
+
}
|
26057
|
+
|
26058
|
+
|
26059
|
+
/*
|
26060
|
+
Document-method: GPS_PVT::GPS::RINEX_Clock.clock_error_dot
|
26061
|
+
|
26062
|
+
call-seq:
|
26063
|
+
clock_error_dot(int const & sat_id, Time t) -> double
|
26064
|
+
|
26065
|
+
An instance method.
|
26066
|
+
|
26067
|
+
*/
|
26068
|
+
SWIGINTERN VALUE
|
26069
|
+
_wrap_RINEX_Clock_clock_error_dot(int argc, VALUE *argv, VALUE self) {
|
26070
|
+
RINEX_Clock< double > *arg1 = (RINEX_Clock< double > *) 0 ;
|
26071
|
+
int *arg2 = 0 ;
|
26072
|
+
GPS_Time< double > *arg3 = 0 ;
|
26073
|
+
void *argp1 = 0 ;
|
26074
|
+
int res1 = 0 ;
|
26075
|
+
int temp2 ;
|
26076
|
+
int val2 ;
|
26077
|
+
int ecode2 = 0 ;
|
26078
|
+
void *argp3 ;
|
26079
|
+
int res3 = 0 ;
|
26080
|
+
double result;
|
26081
|
+
VALUE vresult = Qnil;
|
26082
|
+
|
26083
|
+
if ((argc < 2) || (argc > 2)) {
|
26084
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
|
26085
|
+
}
|
26086
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_RINEX_ClockT_double_t, 0 | 0 );
|
26087
|
+
if (!SWIG_IsOK(res1)) {
|
26088
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "RINEX_Clock< double > const *","clock_error_dot", 1, self ));
|
26089
|
+
}
|
26090
|
+
arg1 = reinterpret_cast< RINEX_Clock< double > * >(argp1);
|
26091
|
+
ecode2 = SWIG_AsVal_int(argv[0], &val2);
|
26092
|
+
if (!SWIG_IsOK(ecode2)) {
|
26093
|
+
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","clock_error_dot", 2, argv[0] ));
|
26094
|
+
}
|
26095
|
+
temp2 = static_cast< int >(val2);
|
26096
|
+
arg2 = &temp2;
|
26097
|
+
res3 = SWIG_ConvertPtr(argv[1], &argp3, SWIGTYPE_p_GPS_TimeT_double_t, 0 );
|
26098
|
+
if (!SWIG_IsOK(res3)) {
|
26099
|
+
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "GPS_Time< double > const &","clock_error_dot", 3, argv[1] ));
|
26100
|
+
}
|
26101
|
+
if (!argp3) {
|
26102
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GPS_Time< double > const &","clock_error_dot", 3, argv[1]));
|
26103
|
+
}
|
26104
|
+
arg3 = reinterpret_cast< GPS_Time< double > * >(argp3);
|
26105
|
+
{
|
26106
|
+
try {
|
26107
|
+
result = (double)((RINEX_Clock< double > const *)arg1)->clock_error_dot((int const &)*arg2,(GPS_Time< double > const &)*arg3);
|
26108
|
+
} catch (const native_exception &e) {
|
26109
|
+
e.regenerate();
|
26110
|
+
SWIG_fail;
|
26111
|
+
} catch (const std::exception& e) {
|
26112
|
+
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
26113
|
+
}
|
26114
|
+
}
|
26115
|
+
vresult = SWIG_From_double(static_cast< double >(result));
|
26116
|
+
return vresult;
|
26117
|
+
fail:
|
26118
|
+
return Qnil;
|
26119
|
+
}
|
26120
|
+
|
26121
|
+
|
26122
|
+
SWIGINTERN VALUE
|
26123
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
26124
|
+
_wrap_RINEX_Clock_allocate(VALUE self)
|
26125
|
+
#else
|
26126
|
+
_wrap_RINEX_Clock_allocate(int argc, VALUE *argv, VALUE self)
|
26127
|
+
#endif
|
26128
|
+
{
|
26129
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_RINEX_ClockT_double_t);
|
26130
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
26131
|
+
rb_obj_call_init(vresult, argc, argv);
|
26132
|
+
#endif
|
26133
|
+
return vresult;
|
26134
|
+
}
|
26135
|
+
|
26136
|
+
|
26137
|
+
/*
|
26138
|
+
Document-method: GPS_PVT::GPS::RINEX_Clock.new
|
26139
|
+
|
26140
|
+
call-seq:
|
26141
|
+
RINEX_Clock.new
|
26142
|
+
|
26143
|
+
Class constructor.
|
26144
|
+
|
26145
|
+
*/
|
26146
|
+
SWIGINTERN VALUE
|
26147
|
+
_wrap_new_RINEX_Clock(int argc, VALUE *argv, VALUE self) {
|
26148
|
+
RINEX_Clock< double > *result = 0 ;
|
26149
|
+
|
26150
|
+
if ((argc < 0) || (argc > 0)) {
|
26151
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
26152
|
+
}
|
26153
|
+
{
|
26154
|
+
try {
|
26155
|
+
result = (RINEX_Clock< double > *)new RINEX_Clock< double >();
|
26156
|
+
DATA_PTR(self) = result;
|
26157
|
+
} catch (const native_exception &e) {
|
26158
|
+
e.regenerate();
|
26159
|
+
SWIG_fail;
|
26160
|
+
} catch (const std::exception& e) {
|
26161
|
+
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
26162
|
+
}
|
26163
|
+
}
|
26164
|
+
return self;
|
26165
|
+
fail:
|
26166
|
+
return Qnil;
|
26167
|
+
}
|
26168
|
+
|
26169
|
+
|
26170
|
+
SWIGINTERN void
|
26171
|
+
free_RINEX_Clock_Sl_double_Sg_(void *self) {
|
26172
|
+
RINEX_Clock< double > *arg1 = (RINEX_Clock< double > *)self;
|
26173
|
+
delete arg1;
|
26174
|
+
}
|
26175
|
+
|
26176
|
+
|
26177
|
+
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
|
26178
|
+
|
26179
|
+
static void *_p_GPS_EphemerisT_double_tTo_p_GPS_SpaceNodeT_double_t__SatelliteProperties__Ephemeris(void *x, int *SWIGUNUSEDPARM(newmemory)) {
|
26180
|
+
return (void *)((GPS_SpaceNode< double >::SatelliteProperties::Ephemeris *) ((GPS_Ephemeris< double > *) x));
|
26181
|
+
}
|
26182
|
+
static void *_p_GPS_SolverOptionsT_double_tTo_p_GPS_SolverOptions_CommonT_double_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
|
26183
|
+
return (void *)((GPS_SolverOptions_Common< double > *) ((GPS_SolverOptions< double > *) x));
|
26184
|
+
}
|
26185
|
+
static void *_p_SBAS_SolverOptionsT_double_tTo_p_GPS_SolverOptions_CommonT_double_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
|
26186
|
+
return (void *)((GPS_SolverOptions_Common< double > *) ((SBAS_SolverOptions< double > *) x));
|
26187
|
+
}
|
26188
|
+
static void *_p_GLONASS_SolverOptionsT_double_tTo_p_GPS_SolverOptions_CommonT_double_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
|
26189
|
+
return (void *)((GPS_SolverOptions_Common< double > *) ((GLONASS_SolverOptions< double > *) x));
|
26190
|
+
}
|
26191
|
+
static void *_p_GLONASS_EphemerisT_double_tTo_p_GLONASS_SpaceNodeT_double_t__SatelliteProperties__Ephemeris_with_GPS_Time(void *x, int *SWIGUNUSEDPARM(newmemory)) {
|
26192
|
+
return (void *)((GLONASS_SpaceNode< double >::SatelliteProperties::Ephemeris_with_GPS_Time *) ((GLONASS_Ephemeris< double > *) x));
|
26193
|
+
}
|
26194
|
+
static void *_p_SBAS_EphemerisT_double_tTo_p_SBAS_SpaceNodeT_double_t__SatelliteProperties__Ephemeris(void *x, int *SWIGUNUSEDPARM(newmemory)) {
|
26195
|
+
return (void *)((SBAS_SpaceNode< double >::SatelliteProperties::Ephemeris *) ((SBAS_Ephemeris< double > *) x));
|
26196
|
+
}
|
26197
|
+
static void *_p_GPS_Ionospheric_UTC_ParametersT_double_tTo_p_GPS_SpaceNodeT_double_t__Ionospheric_UTC_Parameters(void *x, int *SWIGUNUSEDPARM(newmemory)) {
|
26198
|
+
return (void *)((GPS_SpaceNode< double >::Ionospheric_UTC_Parameters *) ((GPS_Ionospheric_UTC_Parameters< double > *) x));
|
26199
|
+
}
|
26200
|
+
static void *_p_SP3T_double_tTo_p_PushableData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
|
26201
|
+
return (void *)((PushableData *) ((SP3< double > *) x));
|
26202
|
+
}
|
26203
|
+
static void *_p_RINEX_ClockT_double_tTo_p_PushableData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
|
26204
|
+
return (void *)((PushableData *) ((RINEX_Clock< double > *) x));
|
26205
|
+
}
|
26206
|
+
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)) {
|
26207
|
+
return (void *)((Matrix_Frozen< double,Array2D_Dense< double >,MatrixViewBase< > > *) ((Matrix< double,Array2D_Dense< double > > *) x));
|
26208
|
+
}
|
26209
|
+
static swig_type_info _swigt__System_LLHT_double_WGS84_t = {"_System_LLHT_double_WGS84_t", "System_LLH< double,WGS84 >", 0, 0, (void*)0, 0};
|
26210
|
+
static swig_type_info _swigt__System_XYZT_double_WGS84_t = {"_System_XYZT_double_WGS84_t", "System_XYZ< double,WGS84 >", 0, 0, (void*)0, 0};
|
26211
|
+
static swig_type_info _swigt__p_ComplexT_double_t = {"_p_ComplexT_double_t", "Complex< double > *", 0, 0, (void*)0, 0};
|
25554
26212
|
static swig_type_info _swigt__p_DataParser = {"_p_DataParser", "DataParser *", 0, 0, (void*)0, 0};
|
25555
26213
|
static swig_type_info _swigt__p_GLONASS_EphemerisT_double_t = {"_p_GLONASS_EphemerisT_double_t", "GLONASS_Ephemeris< double > *", 0, 0, (void*)0, 0};
|
25556
26214
|
static swig_type_info _swigt__p_GLONASS_SolverOptionsT_double_t = {"_p_GLONASS_SolverOptionsT_double_t", "GLONASS_SolverOptions< double > *", 0, 0, (void*)0, 0};
|
@@ -25576,6 +26234,8 @@ static swig_type_info _swigt__p_MatrixT_double_Array2D_DenseT_double_t_MatrixVie
|
|
25576
26234
|
static swig_type_info _swigt__p_MatrixViewBaseT_t = {"_p_MatrixViewBaseT_t", "MatrixViewBase< > *|MatViewBase *", 0, 0, (void*)0, 0};
|
25577
26235
|
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
26236
|
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};
|
26237
|
+
static swig_type_info _swigt__p_PushableData = {"_p_PushableData", "PushableData *", 0, 0, (void*)0, 0};
|
26238
|
+
static swig_type_info _swigt__p_RINEX_ClockT_double_t = {"_p_RINEX_ClockT_double_t", "RINEX_Clock< double > *", 0, 0, (void*)0, 0};
|
25579
26239
|
static swig_type_info _swigt__p_RINEX_ObservationT_double_t = {"_p_RINEX_ObservationT_double_t", "RINEX_Observation< double > *", 0, 0, (void*)0, 0};
|
25580
26240
|
static swig_type_info _swigt__p_SBAS_EphemerisT_double_t = {"_p_SBAS_EphemerisT_double_t", "SBAS_Ephemeris< double > *", 0, 0, (void*)0, 0};
|
25581
26241
|
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 +26258,7 @@ static swig_type_info _swigt__p_int_t = {"_p_int_t", "int_t *", 0, 0, (void*)0,
|
|
25598
26258
|
static swig_type_info _swigt__p_llh_t = {"_p_llh_t", "llh_t *", 0, 0, (void*)0, 0};
|
25599
26259
|
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
26260
|
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};
|
26261
|
+
static swig_type_info _swigt__p_p_double = {"_p_p_double", "double **", 0, 0, (void*)0, 0};
|
25601
26262
|
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
26263
|
static swig_type_info _swigt__p_s16_t = {"_p_s16_t", "s16_t *", 0, 0, (void*)0, 0};
|
25603
26264
|
static swig_type_info _swigt__p_s32_t = {"_p_s32_t", "s32_t *", 0, 0, (void*)0, 0};
|
@@ -25605,6 +26266,7 @@ static swig_type_info _swigt__p_s8_t = {"_p_s8_t", "s8_t *", 0, 0, (void*)0, 0};
|
|
25605
26266
|
static swig_type_info _swigt__p_satellites_t = {"_p_satellites_t", "satellites_t *", 0, 0, (void*)0, 0};
|
25606
26267
|
static swig_type_info _swigt__p_self_t = {"_p_self_t", "self_t *", 0, 0, (void*)0, 0};
|
25607
26268
|
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};
|
26269
|
+
static swig_type_info _swigt__p_super_t = {"_p_super_t", "super_t *", 0, 0, (void*)0, 0};
|
25608
26270
|
static swig_type_info _swigt__p_swig__GC_VALUE = {"_p_swig__GC_VALUE", "swig::GC_VALUE *", 0, 0, (void*)0, 0};
|
25609
26271
|
static swig_type_info _swigt__p_u16_t = {"_p_u16_t", "u16_t *", 0, 0, (void*)0, 0};
|
25610
26272
|
static swig_type_info _swigt__p_u32_t = {"_p_u32_t", "u32_t *", 0, 0, (void*)0, 0};
|
@@ -25641,6 +26303,8 @@ static swig_type_info *swig_type_initial[] = {
|
|
25641
26303
|
&_swigt__p_MatrixViewBaseT_t,
|
25642
26304
|
&_swigt__p_MatrixViewFilterT_MatrixViewBaseT_t_t,
|
25643
26305
|
&_swigt__p_Matrix_FrozenT_double_Array2D_DenseT_double_t_MatrixViewBaseT_t_t,
|
26306
|
+
&_swigt__p_PushableData,
|
26307
|
+
&_swigt__p_RINEX_ClockT_double_t,
|
25644
26308
|
&_swigt__p_RINEX_ObservationT_double_t,
|
25645
26309
|
&_swigt__p_SBAS_EphemerisT_double_t,
|
25646
26310
|
&_swigt__p_SBAS_SolverOptionsT_double_t,
|
@@ -25663,6 +26327,7 @@ static swig_type_info *swig_type_initial[] = {
|
|
25663
26327
|
&_swigt__p_llh_t,
|
25664
26328
|
&_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
26329
|
&_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,
|
26330
|
+
&_swigt__p_p_double,
|
25666
26331
|
&_swigt__p_range_correction_list_t,
|
25667
26332
|
&_swigt__p_s16_t,
|
25668
26333
|
&_swigt__p_s32_t,
|
@@ -25670,6 +26335,7 @@ static swig_type_info *swig_type_initial[] = {
|
|
25670
26335
|
&_swigt__p_satellites_t,
|
25671
26336
|
&_swigt__p_self_t,
|
25672
26337
|
&_swigt__p_std__vectorT_std__pairT_int_SBAS_SpaceNodeT_double_t__Satellite_const_p_t_t,
|
26338
|
+
&_swigt__p_super_t,
|
25673
26339
|
&_swigt__p_swig__GC_VALUE,
|
25674
26340
|
&_swigt__p_u16_t,
|
25675
26341
|
&_swigt__p_u32_t,
|
@@ -25706,6 +26372,8 @@ static swig_cast_info _swigc__p_MatrixT_double_Array2D_DenseT_double_t_MatrixVie
|
|
25706
26372
|
static swig_cast_info _swigc__p_MatrixViewBaseT_t[] = { {&_swigt__p_MatrixViewBaseT_t, 0, 0, 0},{0, 0, 0, 0}};
|
25707
26373
|
static swig_cast_info _swigc__p_MatrixViewFilterT_MatrixViewBaseT_t_t[] = { {&_swigt__p_MatrixViewFilterT_MatrixViewBaseT_t_t, 0, 0, 0},{0, 0, 0, 0}};
|
25708
26374
|
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}};
|
26375
|
+
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}};
|
26376
|
+
static swig_cast_info _swigc__p_RINEX_ClockT_double_t[] = { {&_swigt__p_RINEX_ClockT_double_t, 0, 0, 0},{0, 0, 0, 0}};
|
25709
26377
|
static swig_cast_info _swigc__p_RINEX_ObservationT_double_t[] = { {&_swigt__p_RINEX_ObservationT_double_t, 0, 0, 0},{0, 0, 0, 0}};
|
25710
26378
|
static swig_cast_info _swigc__p_SBAS_EphemerisT_double_t[] = { {&_swigt__p_SBAS_EphemerisT_double_t, 0, 0, 0},{0, 0, 0, 0}};
|
25711
26379
|
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 +26396,7 @@ static swig_cast_info _swigc__p_int_t[] = { {&_swigt__p_int_t, 0, 0, 0},{0, 0,
|
|
25728
26396
|
static swig_cast_info _swigc__p_llh_t[] = { {&_swigt__p_llh_t, 0, 0, 0},{0, 0, 0, 0}};
|
25729
26397
|
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
26398
|
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}};
|
26399
|
+
static swig_cast_info _swigc__p_p_double[] = { {&_swigt__p_p_double, 0, 0, 0},{0, 0, 0, 0}};
|
25731
26400
|
static swig_cast_info _swigc__p_range_correction_list_t[] = { {&_swigt__p_range_correction_list_t, 0, 0, 0},{0, 0, 0, 0}};
|
25732
26401
|
static swig_cast_info _swigc__p_s16_t[] = { {&_swigt__p_s16_t, 0, 0, 0},{0, 0, 0, 0}};
|
25733
26402
|
static swig_cast_info _swigc__p_s32_t[] = { {&_swigt__p_s32_t, 0, 0, 0},{0, 0, 0, 0}};
|
@@ -25735,6 +26404,7 @@ static swig_cast_info _swigc__p_s8_t[] = { {&_swigt__p_s8_t, 0, 0, 0},{0, 0, 0,
|
|
25735
26404
|
static swig_cast_info _swigc__p_satellites_t[] = { {&_swigt__p_satellites_t, 0, 0, 0},{0, 0, 0, 0}};
|
25736
26405
|
static swig_cast_info _swigc__p_self_t[] = { {&_swigt__p_self_t, 0, 0, 0},{0, 0, 0, 0}};
|
25737
26406
|
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}};
|
26407
|
+
static swig_cast_info _swigc__p_super_t[] = { {&_swigt__p_super_t, 0, 0, 0},{0, 0, 0, 0}};
|
25738
26408
|
static swig_cast_info _swigc__p_swig__GC_VALUE[] = { {&_swigt__p_swig__GC_VALUE, 0, 0, 0},{0, 0, 0, 0}};
|
25739
26409
|
static swig_cast_info _swigc__p_u16_t[] = { {&_swigt__p_u16_t, 0, 0, 0},{0, 0, 0, 0}};
|
25740
26410
|
static swig_cast_info _swigc__p_u32_t[] = { {&_swigt__p_u32_t, 0, 0, 0},{0, 0, 0, 0}};
|
@@ -25771,6 +26441,8 @@ static swig_cast_info *swig_cast_initial[] = {
|
|
25771
26441
|
_swigc__p_MatrixViewBaseT_t,
|
25772
26442
|
_swigc__p_MatrixViewFilterT_MatrixViewBaseT_t_t,
|
25773
26443
|
_swigc__p_Matrix_FrozenT_double_Array2D_DenseT_double_t_MatrixViewBaseT_t_t,
|
26444
|
+
_swigc__p_PushableData,
|
26445
|
+
_swigc__p_RINEX_ClockT_double_t,
|
25774
26446
|
_swigc__p_RINEX_ObservationT_double_t,
|
25775
26447
|
_swigc__p_SBAS_EphemerisT_double_t,
|
25776
26448
|
_swigc__p_SBAS_SolverOptionsT_double_t,
|
@@ -25793,6 +26465,7 @@ static swig_cast_info *swig_cast_initial[] = {
|
|
25793
26465
|
_swigc__p_llh_t,
|
25794
26466
|
_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
26467
|
_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,
|
26468
|
+
_swigc__p_p_double,
|
25796
26469
|
_swigc__p_range_correction_list_t,
|
25797
26470
|
_swigc__p_s16_t,
|
25798
26471
|
_swigc__p_s32_t,
|
@@ -25800,6 +26473,7 @@ static swig_cast_info *swig_cast_initial[] = {
|
|
25800
26473
|
_swigc__p_satellites_t,
|
25801
26474
|
_swigc__p_self_t,
|
25802
26475
|
_swigc__p_std__vectorT_std__pairT_int_SBAS_SpaceNodeT_double_t__Satellite_const_p_t_t,
|
26476
|
+
_swigc__p_super_t,
|
25803
26477
|
_swigc__p_swig__GC_VALUE,
|
25804
26478
|
_swigc__p_u16_t,
|
25805
26479
|
_swigc__p_u32_t,
|
@@ -26076,6 +26750,21 @@ SWIGEXPORT void Init_GPS(void) {
|
|
26076
26750
|
rb_require("gps_pvt/Coordinate");
|
26077
26751
|
rb_define_const(mGPS, "GPS_SC2RAD", SWIG_From_double(static_cast< double >(3.1415926535898)));
|
26078
26752
|
|
26753
|
+
SwigClassPushableData.klass = rb_define_class_under(mGPS, "PushableData", rb_cObject);
|
26754
|
+
SWIG_TypeClientData(SWIGTYPE_p_PushableData, (void *) &SwigClassPushableData);
|
26755
|
+
rb_define_alloc_func(SwigClassPushableData.klass, _wrap_PushableData_allocate);
|
26756
|
+
rb_define_method(SwigClassPushableData.klass, "initialize", VALUEFUNC(_wrap_new_PushableData), -1);
|
26757
|
+
rb_define_const(SwigClassPushableData.klass, "SYS_GPS", SWIG_From_int(static_cast< int >(PushableData::SYS_GPS)));
|
26758
|
+
rb_define_const(SwigClassPushableData.klass, "SYS_SBAS", SWIG_From_int(static_cast< int >(PushableData::SYS_SBAS)));
|
26759
|
+
rb_define_const(SwigClassPushableData.klass, "SYS_QZSS", SWIG_From_int(static_cast< int >(PushableData::SYS_QZSS)));
|
26760
|
+
rb_define_const(SwigClassPushableData.klass, "SYS_GLONASS", SWIG_From_int(static_cast< int >(PushableData::SYS_GLONASS)));
|
26761
|
+
rb_define_const(SwigClassPushableData.klass, "SYS_GALILEO", SWIG_From_int(static_cast< int >(PushableData::SYS_GALILEO)));
|
26762
|
+
rb_define_const(SwigClassPushableData.klass, "SYS_BEIDOU", SWIG_From_int(static_cast< int >(PushableData::SYS_BEIDOU)));
|
26763
|
+
rb_define_const(SwigClassPushableData.klass, "SYS_SYSTEMS", SWIG_From_int(static_cast< int >(PushableData::SYS_SYSTEMS)));
|
26764
|
+
SwigClassPushableData.mark = 0;
|
26765
|
+
SwigClassPushableData.destroy = (void (*)(void *)) free_PushableData;
|
26766
|
+
SwigClassPushableData.trackObjects = 0;
|
26767
|
+
|
26079
26768
|
SwigClassTime.klass = rb_define_class_under(mGPS, "Time", rb_cObject);
|
26080
26769
|
SWIG_TypeClientData(SWIGTYPE_p_GPS_TimeT_double_t, (void *) &SwigClassTime);
|
26081
26770
|
rb_define_alloc_func(SwigClassTime.klass, _wrap_Time_allocate);
|
@@ -26357,6 +27046,8 @@ SWIGEXPORT void Init_GPS(void) {
|
|
26357
27046
|
rb_define_method(SwigClassSolver.klass, "solve", VALUEFUNC(_wrap_Solver_solve), -1);
|
26358
27047
|
rb_define_method(SwigClassSolver.klass, "correction", VALUEFUNC(_wrap_Solver_correction), -1);
|
26359
27048
|
rb_define_method(SwigClassSolver.klass, "correction=", VALUEFUNC(_wrap_Solver_correctione___), -1);
|
27049
|
+
rb_define_method(SwigClassSolver.klass, "options", VALUEFUNC(_wrap_Solver_options), -1);
|
27050
|
+
rb_define_method(SwigClassSolver.klass, "options=", VALUEFUNC(_wrap_Solver_optionse___), -1);
|
26360
27051
|
SwigClassSolver.mark = (void (*)(void *)) GPS_Solver<double>::mark;
|
26361
27052
|
SwigClassSolver.destroy = (void (*)(void *)) free_GPS_Solver_Sl_double_Sg_;
|
26362
27053
|
SwigClassSolver.trackObjects = 0;
|
@@ -26568,27 +27259,33 @@ SWIGEXPORT void Init_GPS(void) {
|
|
26568
27259
|
SwigClassRINEX_Observation.destroy = (void (*)(void *)) free_RINEX_Observation_Sl_double_Sg_;
|
26569
27260
|
SwigClassRINEX_Observation.trackObjects = 0;
|
26570
27261
|
|
26571
|
-
SwigClassSP3.klass = rb_define_class_under(mGPS, "SP3",
|
27262
|
+
SwigClassSP3.klass = rb_define_class_under(mGPS, "SP3", ((swig_class *) SWIGTYPE_p_PushableData->clientdata)->klass);
|
26572
27263
|
SWIG_TypeClientData(SWIGTYPE_p_SP3T_double_t, (void *) &SwigClassSP3);
|
26573
27264
|
rb_define_alloc_func(SwigClassSP3.klass, _wrap_SP3_allocate);
|
26574
27265
|
rb_define_method(SwigClassSP3.klass, "initialize", VALUEFUNC(_wrap_new_SP3), -1);
|
26575
27266
|
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)));
|
27267
|
+
rb_define_method(SwigClassSP3.klass, "satellites", VALUEFUNC(_wrap_SP3_satellites), -1);
|
26583
27268
|
rb_define_method(SwigClassSP3.klass, "push", VALUEFUNC(_wrap_SP3_push), -1);
|
26584
27269
|
rb_define_method(SwigClassSP3.klass, "position", VALUEFUNC(_wrap_SP3_position), -1);
|
26585
27270
|
rb_define_method(SwigClassSP3.klass, "velocity", VALUEFUNC(_wrap_SP3_velocity), -1);
|
26586
27271
|
rb_define_method(SwigClassSP3.klass, "clock_error", VALUEFUNC(_wrap_SP3_clock_error), -1);
|
26587
27272
|
rb_define_method(SwigClassSP3.klass, "clock_error_dot", VALUEFUNC(_wrap_SP3_clock_error_dot), -1);
|
26588
27273
|
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
27274
|
SwigClassSP3.mark = 0;
|
26591
27275
|
SwigClassSP3.destroy = (void (*)(void *)) free_SP3_Sl_double_Sg_;
|
26592
27276
|
SwigClassSP3.trackObjects = 0;
|
27277
|
+
|
27278
|
+
SwigClassRINEX_Clock.klass = rb_define_class_under(mGPS, "RINEX_Clock", ((swig_class *) SWIGTYPE_p_PushableData->clientdata)->klass);
|
27279
|
+
SWIG_TypeClientData(SWIGTYPE_p_RINEX_ClockT_double_t, (void *) &SwigClassRINEX_Clock);
|
27280
|
+
rb_define_alloc_func(SwigClassRINEX_Clock.klass, _wrap_RINEX_Clock_allocate);
|
27281
|
+
rb_define_method(SwigClassRINEX_Clock.klass, "initialize", VALUEFUNC(_wrap_new_RINEX_Clock), -1);
|
27282
|
+
rb_define_method(SwigClassRINEX_Clock.klass, "read", VALUEFUNC(_wrap_RINEX_Clock_read), -1);
|
27283
|
+
rb_define_method(SwigClassRINEX_Clock.klass, "satellites", VALUEFUNC(_wrap_RINEX_Clock_satellites), -1);
|
27284
|
+
rb_define_method(SwigClassRINEX_Clock.klass, "push", VALUEFUNC(_wrap_RINEX_Clock_push), -1);
|
27285
|
+
rb_define_method(SwigClassRINEX_Clock.klass, "clock_error", VALUEFUNC(_wrap_RINEX_Clock_clock_error), -1);
|
27286
|
+
rb_define_method(SwigClassRINEX_Clock.klass, "clock_error_dot", VALUEFUNC(_wrap_RINEX_Clock_clock_error_dot), -1);
|
27287
|
+
SwigClassRINEX_Clock.mark = 0;
|
27288
|
+
SwigClassRINEX_Clock.destroy = (void (*)(void *)) free_RINEX_Clock_Sl_double_Sg_;
|
27289
|
+
SwigClassRINEX_Clock.trackObjects = 0;
|
26593
27290
|
}
|
26594
27291
|
|