Commit bf30275a authored by Christopher Reis's avatar Christopher Reis

Added dictionary to gmsec_ubuntu

parent df50bc1b
...@@ -14,7 +14,7 @@ gm_kerbal_adaptor: ...@@ -14,7 +14,7 @@ gm_kerbal_adaptor:
- LD_LIBRARY_PATH=/GMSEC_API/bin - LD_LIBRARY_PATH=/GMSEC_API/bin
links: links:
- gmbolt - gmbolt
command: ["/GMSEC_API/bin/gm_kerbal_adaptor","server=gmbolt:9100","connectiontype=gmsec_bolt","loglevel=NONE"] command: ["/GMSEC_API/bin/gm_kerbal_adaptor","server=gmbolt:9100","connectiontype=gmsec_bolt","loglevel=INFO","KERBAL_URL=192.168.0.58"]
gm_kerbal_tlm_provider: gm_kerbal_tlm_provider:
restart: always restart: always
...@@ -36,7 +36,7 @@ gmsub: ...@@ -36,7 +36,7 @@ gmsub:
- LD_LIBRARY_PATH=/GMSEC_API/bin - LD_LIBRARY_PATH=/GMSEC_API/bin
links: links:
- gmbolt - gmbolt
command: ["/GMSEC_API/bin/gmsub","server=gmbolt:9100","connectiontype=gmsec_bolt","loglevel=NONE"] command: ["/GMSEC_API/bin/gmsub","server=gmbolt:9100","connectiontype=gmsec_bolt","loglevel=INFO"]
couchdb: couchdb:
restart: always restart: always
...@@ -70,13 +70,12 @@ openmct: ...@@ -70,13 +70,12 @@ openmct:
# - "61616:61616" # - "61616:61616"
# - "61613:61613" # - "61613:61613"
# gmpub: gmpub:
# restart: always restart: always
# build: ./gmsec_pub build: ./gmsec_pub
# environment: environment:
# - LD_LIBRARY_PATH=/GMSEC_API/bin - LD_LIBRARY_PATH=/GMSEC_API/bin
# links: links:
# - gmbolt - gmbolt
# - rabbitmq #command: ["bash","/code/delay.sh"]
# command: ["bash","/code/delay.sh"] command: ["/GMSEC_API/bin/gmpub","server=gmbolt:9100","iterations=100","connectiontype=gmsec_bolt","interval_ms=5000","loglevel=NONE"]
# #command: ["/GMSEC_API/bin/gmpub","server=gmbolt:5000","iterations=2","connectiontype=gmsec_bolt","interval_ms=500"]
# Pull base image. # Pull base image.
FROM ubuntu:latest FROM ubuntu:16.10
MAINTAINER Christopher Reis "chrisreis53@gmail.com" MAINTAINER Christopher Reis "chrisreis53@gmail.com"
RUN apt update RUN apt update
RUN apt install -y libboost-all-dev libcurl4-openssl-dev RUN apt install -y libboost-all-dev libcurl4-openssl-dev
WORKDIR /code
ADD ./dictionary_adaptor.json ./dictionary_adaptor.json
ADD ./dictionary.json ./dictionary.json
ENV LD_LIBRARY_PATH /GMSEC_API/bin ENV LD_LIBRARY_PATH /GMSEC_API/bin
{
"name": "Example Spacecraft",
"identifier": "sc",
"subsystems": [
{
"name": "Vehicle",
"identifier": "v",
"measurements": [
{
"name": "Altitude",
"identifier": "v.altitude",
"units": "meters",
"type": "float"
},
{
"name": "Height From Terrain",
"identifier": "v.heightFromTerrain",
"units": "meters",
"type": "float"
},
{
"name": "Terrain Height",
"identifier": "v.terrainHeight",
"units": "meters",
"type": "float"
},
{
"name": "Mission Time",
"identifier": "v.missionTime",
"units": "seconds",
"type": "float"
},
{
"name": "Surface Velocity",
"identifier": "v.surfaceVelocity",
"units": "m/s",
"type": "float"
},
{
"name": "Surface Velocity X",
"identifier": "v.surfaceVelocityx",
"units": "m/s",
"type": "float"
},
{
"name": "Surface Velocity Y",
"identifier": "v.surfaceVelocityy",
"units": "m/s",
"type": "float"
},
{
"name": "Surface Velocity Z",
"identifier": "v.surfaceVelocityz",
"units": "m/s",
"type": "float"
},
{
"name": "Angular Velocity",
"identifier": "v.angularVelocity",
"units": "m/s",
"type": "float"
},
{
"name": "Orbital Velocity",
"identifier": "v.orbitalVelocity",
"units": "m/s",
"type": "float"
},
{
"name": "Surface Speed",
"identifier": "v.surfaceSpeed",
"units": "m/s",
"type": "float"
},
{
"name": "Vertical Speed",
"identifier": "v.verticalSpeed",
"units": "m/s",
"type": "float"
},
{
"name": "G-Force",
"identifier": "v.geeForce",
"units": "gravity",
"type": "float"
},
{
"name": "Atmospheric Density",
"identifier": "v.atmosphericDensity",
"units": "kPa",
"type": "float"
},
{
"name": "Longitude",
"identifier": "v.long",
"units": "degree",
"type": "float"
},
{
"name": "Latitude",
"identifier": "v.lat",
"units": "degree",
"type": "float"
},
{
"name": "Dynamic Pressure",
"identifier": "v.dynamicPressure",
"units": "kPa",
"type": "float"
},
{
"name": "Name",
"identifier": "v.name",
"units": "string",
"type": "string"
},
{
"name": "Angle to Prograde",
"identifier": "v.angleToPrograde",
"units": "degree",
"type": "float"
}
]
},
{
"name": "Orbit",
"identifier": "o",
"measurements": [
{
"name": "Relative Velocity",
"identifier": "o.relativeVelocity",
"units": "m/s",
"type": "float"
},
{
"name": "Periapsis",
"identifier": "o.PeA",
"units": "meters",
"type": "float"
},
{
"name": "Apoapsis",
"identifier": "o.ApA",
"units": "m/s",
"type": "float"
},
{
"name": "Time to Apoapsis",
"identifier": "o.timeToAp",
"units": "seconds",
"type": "float"
},
{
"name": "Time to Periapsis",
"identifier": "o.timeToPe",
"units": "seconds",
"type": "float"
},
{
"name": "Inclination",
"identifier": "o.inclination",
"units": "degrees",
"type": "float"
},
{
"name": "Eccentricity",
"identifier": "o.eccentricity",
"units": "none",
"type": "float"
},
{
"name": "Epoch",
"identifier": "o.epoch",
"units": "seconds",
"type": "float"
},
{
"name": "Period",
"identifier": "o.period",
"units": "none",
"type": "float"
},
{
"name": "Argument of Periapsis",
"identifier": "o.argumentOfPariapsis",
"units": "degree",
"type": "float"
},
{
"name": "Semimajor Axis",
"identifier": "o.sma",
"units": "degree",
"type": "float"
},
{
"name": "Longitude of Ascending Node",
"identifier": "o.lan",
"units": "degree",
"type": "float"
},
{
"name": "Mean Anomaly at Epoch",
"identifier": "o.maae",
"units": "none",
"type": "float"
},
{
"name": "Time of Periapsis Passage",
"identifier": "o.timeOfPariapsisPassage",
"units": "seconds",
"type": "float"
},
{
"name": "True Anomaly",
"identifier": "o.trueAnomaly",
"units": "none",
"type": "float"
}
]
},
{
"name": "Navigation",
"identifier": "n",
"measurements": [
{
"name": "Heading",
"identifier": "n.heading2",
"units": "degrees",
"type": "float"
},
{
"name": "Pitch",
"identifier": "n.pitch2",
"units": "degrees",
"type": "float"
},
{
"name": "Roll",
"identifier": "n.roll2",
"units": "degrees",
"type": "float"
},
{
"name": "Raw Heading",
"identifier": "n.rawheading2",
"units": "degrees",
"type": "float"
},
{
"name": "Raw Pitch",
"identifier": "n.rawpitch2",
"units": "degrees",
"type": "float"
},
{
"name": "Raw Roll",
"identifier": "n.rawroll2",
"units": "degrees",
"type": "float"
},
{
"name": "Root Heading",
"identifier": "n.heading",
"units": "degrees",
"type": "float"
},
{
"name": "Root Pitch",
"identifier": "n.pitch",
"units": "degrees",
"type": "float"
},
{
"name": "Root Roll",
"identifier": "n.roll",
"units": "degrees",
"type": "float"
},
{
"name": "Root Raw Heading",
"identifier": "n.rawheading",
"units": "degrees",
"type": "float"
},
{
"name": "Root Raw Pitch",
"identifier": "n.rawpitch",
"units": "degrees",
"type": "float"
},
{
"name": "Root Raw Roll",
"identifier": "n.rawroll",
"units": "degrees",
"type": "float"
}
]
},
{
"name": "Docking",
"identifier": "dock",
"measurements": [
{
"name": "Docking x Angle",
"identifier": "dock.ax",
"units": "degrees",
"type": "float"
},
{
"name": "Docking y Angle",
"identifier": "dock.ay",
"units": "degrees",
"type": "float"
},
{
"name": "Docking z Angle",
"identifier": "dock.az",
"units": "degrees",
"type": "float"
},
{
"name": "Docking x Distance",
"identifier": "dock.x",
"units": "meters",
"type": "float"
},
{
"name": "Docking y Distance",
"identifier": "dock.y",
"units": "meters",
"type": "float"
}
]
},
{
"name": "Power",
"identifier": "pwr",
"measurements": [
{
"name": "Generator Temperature",
"identifier": "pwr.temp",
"units": "\u0080C",
"type": "float"
},
{
"name": "Generator Current",
"identifier": "pwr.c",
"units": "A",
"type": "float"
},
{
"name": "Generator Voltage",
"identifier": "pwr.v",
"units": "V",
"type": "float"
}
]
},
{
"name": "System Information",
"identifier": "sys",
"measurements": [
{
"name": "System Uptime",
"identifier": "sys.uptime",
"units": "s",
"type": "float"
},
{
"name": "Processor Percent",
"identifier": "sys.proc_percent",
"units": "%",
"type": "float"
},
{
"name": "Memory Used",
"identifier": "sys.memused",
"units": "Kbytes",
"type": "float"
},
{
"name": "System Idle",
"identifier": "sys.idle",
"units": "%",
"type": "float"
},
{
"name": "Memory Free",
"identifier": "sys.memfree",
"units": "Kbytes",
"type": "float"
},
{
"name": "Memory Total",
"identifier": "sys.memtotal",
"units": "Kbytes",
"type": "float"
},
{
"name": "Memory Active",
"identifier": "sys.memactive",
"units": "Kbytes",
"type": "float"
},
{
"name": "Memory Available",
"identifier": "sys.memavailable",
"units": "Kbytes",
"type": "float"
},
{
"name": "Received Bytes",
"identifier": "sys.rxbytes",
"units": "Bytes",
"type": "float"
},
{
"name": "Received Packets",
"identifier": "sys.rxpackets",
"units": "Bytes",
"type": "float"
},
{
"name": "Transmitted Bytes",
"identifier": "sys.txbytes",
"units": "Bytes",
"type": "float"
},
{
"name": "Transmitted Packets",
"identifier": "sys.txpackets",
"units": "Bytes",
"type": "float"
}
]
}
]
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment