Added more spacecrafts

This commit is contained in:
Agnes Heppich
2019-01-11 16:06:28 -05:00
parent 798631f375
commit f3f2264fc8
11 changed files with 373 additions and 2 deletions
@@ -26,11 +26,20 @@ local MomAsset = asset.require('scene/solarsystem/dsn/spacecrafts/mom/mom')
local NewHorizonsAsset = asset.require('scene/solarsystem/dsn/spacecrafts/newHorizons/newhorizons')
local OpportunityAsset = asset.require('scene/solarsystem/dsn/spacecrafts/opportunity/opportunity')
local OsirisRexAsset = asset.require('scene/solarsystem/dsn/spacecrafts/osirisrex/osirisrex')
local ParkerSolarProbeAsset = asset.require('scene/solarsystem/dsn/spacecrafts/parkersolarprobe/parkersolarprobe')
local PlanetCAsset = asset.require('scene/solarsystem/dsn/spacecrafts/planetc/planetc')
local SohoAsset = asset.require('scene/solarsystem/dsn/spacecrafts/soho/soho')
local SpitzerAsset = asset.require('scene/solarsystem/dsn/spacecrafts/spitzer/spitzer')
local StereoAAsset = asset.require('scene/solarsystem/dsn/spacecrafts/stereoa/stereoa')
local StereoBAsset = asset.require('scene/solarsystem/dsn/spacecrafts/stereob/stereob')
local RosettaAsset = asset.require('scene/solarsystem/dsn/spacecrafts/rosetta/rosetta')
local TD10Asset = asset.require('scene/solarsystem/dsn/spacecrafts/td10/td10')
local TD12Asset = asset.require('scene/solarsystem/dsn/spacecrafts/td12/td12')
local TD13Asset = asset.require('scene/solarsystem/dsn/spacecrafts/td13/td13')
local TDR3Asset = asset.require('scene/solarsystem/dsn/spacecrafts/tdr3/tdr3')
local TDR5Asset = asset.require('scene/solarsystem/dsn/spacecrafts/tdr5/tdr5')
local TDR7Asset = asset.require('scene/solarsystem/dsn/spacecrafts/tdr7/tdr7')
local TDR9Asset = asset.require('scene/solarsystem/dsn/spacecrafts/tdr9/tdr9')
local TessAsset = asset.require('scene/solarsystem/dsn/spacecrafts/transitexoplanetsurvey/transitexoplanetsurvey')
local ThemisBAsset = asset.require('scene/solarsystem/dsn/spacecrafts/themisb/themisb')
local ThemisCAsset = asset.require('scene/solarsystem/dsn/spacecrafts/themisc/themisc')
@@ -65,9 +74,18 @@ local signalDataIdMap = {
ORX = OsirisRexAsset.spacecraftID,
PLC = PlanetCAsset.spacecraftID,
SOHO = SohoAsset.spacecraftID,
SPP = ParkerSolarProbeAsset.spacecraftID,
STF = SpitzerAsset.spacecraftID,
STA = StereoAAsset.spacecraftID,
STB = StereoBAsset.spacecraftID,
ROSE = RosettaAsset.spacecraftID,
TD10 = TD10Asset.spacecraftID,
TD12 = TD12Asset.spacecraftID,
TD13 = TD13Asset.spacecraftID,
TDR3 = TDR3Asset.spacecraftID,
TDR5 = TDR5Asset.spacecraftID,
TDR7 = TDR7Asset.spacecraftID,
TDR9 = TDR9Asset.spacecraftID,
TESS = TessAsset.spacecraftID,
THB = ThemisBAsset.spacecraftID,
THC = ThemisCAsset.spacecraftID,
@@ -100,11 +118,20 @@ asset.export("MomAsset", MomAsset)
asset.export("NewHorizonsAsset", NewHorizonsAsset)
asset.export("OpportunityAsset", OpportunityAsset)
asset.export("OsirisRexAsset", OsirisRexAsset)
asset.export("ParkerSolarProbeAsset", ParkerSolarProbeAsset)
asset.export("PlanetCAsset", PlanetCAsset)
asset.export("SohoAsset", SohoAsset)
asset.export("SpitzerAsset", SpitzerAsset)
asset.export("StereoAAsset", StereoAAsset)
asset.export("StereoBAsset", StereoBAsset)
asset.export("RosettaAsset", RosettaAsset)
asset.export("TD10Asset", TD10Asset)
asset.export("TD12Asset", TD12Asset)
asset.export("TD13Asset", TD13Asset)
asset.export("TDR3Asset", TDR3Asset)
asset.export("TDR5Asset", TDR5Asset)
asset.export("TDR7Asset", TDR7Asset)
asset.export("TDR9Asset", TDR9Asset)
asset.export("TessAsset", TessAsset)
asset.export("ThemisBAsset", ThemisBAsset)
asset.export("ThemisCAsset", ThemisCAsset)
@@ -0,0 +1,29 @@
local assetHelper = asset.require('util/asset_helper')
local dataFolder = openspace.absPath("${SYNC}/http/dsn_data/1/positioning/SPP")
local models = asset.syncedResource({
Name = "Dsn models",
Type = "HttpSynchronization",
Identifier = "dsn_stations",
Version = 1
})
local spacecraftID = "ParkerSolarProbe";
local ParkerSolarProbe = {
Identifier = spacecraftID,
Transform = {
Translation = {
Type = "RadecTranslation",
DataFolder = dataFolder,
DataFileType = "json",
ObjectIdentifier = spacecraftID
}
},
GUI = {
Name = "ParkerSolarProbe",
Path = "/Solar System/Missions/ParkerSolarProbe"
}
}
asset.export("spacecraftID", spacecraftID)
assetHelper.registerSceneGraphNodesAndExport(asset, {ParkerSolarProbe})
@@ -0,0 +1,29 @@
local assetHelper = asset.require('util/asset_helper')
local dataFolder = openspace.absPath("${SYNC}/http/dsn_data/1/positioning/ROSE")
local models = asset.syncedResource({
Name = "Dsn models",
Type = "HttpSynchronization",
Identifier = "dsn_stations",
Version = 1
})
local spacecraftID = "Rosetta";
local Rosetta = {
Identifier = spacecraftID,
Transform = {
Translation = {
Type = "RadecTranslation",
DataFolder = dataFolder,
DataFileType = "json",
ObjectIdentifier = spacecraftID
}
},
GUI = {
Name = "Rosetta",
Path = "/Solar System/Missions/Rosetta"
}
}
asset.export("spacecraftID", spacecraftID)
assetHelper.registerSceneGraphNodesAndExport(asset, {Rosetta})
@@ -0,0 +1,29 @@
local assetHelper = asset.require('util/asset_helper')
local dataFolder = openspace.absPath("${SYNC}/http/dsn_data/1/positioning/TD10")
local models = asset.syncedResource({
Name = "Dsn models",
Type = "HttpSynchronization",
Identifier = "dsn_stations",
Version = 1
})
local spacecraftID = "TD10";
local TD10 = {
Identifier = spacecraftID,
Transform = {
Translation = {
Type = "RadecTranslation",
DataFolder = dataFolder,
DataFileType = "json",
ObjectIdentifier = spacecraftID
}
},
GUI = {
Name = "TD10",
Path = "/Solar System/Missions/TD10"
}
}
asset.export("spacecraftID", spacecraftID)
assetHelper.registerSceneGraphNodesAndExport(asset, {TD10})
@@ -0,0 +1,29 @@
local assetHelper = asset.require('util/asset_helper')
local dataFolder = openspace.absPath("${SYNC}/http/dsn_data/1/positioning/TD12")
local models = asset.syncedResource({
Name = "Dsn models",
Type = "HttpSynchronization",
Identifier = "dsn_stations",
Version = 1
})
local spacecraftID = "TD12";
local TD12 = {
Identifier = spacecraftID,
Transform = {
Translation = {
Type = "RadecTranslation",
DataFolder = dataFolder,
DataFileType = "json",
ObjectIdentifier = spacecraftID
}
},
GUI = {
Name = "TD12",
Path = "/Solar System/Missions/TD12"
}
}
asset.export("spacecraftID", spacecraftID)
assetHelper.registerSceneGraphNodesAndExport(asset, {TD12})
@@ -0,0 +1,29 @@
local assetHelper = asset.require('util/asset_helper')
local dataFolder = openspace.absPath("${SYNC}/http/dsn_data/1/positioning/TD13")
local models = asset.syncedResource({
Name = "Dsn models",
Type = "HttpSynchronization",
Identifier = "dsn_stations",
Version = 1
})
local spacecraftID = "TD13";
local TD13 = {
Identifier = spacecraftID,
Transform = {
Translation = {
Type = "RadecTranslation",
DataFolder = dataFolder,
DataFileType = "json",
ObjectIdentifier = spacecraftID
}
},
GUI = {
Name = "TD13",
Path = "/Solar System/Missions/TD13"
}
}
asset.export("spacecraftID", spacecraftID)
assetHelper.registerSceneGraphNodesAndExport(asset, {TD13})
@@ -0,0 +1,29 @@
local assetHelper = asset.require('util/asset_helper')
local dataFolder = openspace.absPath("${SYNC}/http/dsn_data/1/positioning/TDR3")
local models = asset.syncedResource({
Name = "Dsn models",
Type = "HttpSynchronization",
Identifier = "dsn_stations",
Version = 1
})
local spacecraftID = "TDR3";
local TDR3 = {
Identifier = spacecraftID,
Transform = {
Translation = {
Type = "RadecTranslation",
DataFolder = dataFolder,
DataFileType = "json",
ObjectIdentifier = spacecraftID
}
},
GUI = {
Name = "TDR3",
Path = "/Solar System/Missions/TDR3"
}
}
asset.export("spacecraftID", spacecraftID)
assetHelper.registerSceneGraphNodesAndExport(asset, {TDR3})
@@ -0,0 +1,29 @@
local assetHelper = asset.require('util/asset_helper')
local dataFolder = openspace.absPath("${SYNC}/http/dsn_data/1/positioning/TDR5")
local models = asset.syncedResource({
Name = "Dsn models",
Type = "HttpSynchronization",
Identifier = "dsn_stations",
Version = 1
})
local spacecraftID = "TDR5";
local TDR5 = {
Identifier = spacecraftID,
Transform = {
Translation = {
Type = "RadecTranslation",
DataFolder = dataFolder,
DataFileType = "json",
ObjectIdentifier = spacecraftID
}
},
GUI = {
Name = "TDR5",
Path = "/Solar System/Missions/TDR5"
}
}
asset.export("spacecraftID", spacecraftID)
assetHelper.registerSceneGraphNodesAndExport(asset, {TDR5})
@@ -0,0 +1,29 @@
local assetHelper = asset.require('util/asset_helper')
local dataFolder = openspace.absPath("${SYNC}/http/dsn_data/1/positioning/TDR7")
local models = asset.syncedResource({
Name = "Dsn models",
Type = "HttpSynchronization",
Identifier = "dsn_stations",
Version = 1
})
local spacecraftID = "TDR7";
local TDR7 = {
Identifier = spacecraftID,
Transform = {
Translation = {
Type = "RadecTranslation",
DataFolder = dataFolder,
DataFileType = "json",
ObjectIdentifier = spacecraftID
}
},
GUI = {
Name = "TDR7",
Path = "/Solar System/Missions/TDR7"
}
}
asset.export("spacecraftID", spacecraftID)
assetHelper.registerSceneGraphNodesAndExport(asset, {TDR7})
@@ -0,0 +1,29 @@
local assetHelper = asset.require('util/asset_helper')
local dataFolder = openspace.absPath("${SYNC}/http/dsn_data/1/positioning/TDR9")
local models = asset.syncedResource({
Name = "Dsn models",
Type = "HttpSynchronization",
Identifier = "dsn_stations",
Version = 1
})
local spacecraftID = "TDR9";
local TDR9 = {
Identifier = spacecraftID,
Transform = {
Translation = {
Type = "RadecTranslation",
DataFolder = dataFolder,
DataFileType = "json",
ObjectIdentifier = spacecraftID
}
},
GUI = {
Name = "TDR9",
Path = "/Solar System/Missions/TDR9"
}
}
asset.export("spacecraftID", spacecraftID)
assetHelper.registerSceneGraphNodesAndExport(asset, {TDR9})
@@ -133,6 +133,14 @@ local OsirisRexLabel = {
},
ObjectIdentifier = spacecrafts.OsirisRexAsset.spacecraftID
}
local ParkerSolarProbeLabel = {
LabelText = ".Parker Solar Probe",
TimeFrame = {
Start = "2018-224T08:00:00",
End = "2018-365T07:00:00"
},
ObjectIdentifier = spacecrafts.ParkerSolarProbeAsset.spacecraftID
}
local PlanetCLabel = {
LabelText = ".Planet C",
TimeFrame = {
@@ -161,6 +169,70 @@ local StereoBLabel = {
},
ObjectIdentifier = spacecrafts.StereoBAsset.spacecraftID
}
local RosettaLabel = {
LabelText = ".Rosetta",
TimeFrame = {
Start = "2014-020T14:00:00",
End = "2016-275T21:00:00"
},
ObjectIdentifier = spacecrafts.RosettaAsset.spacecraftID
}
local TD10Label = {
LabelText = ".TD10",
TimeFrame = {
Start = "2016-222T16:00:00",
End = "2016-231T21:00:00"
},
ObjectIdentifier = spacecrafts.TD10Asset.spacecraftID
}
local TD12Label = {
LabelText = ".TD12",
TimeFrame = {
Start = "2017-230T13:00:00",
End = "2018-182T08:00:00"
},
ObjectIdentifier = spacecrafts.TD12Asset.spacecraftID
}
local TD13Label = {
LabelText = ".TD13",
TimeFrame = {
Start = "2014-020T14:00:00",
End = "2016-275T21:00:00"
},
ObjectIdentifier = spacecrafts.TD13Asset.spacecraftID
}
local TDR3Label = {
LabelText = ".TDR3",
TimeFrame = {
Start = "2014-028T18:00:00",
End = "2018-179T19:00:00"
},
ObjectIdentifier = spacecrafts.TDR3Asset.spacecraftID
}
local TDR5Label = {
LabelText = ".TDR5",
TimeFrame = {
Start = "2017-243T20:00:00",
End = "2018-036T09:00:00"
},
ObjectIdentifier = spacecrafts.TDR5Asset.spacecraftID
}
local TDR7Label = {
LabelText = ".TDR7",
TimeFrame = {
Start = "2017-075T19:00:00",
End = "2017-103T17:00:00"
},
ObjectIdentifier = spacecrafts.TDR7Asset.spacecraftID
}
local TDR9Label = {
LabelText = ".TDR9",
TimeFrame = {
Start = "2015-078T19:00:00",
End = "2017-311T20:00:00"
},
ObjectIdentifier = spacecrafts.TDR9Asset.spacecraftID
}
--Transit exoplanet Survey Satellite
local TessLabel = {
LabelText = ".TESS",
@@ -244,7 +316,10 @@ local labelMapInnerSpace = {
label13 = MarCOBLabel,
label14 = InSightLabel,
label15 = OsirisRexLabel,
label16 = PlanetCLabel
label16 = PlanetCLabel,
label17 = RosettaLabel,
label18 = ParkerSolarProbeLabel
}
@@ -257,7 +332,15 @@ local labelMapNearEarth = {
label6 = SohoLabel,
label7 = IceLabel,
label8 = TessLabel,
label9 = GeotailLabel
label9 = GeotailLabel,
label10 = TD10Label,
label11 = TD12Label,
label12 = TD13Label,
label13 = TDR3Label,
label14 = TDR5Label,
label15 = TDR7Label,
label16 = TDR9Label
}
local labelMapClusters = {
Label1 = MarsClusterLabel