local Spacing = {
  Type = "DashboardItemSpacing",
  Identifier = "OsirisRexSpacing",
  GuiName = "OSIRIS-REx Spacing",
  Spacing = 25
}

local Distance = {
  Type = "DashboardItemDistance",
  Identifier = "OsirisRexBennuDistance",
  GuiName = "OSIRIS-REx Bennu Distance",
  SourceType = "Node",
  SourceNodeName = "OsirisRex",
  DestinationType = "Node",
  DestinationNodeName = "BennuBarycenter"
}

local Instruments = {
  Type = "DashboardItemInstruments",
  Identifier = "OsirisRexInstruments",
  GuiName = "OSIRIS-REx Instruments"
}


asset.onInitialize(function()
  openspace.dashboard.addDashboardItem(Spacing)
  openspace.dashboard.addDashboardItem(Distance)
  openspace.dashboard.addDashboardItem(Instruments)
end)

asset.onDeinitialize(function()
  openspace.dashboard.removeDashboardItem(Instruments)
  openspace.dashboard.removeDashboardItem(Distance)
  openspace.dashboard.removeDashboardItem(Spacing)
end)
