1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-07 16:00:35 +00:00

Update BeiDou satellite list

This commit is contained in:
Carles Fernandez 2020-07-12 13:56:36 +02:00
parent 47f0fe340f
commit da9795c7a1
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
3 changed files with 62 additions and 27 deletions

View File

@ -88,7 +88,6 @@ int Pvt_Solution::cart2geo(double X, double Y, double Z, int elipsoid_selection)
d_latitude_d = phi * R2D; d_latitude_d = phi * R2D;
d_longitude_d = lambda * R2D; d_longitude_d = lambda * R2D;
d_height_m = h; d_height_m = h;
// todo: refactor this class. Mix of duplicated functions, use either RTKLIB geodetic functions or geofunctions.h
return 0; return 0;
} }

View File

@ -623,7 +623,7 @@ std::string Gnss_Satellite::what_block(const std::string& system_, uint32_t PRN_
switch (PRN_) switch (PRN_)
{ {
case 1: case 1:
block_ = std::string("BeiDou-2 GEO01"); // GEO 140.0°E; launched 2010/01/16 block_ = std::string("BeiDou-2 GEO01*"); // GEO 140.0°E; launched 2010/01/16 (Retired)
break; break;
case 2: case 2:
block_ = std::string("BeiDou-2 GEO06"); // GEO 80°E; launched 2012/10/25 block_ = std::string("BeiDou-2 GEO06"); // GEO 80°E; launched 2012/10/25
@ -653,76 +653,112 @@ std::string Gnss_Satellite::what_block(const std::string& system_, uint32_t PRN_
block_ = std::string("BeiDou-2 IGSO05"); // 55° inclination IGSO 118°E; launched 2011/12/01 block_ = std::string("BeiDou-2 IGSO05"); // 55° inclination IGSO 118°E; launched 2011/12/01
break; break;
case 11: case 11:
block_ = std::string("BeiDou-2 MEO03"); // Slot A07; launched 2012/04/29 block_ = std::string("BeiDou-2 MEO03*"); // Slot A07; launched 2012/04/29 (Retired)
break; break;
case 12: case 12:
block_ = std::string("BeiDou-2 MEO04"); // Slot A08; launched 2012/04/29 block_ = std::string("BeiDou-2 MEO04*"); // Slot A08; launched 2012/04/29 (Retired)
break; break;
case 13: case 13:
block_ = std::string("BeiDou-2 IGSO06"); // launched 2016/03/30 block_ = std::string("BeiDou-2 IGSO06"); // launched 2016/03/30
break; break;
case 14: case 14:
block_ = std::string("BeiDou-2 MEO06"); // launched 2012/09/19 block_ = std::string("BeiDou-2 MEO06*"); // launched 2012/09/19 (Retired)
break; break;
case 16: case 16:
block_ = std::string("BeiDou-2 IGSO07"); // launched 2018/07/10 block_ = std::string("BeiDou-2 IGSO07"); // launched 2018/07/10
break; break;
case 18:
block_ = std::string("BeiDou-3 GEOG8"); // launched 2019/05/17
break;
case 19: case 19:
block_ = std::string("BeiDou-3 MEO01"); // Slot B-7; launched 2017/11/05 block_ = std::string("BeiDou-3 MEO01"); // Slot B07; launched 2017/11/05
break; break;
case 20: case 20:
block_ = std::string("BeiDou-3 MEO02"); // Slot B-5; launched 2017/11/05 block_ = std::string("BeiDou-3 MEO02"); // Slot B05; launched 2017/11/05
break; break;
case 21: case 21:
block_ = std::string("BeiDou-3 MEO03"); // Slot B-?; launched 2018/02/12 block_ = std::string("BeiDou-3 MEO03"); // Slot B0?; launched 2018/02/12
break; break;
case 22: case 22:
block_ = std::string("BeiDou-3 MEO04"); // Slot B-6; launched 2018/02/12 block_ = std::string("BeiDou-3 MEO04"); // Slot B06; launched 2018/02/12
break; break;
case 23: case 23:
block_ = std::string("BeiDou-3 MEO05"); // Slot C-7; launched 2018/07/29 block_ = std::string("BeiDou-3 MEO05"); // Slot C07; launched 2018/07/29
break; break;
case 24: case 24:
block_ = std::string("BeiDou-3 MEO06"); // Slot C-1; launched 2018/07/29 block_ = std::string("BeiDou-3 MEO06"); // Slot C01; launched 2018/07/29
break; break;
case 25: case 25:
block_ = std::string("BeiDou-3 MEO11"); // Slot C-8; launched 2018/08/24 block_ = std::string("BeiDou-3 MEO11"); // Slot C08; launched 2018/08/24
break; break;
case 26: case 26:
block_ = std::string("BeiDou-3 MEO12"); // Slot C-2; launched 2018/08/24 block_ = std::string("BeiDou-3 MEO12"); // Slot C02; launched 2018/08/24
break; break;
case 27: case 27:
block_ = std::string("BeiDou-3 3M3"); // Slot A-?; launched 2018/01/11 block_ = std::string("BeiDou-3 3M3"); // Slot A04; launched 2018/01/11
break; break;
case 28: case 28:
block_ = std::string("BeiDou-3 3M4"); // Slot A-?; launched 2018/01/11 block_ = std::string("BeiDou-3 3M4"); // Slot A05; launched 2018/01/11
break; break;
case 29: case 29:
block_ = std::string("BeiDou-3 3M7"); // Slot A-?; launched 2018/03/29 block_ = std::string("BeiDou-3 3M7"); // Slot A02; launched 2018/03/29
break; break;
case 30: case 30:
block_ = std::string("BeiDou-3 3M8"); // Slot A-?; launched 2018/03/29 block_ = std::string("BeiDou-3 3M8"); // Slot A03; launched 2018/03/29
break; break;
case 32: case 32:
block_ = std::string("BeiDou-3 MEO13"); // Slot B-1?; launched 2018/09/19 block_ = std::string("BeiDou-3 MEO13"); // Slot B01; launched 2018/09/19
break; break;
case 33: case 33:
block_ = std::string("BeiDou-3 MEO14"); // Slot B-3; launched 2018/09/19 block_ = std::string("BeiDou-3 MEO14"); // Slot B03; launched 2018/09/19
break; break;
case 34: case 34:
block_ = std::string("BeiDou-3 MEO15"); // Slot B-3; launched 2018/10/15 block_ = std::string("BeiDou-3 MEO15"); // Slot B03; launched 2018/10/15
break; break;
case 35: case 35:
block_ = std::string("BeiDou-3 MEO16"); // Slot B-3; launched 2018/10/15 block_ = std::string("BeiDou-3 MEO16"); // Slot B03; launched 2018/10/15
break; break;
case 36: case 36:
block_ = std::string("BeiDou-3 MEO17"); // Slot B-3; launched 2018/11/18 block_ = std::string("BeiDou-3 MEO17"); // Slot B03; launched 2018/11/18
break; break;
case 37: case 37:
block_ = std::string("BeiDou-3 MEO18"); // Slot B-3; launched 2018/11/18 block_ = std::string("BeiDou-3 MEO18"); // Slot B03; launched 2018/11/18
break; break;
case 38: case 38:
block_ = std::string("BeiDou-3 IGSO01"); // Slot B-3; launched 2019/04/20 block_ = std::string("BeiDou-3 IGSOI1"); // launched 2019/04/20
break;
case 39:
block_ = std::string("BeiDou-3 IGSOI2"); // launched 2019/04/20
break;
case 40:
block_ = std::string("BeiDou-3 IGSOI3"); // launched 2019/11/04
break;
case 41:
block_ = std::string("BeiDou-3 MEO19"); // Slot B02, launched 2019/12/16
break;
case 42:
block_ = std::string("BeiDou-3 MEO20"); // Slot B04, launched 2019/12/16
break;
case 43:
block_ = std::string("BeiDou-3 MEO21"); // Slot A06, launched 2019/11/23
break;
case 44:
block_ = std::string("BeiDou-3 MEO22"); // Slot A08, launched 2019/11/23
break;
case 45:
block_ = std::string("BeiDou-3 MEO23"); // Slot C03, launched 2019/09/22
break;
case 46:
block_ = std::string("BeiDou-3 MEO24"); // Slot C05, launched 2019/09/22
break;
case 59:
block_ = std::string("BeiDou-3 GEOG1"); // launched 2018/11/01
break;
case 60:
block_ = std::string("BeiDou-3 GEOG2"); // launched 2020/03/20
break;
case 61:
block_ = std::string("BeiDou-3 GEOG3"); // launched 2020/06/2023
break; break;
default: default:
block_ = std::string("Unknown(Simulated)"); block_ = std::string("Unknown(Simulated)");