Skip to content

Commit

Permalink
Added Beidou SVs
Browse files Browse the repository at this point in the history
Updated the Beidou Table and renumbered them according to Block type
  • Loading branch information
toddwalter committed Mar 26, 2024
1 parent 223ec3b commit 92dacab
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 32 deletions.
4 changes: 4 additions & 0 deletions +navsu/+geo/propNavMsgGps.m
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
mu = 3.986005e14; % WGS-84 value in m^3/s^2
OMEGA_DOTe = 7.2921151467e-5; % WGS-84 value in rad/s

if strcmp(constellation,'GAL')
mu = 3.986004418e14; % WGS-84 value in m^3/s^2
end

if strcmp(constellation,'BDS')
OMEGA_DOTe = 7.292115e-5;
end
Expand Down
3 changes: 2 additions & 1 deletion +navsu/+ppp/getAPCoffset.m
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@

for ii = 1:length(adx)
if ~isempty(atxData(adx(ii)).apc)
offset(:, sdx(ii)) = atxData(adx(ii)).apc(1,:) * 1e-3;
offset(:, sdx(ii)) = atxData(adx(ii)).apc(1,:) * 1e-3;
% offset(:, sdx(ii)) = (2.26*atxData(adx(ii)).apc(4,:) - 1.26*atxData(adx(ii)).apc(1,:)) * 1e-3;
end
end

Expand Down
96 changes: 66 additions & 30 deletions +navsu/+svprn/constSvnData.m
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,10 @@
[ 39 09 1993 07 21 00 00 2014 05 19 14 35 3]; ...
[ 40 10 1996 08 15 00 00 2015 07 16 16 24 3]; ...
[ 41 14 2000 10 10 00 00 2020 07 09 18 16 4]; ...
[ 41 22 2022 01 26 21 40 Inf 00 00 00 00 4]; ...
[ 41 22 2022 01 26 21 40 2023 01 23 20 16 4]; ...
[ 43 13 1998 01 31 00 00 Inf 01 01 00 00 4]; ...
[ 44 28 2000 08 17 00 00 2021 06 21 17 25 4]; ...
[ 44 22 2023 08 18 16 05 Inf 01 01 00 00 4]; ...
[ 45 21 2003 04 12 00 00 Inf 01 01 00 00 4]; ...
[ 46 11 2000 01 03 00 00 2020 11 10 15 14 4]; ...
[ 47 22 2004 01 12 00 00 2021 12 02 16 37 4]; ...
Expand All @@ -107,7 +108,7 @@
[ 60 23 2004 07 09 00 00 2020 03 09 22 00 4]; ...
[ 61 02 2004 11 22 00 00 Inf 01 01 00 00 4]; ...
[ 62 25 2010 08 27 00 00 Inf 01 01 00 00 6]; ...
[ 63 01 2011 10 14 00 00 Inf 01 01 00 00 6]; ...
[ 63 01 2011 10 14 00 00 2023 07 10 10 20 6]; ...
[ 64 30 2014 05 30 18 35 Inf 01 01 00 00 6]; ...
[ 65 24 2012 11 14 00 00 Inf 01 01 00 00 6]; ...
[ 66 27 2013 06 21 19 51 Inf 01 01 00 00 6]; ...
Expand Down Expand Up @@ -605,37 +606,72 @@
% arbitrarily as they are not assigned by MGEX)
switch source
case 1
blockText = {'G-1','M-2','G-2','I-2','M-3','I-3'};
blockText = {'G-1','M-2','G-2','I-2','M-3','I-3','G-3'};
svndata = [
% | Launch Time | Decommission Time |
% SVN PRN Year Mon Day Hour Min Year Mon Day Hour Day Block
901 -4 2000 10 30 0 0 2011 12 1 0 0 1; % Experimental
902 -3 2000 12 20 0 0 2011 12 1 0 0 1; % Experimental
903 -2 2003 5 24 0 0 2012 12 1 0 0 1; % Experimental
904 -1 2007 2 2 0 0 2009 2 1 0 0 1; % Experimental
1 30 2007 4 13 0 0 2010 4 25 0 0 2; % MEO with frequency issues (decommision date taken from date of article http://www.insidegnss.com/node/2061)
2 0 2009 4 14 0 0 2009 4 14 0 0 3; % Drifting GEO (decomission date uncertain)
3 1 2010 1 16 0 0 Inf 1 1 0 0 3;
4 3 2010 6 2 0 0 Inf 1 1 0 0 3;
5 6 2010 7 31 0 0 Inf 1 1 0 0 4;
6 4 2010 10 31 0 0 Inf 1 1 0 0 3;
7 7 2010 12 17 0 0 Inf 1 1 0 0 4;
8 8 2011 4 9 0 0 Inf 1 1 0 0 4;
9 9 2011 7 26 0 0 Inf 1 1 0 0 4;
10 10 2011 12 1 0 0 Inf 1 1 0 0 4;
11 5 2012 2 24 0 0 Inf 1 1 0 0 3;
12 11 2012 4 29 0 0 Inf 1 1 0 0 2;
13 12 2012 4 29 0 0 Inf 1 1 0 0 2;
14 13 2012 9 18 0 0 2014 10 21 0 0 2;
15 14 2012 9 18 0 0 Inf 1 1 0 0 2;
16 2 2012 10 25 0 0 Inf 1 1 0 0 3;
%101 31 2015 3 30 0 0 Inf 1 1 0 0 6;
%102 34 2015 7 25 0 0 Inf 1 1 0 0 5;
%103 33 2015 7 25 0 0 Inf 1 1 0 0 5;
%104 32 2015 9 29 0 0 Inf 1 1 0 0 6;
%105 35 2016 2 1 0 0 Inf 1 1 0 0 5;
17 15 2016 3 29 0 0 Inf 1 1 0 0 4;
18 17 2016 6 12 0 0 Inf 1 1 0 0 3];
101 -4 2000 10 30 0 0 2011 12 1 0 0 1; % Experimental
102 -3 2000 12 20 0 0 2011 12 1 0 0 1; % Experimental
103 -2 2003 5 24 0 0 2012 12 1 0 0 1; % Experimental
104 -1 2007 2 2 0 0 2009 2 1 0 0 1; % Experimental
201 30 2007 4 13 0 0 2010 4 25 0 0 2; % MEO with frequency issues (decommision date taken from date of article http://www.insidegnss.com/node/2061)
302 0 2009 4 14 0 0 2009 4 14 0 0 3; % Drifting GEO (decomission date uncertain)
301 1 2010 1 16 0 0 2018 9 29 0 0 3; % Not sure of real date retired
303 -5 2010 6 2 0 0 2018 9 29 0 0 3;
401 6 2010 7 31 0 0 Inf 1 1 0 0 4;
304 4 2010 10 31 0 0 Inf 1 1 0 0 3;
402 7 2010 12 17 0 0 Inf 1 1 0 0 4;
403 8 2011 4 9 0 0 Inf 1 1 0 0 4;
404 9 2011 7 26 0 0 Inf 1 1 0 0 4;
405 10 2011 12 1 0 0 Inf 1 1 0 0 4;
305 5 2012 2 24 0 0 Inf 1 1 0 0 3;
203 11 2012 4 29 0 0 Inf 1 1 0 0 2;
204 12 2012 4 29 0 0 Inf 1 1 0 0 2;
205 13 2012 9 18 0 0 2014 10 21 0 0 2;
206 14 2012 9 18 0 0 Inf 1 1 0 0 2;
306 2 2012 10 25 0 0 Inf 1 1 0 0 3;
105 31 2015 3 30 0 0 Inf 1 1 0 0 6;% Experimental
106 57 2015 7 25 0 0 Inf 1 1 0 0 5;% Experimental
107 58 2015 7 25 0 0 Inf 1 1 0 0 5;% Experimental
108 56 2015 9 29 0 0 Inf 1 1 0 0 6;% Experimental
109 35 2016 2 1 0 0 2018 9 29 0 0 5;% Experimental Not sure of real date retired
406 13 2016 3 29 0 0 Inf 1 1 0 0 4;
307 3 2016 6 12 0 0 Inf 1 1 0 0 3;
501 19 2017 11 5 11 45 Inf 1 1 0 0 5;
502 20 2017 11 5 11 45 Inf 1 1 0 0 5;
507 27 2018 1 11 23 18 Inf 1 1 0 0 5;
508 28 2018 1 11 23 18 Inf 1 1 0 0 5;
503 21 2018 2 12 5 3 Inf 1 1 0 0 5;
504 22 2018 2 12 5 3 Inf 1 1 0 0 5;
509 29 2018 3 29 17 56 Inf 1 1 0 0 5;
510 30 2018 3 29 17 56 Inf 1 1 0 0 5;
407 16 2018 7 9 20 58 Inf 1 1 0 0 4;
505 23 2018 7 29 1 48 Inf 1 1 0 0 5;
506 24 2018 7 29 1 48 Inf 1 1 0 0 5;
511 25 2018 8 24 23 52 Inf 1 1 0 0 5;
512 26 2018 8 24 23 52 Inf 1 1 0 0 5;
513 32 2018 9 19 14 07 Inf 1 1 0 0 5;
514 33 2018 9 19 14 07 Inf 1 1 0 0 5;
515 34 2018 10 15 4 23 Inf 1 1 0 0 5;
516 35 2018 10 15 4 23 Inf 1 1 0 0 5;
701 59 2018 9 1 15 57 Inf 1 1 0 0 7;
517 36 2018 11 18 18 07 Inf 1 1 0 0 5;
518 37 2018 11 18 18 07 Inf 1 1 0 0 5;
601 38 2019 4 20 14 41 Inf 1 1 0 0 6;
308 1 2019 5 17 15 48 Inf 1 1 0 0 3;
602 39 2019 6 24 18 09 Inf 1 1 0 0 6;
523 45 2019 9 22 21 10 Inf 1 1 0 0 5;
524 46 2019 9 22 21 10 Inf 1 1 0 0 5;
603 40 2019 11 4 17 43 Inf 1 1 0 0 6;
521 43 2019 11 23 0 55 Inf 1 1 0 0 5;
522 44 2019 11 23 0 55 Inf 1 1 0 0 5;
519 41 2019 12 16 7 22 Inf 1 1 0 0 5;
520 42 2019 12 16 7 22 Inf 1 1 0 0 5;
702 60 2020 3 9 11 55 Inf 1 1 0 0 7;
703 61 2020 6 23 1 43 Inf 1 1 0 0 7;
704 62 2023 5 23 1 43 Inf 1 1 0 0 7];
% 525 NaN 2023 12 26 3 26 Inf 1 1 0 0 5;
% 526 NaN 2023 12 26 3 26 Inf 1 1 0 0 5;
case 2
blockText = {'GEO','MEO','GEO','ISGO','MEO','ISGO'};
svndata = [
Expand Down
2 changes: 1 addition & 1 deletion +navsu/+time/epochs2datenum.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
% datenums = Nx1 vector of MATLAB datenums
%
% See also: navsu.time.datenum2epochs
tDatenum = datenum(navsu.time.epochs2cal(epochs,1));
tDatenum = datetime(navsu.time.epochs2cal(epochs,1));


end

0 comments on commit 92dacab

Please sign in to comment.