summaryrefslogtreecommitdiff
path: root/tools/mmd/predictlib.js
diff options
context:
space:
mode:
authorJogi Hofmüller <jogi@mur.at>2011-08-23 20:00:22 +0000
committerJogi Hofmüller <jogi@mur.at>2011-08-23 20:00:22 +0000
commit72ff40dbb259fb47c60977d21071ec23c8ad4cb9 (patch)
tree18d1574af87ec218527160032dcc35ed4a726efa /tools/mmd/predictlib.js
parentCRX reset settings (diff)
- included satellite name into tracker telemetry table
git-svn-id: https://svn.spreadspace.org/mur.sat@149 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'tools/mmd/predictlib.js')
-rw-r--r--tools/mmd/predictlib.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/mmd/predictlib.js b/tools/mmd/predictlib.js
index 574bd3f..a814fef 100644
--- a/tools/mmd/predictlib.js
+++ b/tools/mmd/predictlib.js
@@ -59,7 +59,7 @@ var PLib =
{
this.line1 = "";
this.line2 = "";
- this.name = "";
+ this.satname = "";
this.catnum = 0;
this.setnum = 0;
this.designator = "";
@@ -1735,6 +1735,7 @@ var PLib =
satInfo.orbitalPhase = PLib.ma256;
satInfo.latitude = PLib.isplat;
satInfo.altitude = Math.round (PLib.sat_alt);
+ satInfo.satname = PLib.sat.name;
var lng = 360 - PLib.isplong;
if (lng > 180)
@@ -1817,7 +1818,7 @@ var PLib =
var satInfo = new Object();
satInfo.number = z + 1;
- satInfo.name = PLib.sat.name;
+ satInfo.satname = PLib.sat.name;
satInfo.passNo = passNo++;
satInfo.dateTimeStart = PLib.Daynum2Date(PLib.daynum);
satInfo.peakElevation = PLib.iel;