adding lro asset

This commit is contained in:
Lovisa Hassler
2019-01-28 17:00:53 -05:00
parent b0a90b09d7
commit b4d6534f7f
3 changed files with 36 additions and 5 deletions
@@ -27,6 +27,7 @@ local JunoAsset = asset.require('scene/solarsystem/dsn/spacecrafts/juno/juno')
local JwstAsset = asset.require('scene/solarsystem/dsn/spacecrafts/jwst/jwst')
local KeplerAsset = asset.require('scene/solarsystem/dsn/spacecrafts/kepler/kepler')
local LadeAsset = asset.require('scene/solarsystem/dsn/spacecrafts/lade/lade')
local LroAsset = asset.require('scene/solarsystem/dsn/spacecrafts/lro/lro')
local MarCOAAsset = asset.require('scene/solarsystem/dsn/spacecrafts/marcoa/marcoa')
local MarCOBAsset = asset.require('scene/solarsystem/dsn/spacecrafts/marcob/marcob')
local MarsRecOrbAsset = asset.require('scene/solarsystem/dsn/spacecrafts/mro/mro')
@@ -93,6 +94,7 @@ local signalDataIdMap = {
JWST = JwstAsset.spacecraftID,
KEPL = KeplerAsset.spacecraftID,
LADE = LadeAsset.spacecraftID,
LRO = LroAsset.spacecraftID,
M010 = MarsOdysseyAsset.spacecraftID,
MCOA = MarCOAAsset.spacecraftID,
MCOB = MarCOBAsset.spacecraftID,
@@ -164,6 +166,7 @@ asset.export("JunoAsset", JunoAsset)
asset.export("JwstAsset", JwstAsset)
asset.export("KeplerAsset", KeplerAsset)
asset.export("LadeAsset", LadeAsset)
asset.export("LroAsset", LroAsset)
asset.export("MarCOAAsset", MarCOAAsset)
asset.export("MarCOBAsset", MarCOBAsset)
asset.export("MarsRecOrbAsset", MarsRecOrbAsset)
@@ -0,0 +1,25 @@
-- Mars Cube One A
local assetHelper = asset.require('util/asset_helper')
local dataFolder = openspace.absPath("${SYNC}/http/dsn_data/1/positioning/LRO")
local spacecraftID = "LRO";
local Lro = {
Identifier = spacecraftID,
Transform = {
Translation = {
Type = "RadecTranslation",
DataFolder = dataFolder,
DataFileType = "json",
ObjectIdentifier = spacecraftID
}
},
GUI = {
Name = "LRO",
Path = "/Solar System/Missions/LRO"
}
}
asset.export("spacecraftID", spacecraftID)
assetHelper.registerSceneGraphNodesAndExport(asset, {Lro})
@@ -92,6 +92,10 @@ local LadeLabel = {
LabelText = ".LADE",
ObjectIdentifier = spacecrafts.LadeAsset.spacecraftID
}
local LroLabel = {
LabelText = ".LRO",
ObjectIdentifier = spacecrafts.LroAsset.spacecraftID
}
local MarCOALabel = {
LabelText = ".MarCO A",
ObjectIdentifier = spacecrafts.MarCOAAsset.spacecraftID
@@ -318,8 +322,7 @@ local labelMapInnerSpace = {
label19 = VenusExpressLabel,
label20 = PRCNCLabel,
label21 = BepiLabel,
label22 = SpilLabel,
label23 = UlyssesLabel
label22 = UlyssesLabel
}
@@ -355,9 +358,9 @@ local labelMapNearEarth = {
label29 = AceLabel,
label30 = Ch2oLabel,
label31 = JwstLabel,
label32 = LadeLabel
label32 = LadeLabel,
label33 = SpilLabel,
label34 = LroLabel
}
local labelMapClusters = {
Label1 = MarsClusterLabel,