diff --git a/tool/swig/GPS.i b/tool/swig/GPS.i index 505bb6e21..b005cbb02 100644 --- a/tool/swig/GPS.i +++ b/tool/swig/GPS.i @@ -373,8 +373,12 @@ struct GPS_Ephemeris : public GPS_SpaceNode::SatelliteProperties::Epheme return get_URA_index(); } FloatT set_fit_interval(const bool &flag) { - // set iodc before invocation of this function - return (this->fit_interval = GPS_Ephemeris::raw_t::fit_interval(flag, this->iodc)); + // set svid/iodc before invocation of this function + if((this->svid >= 193) && (this->svid <= 202)){ // QZSS + return (this->fit_interval = (flag ? 2 * 60 * 60 : (std::numeric_limits::max)())); + }else{ + return (this->fit_interval = GPS_Ephemeris::raw_t::fit_interval(flag, this->iodc)); + } } }; %}