Commit ac90358c authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Solved a problem with an uncatched exception of the gpstk library.

parent 57ea8cf5
......@@ -58,9 +58,14 @@ void CAsteRx1Process::generate_gps_nav(gpstk::EngEphemeris &ephemeris,TGPSNav &g
gps_nav.i_dot=ephemeris.getIDot();
gps_nav.wnt_oc=gps_epoch.GPSModWeek();
gps_nav.wnt_oe=gps_epoch.GPSModWeek();
}catch(gpstk::InvalidParameter &e){
/* ignore the Error for including subframes 4 and 5 */
//std::cout << e.what() << std::endl;
}catch(gpstk::InvalidRequest &e){
/* this should not happen */
//std::cout << e.what() << std::endl;
}catch(...){
std::cout << "Exception" << std::endl;
throw;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment