Gpredict 使用
Gpredict 使用
参考 https://oz9aec.dk/gpredict/documents.php
C:\Users\Lenovo\Gpredict\Ningbo-dt.qth
[QTH] LOCATION=Ningbo-dt LAT=29.8813 LON=121.6563 ALT=6 QTH_TYPE=0
C:\Users\Lenovo\Gpredict\Shanghai-yx.qth
[QTH]
LOCATION=Shanghai-yx LAT=30.9896 LON=121.2506 ALT=7 QTH_TYPE=0
C:\Users\Lenovo\Gpredict\modules\Oneweb.mod
[GLOBAL] QTHFILE=Ningbo-dt.qth SATELLITES=44061;44060;44059;44058;44062;44057;45131;61594;45132;45434;45449;45133;45134;45136;45137;45138;45139;45432;45140;45445;45431;45141;45142;45454;45143;45144;45440;45145;45146;45147;45441;45149;45150;45151;45447;45152;45153;45154;45453;45155;45156;45157;45158;45443;45159;45160;45161;45162;45455;45428;45163;45448;45433;45164;45424;45425;45446;45430;45426;45429;45452;45435;45438;45456;45451;45457;45427;45437;45444;45450;45436;45439;45442;48049;47258;48048;48076;47259;47260;47261;48051;48050;47262;48042;48046;47263;47264;47265;47266;47267;47268;47269;47270;47271;47272;47273;47274;47275;47276;47277;47278;47279;47280;47281;47282;47283;47284;47285;47286;47287;47288;47289;47290;47291;47292;47293;48059;48058;48047;48066;48043;48044;48045;48057;48052;48055;48054;48062;48060;48053;48056;48061;48063;48233;48065;48064;48068;48077;48067;48070;48071;48069;48072;48073;48210;48074;48075;48212;48213;48230;48228;48219;48211;48220;48229;48221;48231;48217;48796;48239;48222;48238;48237;48240;48218;48236;48216;48234;48244;48241;48224;48235;48225;48226;48227;48242;48243;48215;48787;48767;48791;48790;48788;48800;48801;48245;48214;48223;48232;48789;48775;48768;48794;48799;48793;48792;48780;48779;48769;48782;48781;48795;48783;48771;48797;48770;48784;48802;48785;48773;48772;48774;48776;48778;48786;48777;48798;48967;48968;48970;48971;48972;48973;48974;48975;48976;48977;48978;48979;48980;48981;48982;48984;48985;48986;48987;48988;48989;48990;48991;48992;48993;48994;48995;48996;48997;48998;48999;49000;49001;49002;49075;49076;49077;49078;49079;49080;49081;49186;49082;49083;49084;49085;49086;49087;49088;49089;49090;49091;49187;49092;49093;49188;49189;49094;49095;49096;49097;49098;49099;49100;49101;49102;49103;49104;49105;49190;49191;49192;49106;49193;49194;49195;49196;49197;49107;49108;49198;49279;49199;49200;49201;49202;49203;49204;49205;49206;49207;49208;49209;49210;49211;49212;49280;49213;49281;49214;49215;49216;49282;49217;49218;49283;49219;49284;49285;49286;49287;49288;49289;49290;49291;49292;49293;49294;49295;49296;49297;49298;49299;49300;49301;49302;49303;49304;49305;49306;49307;49308;49309;49310;49311;49312;49313;49314;50469;50470;50471;50472;50473;50474;50475;50476;50477;50478;50479;50480;50481;50482;50483;50484;50485;50486;50487;50488;51622;51623;50489;50490;50491;51624;51625;50492;50493;50494;50495;50496;51626;51627;50497;51628;50498;50499;51629;50500;50501;51630;50502;51631;51632;51633;51634;51635;50503;51636;51637;51638;51639;51640;51641;51642;50504;51643;51644;51646;51647;51648;51649;51650;51651;51652;51653;51654;51655;54113;54114;54115;54116;54117;54118;54119;54120;54121;54122;54123;54124;54125;54126;54127;54128;54129;54130;54131;54132;54133;54134;54135;54136;54137;54138;54139;54140;54141;54142;54143;54144;54642;54643;54145;55796;54146;55140;55141;55797;54147;54148;56046;56047;54644;54645;55142;54646;55143;55144;54647;56048;56049;56050;56051;56052;56053;56054;56055;56056;56057;55798;56058;56059;56060;55145;56710;55799;55800;55801;55146;56061;55147;56062;55148;55149;55150;55151;55152;56063;56064;56065;56066;56067;56068;54648;56069;54649;54650;54651;54652;54653;54654;55153;54655;54656;54657;54658;54659;54660;54661;54662;54663;55154;55155;54664;54665;54666;54667;54668;54669;54670;54671;54672;56070;54673;54674;54675;56071;55156;54676;55157;55158;55159;55160;55161;55162;55163;55164;55165;55166;55167;55168;55169;55170;56072;55171;56073;56074;56075;56076;56077;56078;55802;55803;55804;55805;55806;55807;55808;55809;55810;56079;55811;55812;55813;56080;55814;55815;55816;54677;55817;55818;55819;54678;55820;55821;55822;55823;55824;55825;55826;55827;56711;55828;55829;55830;55831;55832;55833;55834;56712;56713;56714;56715;56716;56717;56718;56719;56720;54679;56721;61595;61596;61597;61598;61599;61600;61601;56722;61602;56723;61603;61604;61605;61606;61607;61608;56724;61609;61610;61611;61612;61613;55172;55173;55174;54680;55175;54681;55176;55177;55178;56081;55179;55835;56725 [SINGLE_SAT] SELECTED=44061
C:\Users\Lenovo\Gpredict\modules\Qianfan.mod
[GLOBAL] QTHFILE=Shanghai-yx.qth SATELLITES=60379;60380;60381;60382;60383;60384;60385;60386;60387;60388;60389;60390;60391;60392;60393;60394;60395;60396;62785;62786;62787;62788;62789;62790;62791;62792;62793;62794;62795;62796;62797;62798;62799;62800;62801;62802 [SINGLE_SAT] SELECTED=60379
选择的千帆卫星NORAD编号 ( QIANFAN-1 至 QIANFAN-90 )
SATELLITES=60379;60380;60381;60382;60383;60384;60385;60386;60387;60388;60389;60390;60391;60392;60393;60394;60395;60396;61552;61553;61554;61555;61556;61557;61558;61559;61560;61561;61562;61563;61564;61565;61566;61567;61568;61569;62238;62239;62240;62241;62242;62243;62244;62245;62246;62247;62248;62249;62250;62251;62252;62253;62254;62255;62785;62786;62787;62788;62789;62790;62791;62792;62793;62794;62795;62796;62797;62798;62799;62800;62801;62802;63159;63160;63161;63162;63163;63164;63165;63166;63167;63168;63169;63170;63171;63172;63173;63174;63175;63176
选择的千帆卫星NORAD编号 ( 第一批低轨卫星 QIANFAN-1 至 QIANFAN-18 号卫星 和 第四批低轨卫星 QIANFAN-55 至 QIANFAN-72 号卫星 )
SATELLITES=60379;60380;60381;60382;60383;60384;60385;60386;60387;60388;60389;60390;60391;60392;60393;60394;60395;60396;62785;62786;62787;62788;62789;62790;62791;62792;62793;62794;62795;62796;62797;62798;62799;62800;62801;62802
C:\Users\Lenovo\Gpredict\gpredict.cfg
[GLOBAL] WINDOW_POS_X=313 WINDOW_POS_Y=22 WINDOW_WIDTH=974 WINDOW_HEIGHT=938 OPEN_MODULES=Qianfan;Oneweb CURRENT_PAGE=0 USE_LOCAL_TIME=true TIME_FORMAT=%Y/%m/%d %H:%M:%S USE_NSEW=false USE_IMPERIAL=false DEFAULT_QTH=Ningbo-dt.qth [TLE] AUTO_UPDATE_FREQ=3 AUTO_UPDATE_ACTION=1 URLS=http://celestrak.org/NORAD/elements/gp.php?GROUP=oneweb&FORMAT=tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=oneweb&FORMAT=tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=hulianwang&FORMAT=tle [PREDICT] MINIMUM_ELEV=5 NUMBER_OF_PASSES=10 LOOK_AHEAD=3 TIME_RESOLUTION=10 NUMBER_OF_ENTRIES=20 TWILIGHT_THRESHOLD=-6 USE_REAL_T0=false
千帆卫星 截至 205年3月12日 共发射五次,
第一批低轨卫星 2024-140(一箭18星) 在 2024-08-06日 于 太原卫星发射中心 发射,QIANFAN-1 至 QIANFAN-18 号卫星。
第二批低轨卫星 2024-185(一箭18星) 在 2024-10-15日 于 太原卫星发射中心 发射,QIANFAN-19 至 QIANFAN-36 号卫星。
第三批低轨卫星 2024-232(一箭18星) 在 2024-12-05日 于 太原卫星发射中心 发射,QIANFAN-37 至 QIANFAN-54 号卫星。
第四批低轨卫星 2025-016(一箭18星) 在 2025-01-23日 于 太原卫星发射中心 发射,QIANFAN-55 至 QIANFAN-72 号卫星。
第五批低轨卫星 2025-016(一箭18星) 在 2025-03-11日 于 海南商业航天发射场 发射,QIANFAN-73 至 QIANFAN-90 号卫星。
URLS=http://celestrak.org/NORAD/elements/gp.php?CATNR=60379;http://celestrak.org/NORAD/elements/gp.php?CATNR=60380;http://celestrak.org/NORAD/elements/gp.php?CATNR=60381;http://celestrak.org/NORAD/elements/gp.php?CATNR=60382;http://celestrak.org/NORAD/elements/gp.php?CATNR=60383;http://celestrak.org/NORAD/elements/gp.php?CATNR=60384;http://celestrak.org/NORAD/elements/gp.php?CATNR=60385;http://celestrak.org/NORAD/elements/gp.php?CATNR=60386;http://celestrak.org/NORAD/elements/gp.php?CATNR=60387;http://celestrak.org/NORAD/elements/gp.php?CATNR=60388;http://celestrak.org/NORAD/elements/gp.php?CATNR=60389;http://celestrak.org/NORAD/elements/gp.php?CATNR=60390;http://celestrak.org/NORAD/elements/gp.php?CATNR=60391;http://celestrak.org/NORAD/elements/gp.php?CATNR=60392;http://celestrak.org/NORAD/elements/gp.php?CATNR=60393;http://celestrak.org/NORAD/elements/gp.php?CATNR=60394;http://celestrak.org/NORAD/elements/gp.php?CATNR=60395;http://celestrak.org/NORAD/elements/gp.php?CATNR=60396;http://celestrak.org/NORAD/elements/gp.php?CATNR=61552;http://celestrak.org/NORAD/elements/gp.php?CATNR=61553;http://celestrak.org/NORAD/elements/gp.php?CATNR=61554;http://celestrak.org/NORAD/elements/gp.php?CATNR=61555;http://celestrak.org/NORAD/elements/gp.php?CATNR=61556;http://celestrak.org/NORAD/elements/gp.php?CATNR=61557;http://celestrak.org/NORAD/elements/gp.php?CATNR=61558;http://celestrak.org/NORAD/elements/gp.php?CATNR=61559;http://celestrak.org/NORAD/elements/gp.php?CATNR=61560;http://celestrak.org/NORAD/elements/gp.php?CATNR=61561;http://celestrak.org/NORAD/elements/gp.php?CATNR=61562;http://celestrak.org/NORAD/elements/gp.php?CATNR=61563;http://celestrak.org/NORAD/elements/gp.php?CATNR=61564;http://celestrak.org/NORAD/elements/gp.php?CATNR=61565;http://celestrak.org/NORAD/elements/gp.php?CATNR=61566;http://celestrak.org/NORAD/elements/gp.php?CATNR=61567;http://celestrak.org/NORAD/elements/gp.php?CATNR=61568;http://celestrak.org/NORAD/elements/gp.php?CATNR=61569;http://celestrak.org/NORAD/elements/gp.php?CATNR=62238;http://celestrak.org/NORAD/elements/gp.php?CATNR=62239;http://celestrak.org/NORAD/elements/gp.php?CATNR=62240;http://celestrak.org/NORAD/elements/gp.php?CATNR=62241;http://celestrak.org/NORAD/elements/gp.php?CATNR=62242;http://celestrak.org/NORAD/elements/gp.php?CATNR=62243;http://celestrak.org/NORAD/elements/gp.php?CATNR=62244;http://celestrak.org/NORAD/elements/gp.php?CATNR=62245;http://celestrak.org/NORAD/elements/gp.php?CATNR=62246;http://celestrak.org/NORAD/elements/gp.php?CATNR=62247;http://celestrak.org/NORAD/elements/gp.php?CATNR=62248;http://celestrak.org/NORAD/elements/gp.php?CATNR=62249;http://celestrak.org/NORAD/elements/gp.php?CATNR=62250;http://celestrak.org/NORAD/elements/gp.php?CATNR=62251;http://celestrak.org/NORAD/elements/gp.php?CATNR=62252;http://celestrak.org/NORAD/elements/gp.php?CATNR=62253;http://celestrak.org/NORAD/elements/gp.php?CATNR=62254;http://celestrak.org/NORAD/elements/gp.php?CATNR=62255;http://celestrak.org/NORAD/elements/gp.php?CATNR=62785;http://celestrak.org/NORAD/elements/gp.php?CATNR=62786;http://celestrak.org/NORAD/elements/gp.php?CATNR=62787;http://celestrak.org/NORAD/elements/gp.php?CATNR=62788;http://celestrak.org/NORAD/elements/gp.php?CATNR=62789;http://celestrak.org/NORAD/elements/gp.php?CATNR=62790;http://celestrak.org/NORAD/elements/gp.php?CATNR=62791;http://celestrak.org/NORAD/elements/gp.php?CATNR=62792;http://celestrak.org/NORAD/elements/gp.php?CATNR=62793;http://celestrak.org/NORAD/elements/gp.php?CATNR=62794;http://celestrak.org/NORAD/elements/gp.php?CATNR=62795;http://celestrak.org/NORAD/elements/gp.php?CATNR=62796;http://celestrak.org/NORAD/elements/gp.php?CATNR=62797;http://celestrak.org/NORAD/elements/gp.php?CATNR=62798;http://celestrak.org/NORAD/elements/gp.php?CATNR=62799;http://celestrak.org/NORAD/elements/gp.php?CATNR=62800;http://celestrak.org/NORAD/elements/gp.php?CATNR=62801;http://celestrak.org/NORAD/elements/gp.php?CATNR=62802;http://celestrak.org/NORAD/elements/gp.php?CATNR=63159;http://celestrak.org/NORAD/elements/gp.php?CATNR=63160;http://celestrak.org/NORAD/elements/gp.php?CATNR=63161;http://celestrak.org/NORAD/elements/gp.php?CATNR=63162;http://celestrak.org/NORAD/elements/gp.php?CATNR=63163;http://celestrak.org/NORAD/elements/gp.php?CATNR=63164;http://celestrak.org/NORAD/elements/gp.php?CATNR=63165;http://celestrak.org/NORAD/elements/gp.php?CATNR=63166;http://celestrak.org/NORAD/elements/gp.php?CATNR=63167;http://celestrak.org/NORAD/elements/gp.php?CATNR=63168;http://celestrak.org/NORAD/elements/gp.php?CATNR=63169;http://celestrak.org/NORAD/elements/gp.php?CATNR=63170;http://celestrak.org/NORAD/elements/gp.php?CATNR=63171;http://celestrak.org/NORAD/elements/gp.php?CATNR=63172;http://celestrak.org/NORAD/elements/gp.php?CATNR=63173;http://celestrak.org/NORAD/elements/gp.php?CATNR=63174;http://celestrak.org/NORAD/elements/gp.php?CATNR=63175;http://celestrak.org/NORAD/elements/gp.php?CATNR=63176
千帆卫星 第一批低轨卫星 2024-140(一箭18星) QIANFAN-1 至 QIANFAN-18 号卫星 和 第四批低轨卫星 2025-016(一箭18星) QIANFAN-55 至 QIANFAN-72 号卫星 。
URLS=http://celestrak.org/NORAD/elements/gp.php?CATNR=60379;http://celestrak.org/NORAD/elements/gp.php?CATNR=60380;http://celestrak.org/NORAD/elements/gp.php?CATNR=60381;http://celestrak.org/NORAD/elements/gp.php?CATNR=60382;http://celestrak.org/NORAD/elements/gp.php?CATNR=60383;http://celestrak.org/NORAD/elements/gp.php?CATNR=60384;http://celestrak.org/NORAD/elements/gp.php?CATNR=60385;http://celestrak.org/NORAD/elements/gp.php?CATNR=60386;http://celestrak.org/NORAD/elements/gp.php?CATNR=60387;http://celestrak.org/NORAD/elements/gp.php?CATNR=60388;http://celestrak.org/NORAD/elements/gp.php?CATNR=60389;http://celestrak.org/NORAD/elements/gp.php?CATNR=60390;http://celestrak.org/NORAD/elements/gp.php?CATNR=60391;http://celestrak.org/NORAD/elements/gp.php?CATNR=60392;http://celestrak.org/NORAD/elements/gp.php?CATNR=60393;http://celestrak.org/NORAD/elements/gp.php?CATNR=60394;http://celestrak.org/NORAD/elements/gp.php?CATNR=60395;http://celestrak.org/NORAD/elements/gp.php?CATNR=60396;http://celestrak.org/NORAD/elements/gp.php?CATNR=62785;http://celestrak.org/NORAD/elements/gp.php?CATNR=62786;http://celestrak.org/NORAD/elements/gp.php?CATNR=62787;http://celestrak.org/NORAD/elements/gp.php?CATNR=62788;http://celestrak.org/NORAD/elements/gp.php?CATNR=62789;http://celestrak.org/NORAD/elements/gp.php?CATNR=62790;http://celestrak.org/NORAD/elements/gp.php?CATNR=62791;http://celestrak.org/NORAD/elements/gp.php?CATNR=62792;http://celestrak.org/NORAD/elements/gp.php?CATNR=62793;http://celestrak.org/NORAD/elements/gp.php?CATNR=62794;http://celestrak.org/NORAD/elements/gp.php?CATNR=62795;http://celestrak.org/NORAD/elements/gp.php?CATNR=62796;http://celestrak.org/NORAD/elements/gp.php?CATNR=62797;http://celestrak.org/NORAD/elements/gp.php?CATNR=62798;http://celestrak.org/NORAD/elements/gp.php?CATNR=62799;http://celestrak.org/NORAD/elements/gp.php?CATNR=62800;http://celestrak.org/NORAD/elements/gp.php?CATNR=62801;http://celestrak.org/NORAD/elements/gp.php?CATNR=62802
=============
libpredict 和 flyby
安装对应的依赖库
jjx@LENOVO-LAPTOP:~$ sudo aptitude install gpsd gpsd-tools libgps30t64 libbluetooth3 libhamlib-utils libhamlib4t64 libindi-data libindiclient1 libnova-dev-bin
The following NEW packages will be installed:
gpsd gpsd-tools libbluetooth3 libgps30t64 libhamlib-utils libhamlib4t64 libindi-data libindiclient1 libnova-0.16-0t64{a}
libnova-dev-bin libusb-1.0-0{a}
0 packages upgraded, 11 newly installed, 0 to remove and 154 not upgraded.
Need to get 0 B/3378 kB of archives. After unpacking 19.6 MB will be used.
Do you want to continue? [Y/n/?] y
Selecting previously unselected package libusb-1.0-0:amd64.
(Reading database ... 83910 files and directories currently installed.)
Preparing to unpack .../00-libusb-1.0-0_2%3a1.0.27-1_amd64.deb ...
Unpacking libusb-1.0-0:amd64 (2:1.0.27-1) ...
Selecting previously unselected package libgps30t64:amd64.
Preparing to unpack .../01-libgps30t64_3.25-3ubuntu3.1_amd64.deb ...
Unpacking libgps30t64:amd64 (3.25-3ubuntu3.1) ...
Selecting previously unselected package libbluetooth3:amd64.
Preparing to unpack .../02-libbluetooth3_5.72-0ubuntu5.3_amd64.deb ...
Unpacking libbluetooth3:amd64 (5.72-0ubuntu5.3) ...
Selecting previously unselected package gpsd.
Preparing to unpack .../03-gpsd_3.25-3ubuntu3.1_amd64.deb ...
Unpacking gpsd (3.25-3ubuntu3.1) ...
Selecting previously unselected package gpsd-tools.
Preparing to unpack .../04-gpsd-tools_3.25-3ubuntu3.1_amd64.deb ...
Unpacking gpsd-tools (3.25-3ubuntu3.1) ...
Selecting previously unselected package libindi-data.
Preparing to unpack .../05-libindi-data_1.9.9+dfsg-3build3_all.deb ...
Unpacking libindi-data (1.9.9+dfsg-3build3) ...
Selecting previously unselected package libnova-0.16-0t64:amd64.
Preparing to unpack .../06-libnova-0.16-0t64_0.16-5.1build1_amd64.deb ...
Unpacking libnova-0.16-0t64:amd64 (0.16-5.1build1) ...
Selecting previously unselected package libindiclient1:amd64.
Preparing to unpack .../07-libindiclient1_1.9.9+dfsg-3build3_amd64.deb ...
Unpacking libindiclient1:amd64 (1.9.9+dfsg-3build3) ...
Selecting previously unselected package libhamlib4t64:amd64.
Preparing to unpack .../08-libhamlib4t64_4.5.5-3.2build2_amd64.deb ...
Adding 'diversion of /lib/udev/rules.d/60-libhamlib4.rules to /lib/udev/rules.d/60-libhamlib4.rules.usr-is-merged by usr-is-merged'
Unpacking libhamlib4t64:amd64 (4.5.5-3.2build2) ...
Selecting previously unselected package libhamlib-utils.
Preparing to unpack .../09-libhamlib-utils_4.5.5-3.2build2_amd64.deb ...
Unpacking libhamlib-utils (4.5.5-3.2build2) ...
Selecting previously unselected package libnova-dev-bin.
Preparing to unpack .../10-libnova-dev-bin_0.16-5.1build1_amd64.deb ...
Unpacking libnova-dev-bin (0.16-5.1build1) ...
Setting up libgps30t64:amd64 (3.25-3ubuntu3.1) ...
Setting up libnova-0.16-0t64:amd64 (0.16-5.1build1) ...
Setting up libindi-data (1.9.9+dfsg-3build3) ...
Setting up libbluetooth3:amd64 (5.72-0ubuntu5.3) ...
Setting up libindiclient1:amd64 (1.9.9+dfsg-3build3) ...
Setting up libusb-1.0-0:amd64 (2:1.0.27-1) ...
Setting up gpsd (3.25-3ubuntu3.1) ...
Creating/updating gpsd user account...
Created symlink /etc/systemd/system/sockets.target.wants/gpsd.socket → /usr/lib/systemd/system/gpsd.socket.
Setting up libnova-dev-bin (0.16-5.1build1) ...
Setting up gpsd-tools (3.25-3ubuntu3.1) ...
Setting up libhamlib4t64:amd64 (4.5.5-3.2build2) ...
Setting up libhamlib-utils (4.5.5-3.2build2) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for libc-bin (2.39-0ubuntu8.4) ...
jjx@LENOVO-LAPTOP:~$
git -c http.sslVerify=false clone https://110.42.96.64:21891/jjx/libpredict.git
# git repertory project configuration # export GIT_SSL_NO_VERIFY=1 [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true symlinks = true ignorecase = false autocrlf = false safecrlf = warn [http] sslVerify = false [user] name = SamadhiFly email = lsgx@live.com [remote "origin"] url = https://110.42.96.64:21891/jjx/libpredict.git fetch = +refs/heads/*:refs/remotes/origin/* [remote "upstream"] url = https://github.com/la1k/libpredict.git fetch = +refs/heads/*:refs/remotes/upstream/* [remote "github"] url = https://github.com/SamadhiFly/libpredict.git fetch = +refs/heads/*:refs/remotes/github/* [branch "master"] remote = origin merge = refs/heads/master [branch "dev"] remote = origin merge = refs/heads/dev
cd libpredict/ mkdir build cd build/ cmake ../ make sudo make install
cd ~ [ 25%] Built target predict [ 48%] Built target predict_static [ 53%] Built target dummy-t [ 58%] Built target link-t [ 65%] Built target orbit-t [ 72%] Built target aoslos-t [ 79%] Built target sun-t [ 86%] Built target moon-t [ 93%] Built target maxelevation-t [100%] Built target geostationary-t Install the project... -- Install configuration: "" -- Installing: /usr/local/lib/libpredict.so.3.0.0 -- Installing: /usr/local/lib/libpredict.so.3 -- Installing: /usr/local/lib/libpredict.so -- Installing: /usr/local/include/predict/predict.h -- Installing: /usr/local/lib/libpredict.a -- Installing: /usr/local/lib/pkgconfig/predict.pc
git -c http.sslVerify=false clone https://110.42.96.64:21891/jjx/flyby.git
# git repertory project configuration # export GIT_SSL_NO_VERIFY=1 [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true symlinks = true ignorecase = false autocrlf = false safecrlf = warn [http] sslVerify = false [user] name = SamadhiFly email = lsgx@live.com [remote "origin"] url = https://110.42.96.64:21891/jjx/flyby.git fetch = +refs/heads/*:refs/remotes/origin/* [remote "upstream"] url = https://github.com/la1k/flyby.git fetch = +refs/heads/*:refs/remotes/upstream/* [remote "github"] url = https://github.com/SamadhiFly/flyby.git fetch = +refs/heads/*:refs/remotes/github/* [branch "master"] remote = origin merge = refs/heads/master [branch "dev"] remote = origin merge = refs/heads/dev
cd flyby/ mkdir build cd build/ cmake ../ make sudo make install
cd ~ [ 71%] Built target flyby [100%] Built target transponder_utility Install the project... -- Install configuration: "" -- Installing: /usr/local/bin/flyby -- Set non-toolchain portion of runtime path of "/usr/local/bin/flyby" to "" -- Installing: /usr/local/bin/flyby-transponder-dbutil -- Set non-toolchain portion of runtime path of "/usr/local/bin/flyby-transponder-dbutil" to "" -- Installing: /usr/local/bin/flyby-satnogs-fetcher -- Installing: /usr/local/bin/flyby-update-tles -- Installing: /usr/local/share/man/man1/flyby.1
jjx@LENOVO-LAPTOP:~$ jjx@LENOVO-LAPTOP:~$ mkdir -p ~/.local/share/flyby/tles/ jjx@LENOVO-LAPTOP:~$ mkdir -p ~/.config/flyby/ jjx@LENOVO-LAPTOP:~$ jjx@LENOVO-LAPTOP:~$ curl -ksLo ~/.local/share/flyby/tles/qianfan-tle.txt https://celestrak.org/NORAD/elements/gp.php?GROUP=qianfan&FORMAT=tle
jjx@LENOVO-LAPTOP:~$ sed -i 's/QIANFAN/QF/g' ~/.local/share/flyby/tles/qianfan-tle.txt jjx@LENOVO-LAPTOP:~$ jjx@LENOVO-LAPTOP:~$ curl -ksLo ~/.local/share/flyby/tles/oneweb-tle.txt https://celestrak.org/NORAD/elements/gp.php?GROUP=oneweb&FORMAT=tle
jjx@LENOVO-LAPTOP:~$ sed -i 's/ONEWEB/OW/g' ~/.local/share/flyby/tles/oneweb-tle.txt jjx@LENOVO-LAPTOP:~$
jjx@LENOVO-LAPTOP:~$ grep -A 2 QF-83 .local/share/flyby/tles/qianfan-tle.txt
QF-83
1 63169U 25046L 25216.58723213 .00000186 00000+0 22560-3 0 9991
2 63169 88.9860 333.3582 0015877 133.7215 226.5260 13.61931906 29882
jjx@LENOVO-LAPTOP:~$
jjx@LENOVO-LAPTOP:~$ jjx@LENOVO-LAPTOP:~$ sudo ldconfig jjx@LENOVO-LAPTOP:~$ ldd /usr/local/bin/flyby linux-vdso.so.1 (0x00007fffee6d3000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fdf17f4d000) libncurses.so.6 => /lib/x86_64-linux-gnu/libncurses.so.6 (0x00007fdf17f24000) libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 (0x00007fdf17ef0000) libmenu.so.6 => /lib/x86_64-linux-gnu/libmenu.so.6 (0x00007fdf17ee5000) libform.so.6 => /lib/x86_64-linux-gnu/libform.so.6 (0x00007fdf17ed0000) libpredict.so.3 => /usr/local/lib/libpredict.so.3 (0x00007fdf17ea7000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fdf17c90000) /lib64/ld-linux-x86-64.so.2 (0x00007fdf1807c000) jjx@LENOVO-LAPTOP:~$ jjx@LENOVO-LAPTOP:~$ cat .config/flyby/flyby.qth Ningbo-dt 29.8813 -121.6563 6 jjx@LENOVO-LAPTOP:~$ jjx@LENOVO-LAPTOP:~$ jjx@LENOVO-LAPTOP:~$ tree -al .config/ .config/ ├── flyby │ ├── astronomical_body_tracking_settings.conf │ ├── flyby.qth │ └── multitrack_settings.conf └── htop └── htoprc 3 directories, 4 files jjx@LENOVO-LAPTOP:~$ jjx@LENOVO-LAPTOP:~$ tree -al .local/ .local/ └── share └── flyby └── tles ├── oneweb-tle.txt └── qianfan-tle.txt 4 directories, 2 files jjx@LENOVO-LAPTOP:~$
jjx@LENOVO-LAPTOP:~$
jjx@LENOVO-LAPTOP:~$ flyby --help Flyby satellite tracking program Usage: flyby [options] Options: --add-tle-file=FILE Add TLE file to flyby's TLE database. The internal database is file-based, and the base filename of the input file will be used as filename for the internal file. Any existing database file with the same name will be overwritten. -u,--update-tle-db=FILE Update TLE database with TLE file FILE. Multiple files can be specified using the same option multiple times (e.g. -u file1 -u file2 ...). Flyby will exit afterwards. Any new TLEs in the file will be ignored. -t,--tle-file=FILE Use FILE as TLE database file. Overrides user and system TLE database files. Multiple files can be specified using this option multiple times (e.g. -t file1 -t file2 ...). -q,--qth-file=FILE Use FILE as QTH config file. Overrides existing QTH config file. -A,--rotctld-tracking[=HOST[:PORT] Connect to a rotctld server and enable antenna tracking. Optionally specify host and port, otherwise use localhost:4533. -H,--tracking-horizon=HORIZON Specify elevation threshold for when flyby will start tracking an orbit. -U,--rigctld-uplink[=HOST[:PORT]] Connect to rigctld and enable uplink frequency control. Optionally specify host and port, otherwise use localhost:4532. --uplink-vfo=VFO_NAME Specify rigctld uplink VFO. -D,--rigctld-downlink[=HOST[:PORT] Connect to rigctld and enable downlink frequency control. Optionally specify host and port, otherwise use localhost:4532. --downlink-vfo=VFO_NAME Specify rigctld downlink VFO. -h,--help Show help. jjx@LENOVO-LAPTOP:~$ jjx@LENOVO-LAPTOP:~$ curl -ksLo /tmp/qianfan-tle.txt https://celestrak.org/NORAD/elements/gp.php?GROUP=qianfan&FORMAT=tle jjx@LENOVO-LAPTOP:~$ sed -i 's/QIANFAN/QF/g' /tmp/qianfan-tle.txt jjx@LENOVO-LAPTOP:~$ flyby --add-tle-file=/tmp/qianfan-tle.txt Copy `/tmp/qianfan-tle.txt` to `/home/jjx/.local/share/flyby/tles/qianfan-tle.txt` (90 TLEs) jjx@LENOVO-LAPTOP:~$ jjx@LENOVO-LAPTOP:~$ curl -ksLo /tmp/oneweb-tle.txt https://celestrak.org/NORAD/elements/gp.php?GROUP=oneweb&FORMAT=tle jjx@LENOVO-LAPTOP:~$ sed -i 's/ONEWEB/OW/g' /tmp/oneweb-tle.txt jjx@LENOVO-LAPTOP:~$ flyby --add-tle-file=/tmp/oneweb-tle.txt Copy `/tmp/oneweb-tle.txt` to `/home/jjx/.local/share/flyby/tles/oneweb-tle.txt` (651 TLEs) jjx@LENOVO-LAPTOP:~$ jjx@LENOVO-LAPTOP:~$
============= End