Files
OpenSpace/data/profiles/mars.profile
2020-09-21 10:47:34 +02:00

58 lines
1.5 KiB
Plaintext

#Version
1.0
#Asset
util/scene_helper sceneHelper
base
scene/solarsystem/missions/perseverance/perseverance
scene/solarsystem/missions/perseverance/shortcuts perseveranceShortcuts
scene/solarsystem/missions/insight/edl insightAsset
scene/solarsystem/missions/insight/shortcuts insightShortcuts
#Camera
goToGeo "Mars" 58.5877 16.1924 8000000
#MarkNodes
Mars
Insight
Perseverance
#DeltaTimes
1
2
5
10
30
60
120
300
600
1800
3600
7200
10800
21600
43200
86400
172800
345600
604800
1209600
2592000
5184000
7776000
15552000
31536000
63072000
157680000
315360000
630720000
1576800000
#AdditionalScripts
local insightEDLShortcuts = sceneHelper.extractShortcuts({"Insight Height Offset", "Enable HiRISE", "Insight EDL Time", "Insight EDL NavigationState"}, insightShortcuts.Shortcuts)
local insightDisableShortcuts = sceneHelper.extractShortcuts({"Default Height Offset", "Disable HiRISE"}, insightShortcuts.Shortcuts)
local PerseverenceLandedShortcuts = sceneHelper.extractShortcuts({"Perseverance Height Offset", "Perseverance landed time", "Enable HiRISE"}, perseveranceShortcuts.Shortcuts)
local Keybindings = { sceneHelper.createKeyBindFromShortcuts("i", insightEDLShortcuts, "/Missions/Insight", "Set and goto Insight Landing", "Setup scene for insight EDL" ), sceneHelper.createKeyBindFromShortcuts("SHIFT+i", insightDisableShortcuts, "/Missions/Insight", "Unset Insight Landing", "Disable Mars layer settings used for insight EDL" ), sceneHelper.createKeyBindFromShortcuts("p", PerseverenceLandedShortcuts, "/Missions/Perseverance" )}
sceneHelper.bindKeys(Keybindings)