more spacecrafts...

This commit is contained in:
Agnes Heppich
2019-01-11 16:49:24 -05:00
parent f3f2264fc8
commit 4be4d403a0
6 changed files with 130 additions and 7 deletions

View File

@@ -14,6 +14,7 @@ local GenesisAsset = asset.require('scene/solarsystem/dsn/spacecrafts/genesis/ge
local GeotailAsset = asset.require('scene/solarsystem/dsn/spacecrafts/geotail/geotail')
local Hayabusa2Asset = asset.require('scene/solarsystem/dsn/spacecrafts/hayabusa2/hayabusa2')
local IceAsset = asset.require('scene/solarsystem/dsn/spacecrafts/ice/ice')
local ImageAsset = asset.require('scene/solarsystem/dsn/spacecrafts/image/image')
local InSightAsset = asset.require('scene/solarsystem/dsn/spacecrafts/insight/insight')
local JunoAsset = asset.require('scene/solarsystem/dsn/spacecrafts/juno/juno')
local KeplerAsset = asset.require('scene/solarsystem/dsn/spacecrafts/kepler/kepler')
@@ -44,7 +45,9 @@ local TessAsset = asset.require('scene/solarsystem/dsn/spacecrafts/transitexopla
local ThemisBAsset = asset.require('scene/solarsystem/dsn/spacecrafts/themisb/themisb')
local ThemisCAsset = asset.require('scene/solarsystem/dsn/spacecrafts/themisc/themisc')
local TraceGasOrbiterAsset = asset.require('scene/solarsystem/dsn/spacecrafts/tracegasorbiter/tracegasorbiter')
local VenusExpressAsset = asset.require('scene/solarsystem/dsn/spacecrafts/venusexpress/venusexpress')
local WindAsset = asset.require('scene/solarsystem/dsn/spacecrafts/wind/wind')
local XRayAsset = asset.require('scene/solarsystem/dsn/spacecrafts/xray/xray')
-------------------------------------------------------------------
----- The map is used to keep the SceneGraphNode identifiers -----
@@ -57,6 +60,7 @@ local signalDataIdMap = {
GTL = GeotailAsset.spacecraftID,
HYB2 = Hayabusa2Asset.spacecraftID,
ICE = IceAsset.spacecraftID,
IMAG = ImageAsset.spacecraftID,
CHDR = ChandraAsset.spacecraftID,
DAWN = DawnAsset.spacecraftID,
JNO = JunoAsset.spacecraftID,
@@ -90,9 +94,12 @@ local signalDataIdMap = {
THB = ThemisBAsset.spacecraftID,
THC = ThemisCAsset.spacecraftID,
TGO = TraceGasOrbiterAsset.spacecraftID,
VEX = VenusExpressAsset.spacecraftID,
VGR1 = Voyager1Asset.spacecraftID,
VGR2 = Voyager2Asset.spacecraftID,
WIND = WindAsset.spacecraftID
WIND = WindAsset.spacecraftID,
XMM = XRayAsset.spacecraftID
}
@@ -106,6 +113,7 @@ asset.export("GenesisAsset", GenesisAsset)
asset.export("GeotailAsset", GeotailAsset)
asset.export("Hayabusa2Asset", Hayabusa2Asset)
asset.export("IceAsset", IceAsset)
asset.export("ImageAsset", ImageAsset)
asset.export("InSightAsset", InSightAsset)
asset.export("JunoAsset", JunoAsset)
asset.export("KeplerAsset", KeplerAsset)
@@ -136,8 +144,11 @@ asset.export("TessAsset", TessAsset)
asset.export("ThemisBAsset", ThemisBAsset)
asset.export("ThemisCAsset", ThemisCAsset)
asset.export("TraceGasOrbiterAsset", TraceGasOrbiterAsset)
asset.export("VenusExpressAsset", VenusExpressAsset)
asset.export("Voyager1Asset", Voyager1Asset)
asset.export("Voyager2Asset", Voyager2Asset)
asset.export("WindAsset", WindAsset)
asset.export("XRayAsset", XRayAsset)

View File

@@ -0,0 +1,29 @@
local assetHelper = asset.require('util/asset_helper')
local dataFolder = openspace.absPath("${SYNC}/http/dsn_data/1/positioning/IMAG")
local models = asset.syncedResource({
Name = "Dsn models",
Type = "HttpSynchronization",
Identifier = "dsn_stations",
Version = 1
})
local spacecraftID = "Image";
local Image = {
Identifier = spacecraftID,
Transform = {
Translation = {
Type = "RadecTranslation",
DataFolder = dataFolder,
DataFileType = "json",
ObjectIdentifier = spacecraftID
}
},
GUI = {
Name = "Image",
Path = "/Solar System/Missions/Image"
}
}
asset.export("spacecraftID", spacecraftID)
assetHelper.registerSceneGraphNodesAndExport(asset, {Image})

View File

@@ -21,7 +21,7 @@ local ParkerSolarProbe = {
},
GUI = {
Name = "ParkerSolarProbe",
Name = "Parker Solar Probe",
Path = "/Solar System/Missions/ParkerSolarProbe"
}
}

View File

@@ -0,0 +1,29 @@
local assetHelper = asset.require('util/asset_helper')
local dataFolder = openspace.absPath("${SYNC}/http/dsn_data/1/positioning/VEX")
local models = asset.syncedResource({
Name = "Dsn models",
Type = "HttpSynchronization",
Identifier = "dsn_stations",
Version = 1
})
local spacecraftID = "VenusExpress";
local VenusExpress = {
Identifier = spacecraftID,
Transform = {
Translation = {
Type = "RadecTranslation",
DataFolder = dataFolder,
DataFileType = "json",
ObjectIdentifier = spacecraftID
}
},
GUI = {
Name = "Venus Express",
Path = "/Solar System/Missions/VenusExpress"
}
}
asset.export("spacecraftID", spacecraftID)
assetHelper.registerSceneGraphNodesAndExport(asset, {VenusExpress})

View File

@@ -0,0 +1,29 @@
local assetHelper = asset.require('util/asset_helper')
local dataFolder = openspace.absPath("${SYNC}/http/dsn_data/1/positioning/XMM")
local models = asset.syncedResource({
Name = "Dsn models",
Type = "HttpSynchronization",
Identifier = "dsn_stations",
Version = 1
})
local spacecraftID = "XRay";
local XRay = {
Identifier = spacecraftID,
Transform = {
Translation = {
Type = "RadecTranslation",
DataFolder = dataFolder,
DataFileType = "json",
ObjectIdentifier = spacecraftID
}
},
GUI = {
Name = "XRay",
Path = "/Solar System/Missions/XRay"
}
}
asset.export("spacecraftID", spacecraftID)
assetHelper.registerSceneGraphNodesAndExport(asset, {XRay})

View File

@@ -65,6 +65,14 @@ local IceLabel = {
},
ObjectIdentifier = spacecrafts.IceAsset.spacecraftID
}
local ImageLabel = {
LabelText = ".Image",
TimeFrame = {
Start = "2018-039T06:00:00",
End = "2018-041T01:00:00"
},
ObjectIdentifier = spacecrafts.ImageAsset.spacecraftID
}
local InSightLabel = {
LabelText = ".InSight",
TimeFrame = {
@@ -258,6 +266,14 @@ local TraceGasOrbiterLabel = {
},
ObjectIdentifier = spacecrafts.TraceGasOrbiterAsset.spacecraftID
}
local VenusExpressLabel = {
LabelText = ".Venus Express",
TimeFrame = {
Start = "2014-020T05:00:00",
End = "2014-344T22:00:00"
},
ObjectIdentifier = spacecrafts.VenusExpressAsset.spacecraftID
}
local Voyager1Label = {
LabelText = ".Voyager 1",
ObjectIdentifier = spacecrafts.Voyager1Asset.spacecraftID
@@ -270,7 +286,14 @@ local WindLabel = {
LabelText = ".Wind",
ObjectIdentifier = spacecrafts.WindAsset.spacecraftID
}
local XRayLabel = {
LabelText = ".X-Ray",
TimeFrame = {
Start = "2014-032T15:00:00",
End = "2017-323T02:00:00"
},
ObjectIdentifier = spacecrafts.XRayAsset.spacecraftID
}
--------------------------------------------------
----------------- Cluster Labels ----------------
@@ -318,9 +341,8 @@ local labelMapInnerSpace = {
label15 = OsirisRexLabel,
label16 = PlanetCLabel,
label17 = RosettaLabel,
label18 = ParkerSolarProbeLabel
label18 = ParkerSolarProbeLabel,
label19 = VenusExpressLabel
}
local labelMapNearEarth = {
@@ -339,7 +361,10 @@ local labelMapNearEarth = {
label13 = TDR3Label,
label14 = TDR5Label,
label15 = TDR7Label,
label16 = TDR9Label
label16 = TDR9Label,
label17 = XRayLabel,
label18 = ImageLabel
}
local labelMapClusters = {