Add 'All But GEO' orbit filter.
parent
5d5c5f58e9
commit
8b4fa0e67e
6
skymap.c
6
skymap.c
|
@ -1608,6 +1608,8 @@ void skymap_plotsatellite(char *filename,int satno,double mjd0,double dt)
|
|||
continue;
|
||||
if (m.leoflag==4 && strcmp(type,"GTO")!=0)
|
||||
continue;
|
||||
if (m.leoflag==5 && strcmp(type,"GEO")==0)
|
||||
continue;
|
||||
|
||||
sprintf(norad," %ld",Isat);
|
||||
|
||||
|
@ -2352,6 +2354,8 @@ int plot_skymap(void)
|
|||
sprintf(text,"GEO");
|
||||
else if (m.leoflag==4)
|
||||
sprintf(text,"GTO");
|
||||
else if (m.leoflag==5)
|
||||
sprintf(text,"AllButGEO");
|
||||
} else if (Isatsel>0) {
|
||||
sprintf(text,"%05d",(int) Isatsel);
|
||||
} else {
|
||||
|
@ -2602,7 +2606,7 @@ int plot_skymap(void)
|
|||
if (c=='L') {
|
||||
if (Isatsel==0) {
|
||||
m.leoflag++;
|
||||
if (m.leoflag>4)
|
||||
if (m.leoflag>5)
|
||||
m.leoflag=-1;
|
||||
redraw=1;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue