@@ -1092,6 +1092,9 @@ cAppli_YannSkyMask::cAppli_YannSkyMask(int argc, char ** argv){
10921092 // Down-grading h5py to earlier version
10931093 System (" pip install 'h5py==2.10.0' --force-reinstall" );
10941094
1095+ // Down-grading protobuf version
1096+ System (" pip install 'protobuf~=3.19.0'" );
1097+
10951098 return ;
10961099
10971100 }
@@ -1188,25 +1191,28 @@ cAppli_YannScript::cAppli_YannScript(int argc, char ** argv){
11881191 LArgMain () << EAM (mOut ," Ref" , " file.o" , " Rinex base station observation file" ));
11891192
11901193
1191- ObservationData rover = RinexReader::readObsFile (ImPattern);
1192- ObservationData base = RinexReader::readObsFile (mOut );
1194+ ObservationData rov = RinexReader::readObsFile (ImPattern);
1195+ ObservationData bas = RinexReader::readObsFile (mOut );
11931196 NavigationData nav = RinexReader::readNavFile (aPostIn);
11941197
1195- rover.removeSatellite (" G24" );
1196- base.removeSatellite (" G24" );
1197- base.removeSatellite (" G10" );
1198- base.removeSatellite (" G19" );
1199-
1200- NavigationDataSet eph = NavigationDataSet ();
1201- eph.addGpsEphemeris (nav);
1202-
1203- Solution solution = Algorithms::triple_difference_kalman (rover, base, eph, base.getApproxAntennaPosition ());
1198+ ObservationSlot slot = rov.getObservationSlots ().at (0 );
1199+ GPSTime time = slot.getTimestamp ();
1200+
1201+ std::vector<std::string> SATS = slot.getSatellites ();
1202+
1203+ std::string sat1 = " G16" ;
12041204
1205- std::cout << " ------------------------------------------------------------------------------" << std::endl;
1206- std::cout << rover.getApproxAntennaPosition () << std::endl;
1207- std::cout << solution.getPosition () - rover.getApproxAntennaPosition () << std::endl;
1208- std::cout << " ------------------------------------------------------------------------------" << std::endl;
12091205
1206+ std::cout << std::endl;
1207+ std::cout << " -----------------------------" << std::endl;
1208+
1209+ for (unsigned i=0 ; i<SATS.size (); i++){
1210+ std::string sat2 = SATS.at (i);
1211+ double N = Algorithms::solve_ambiguity_ref (rov, bas, nav, time, sat1, sat2);
1212+ std::cout << " DD " << sat1 << " -" << sat2 << " " << N << std::endl;
1213+ }
1214+
1215+ std::cout << " -----------------------------" << std::endl;
12101216
12111217 /*
12121218 std::string prn;
0 commit comments