Commit c05116a1 authored by Christopher Reis's avatar Christopher Reis
parents 8f49c822 f8be1751
...@@ -31,7 +31,6 @@ gm_kerbal_tlm_provider: ...@@ -31,7 +31,6 @@ gm_kerbal_tlm_provider:
#command: ["/GMSEC_API/bin/gmpub","server=gmbolt:9100","iterations=200","connectiontype=gmsec_bolt","interval_ms=1000", "loglevel=NONE"] #command: ["/GMSEC_API/bin/gmpub","server=gmbolt:9100","iterations=200","connectiontype=gmsec_bolt","interval_ms=1000", "loglevel=NONE"]
command: ["/GMSEC_API/bin/gm_telemetry_server","server=gmbolt:9100","connectiontype=gmsec_bolt","loglevel=NONE"] command: ["/GMSEC_API/bin/gm_telemetry_server","server=gmbolt:9100","connectiontype=gmsec_bolt","loglevel=NONE"]
gmsub: gmsub:
restart: always restart: always
build: ./gmsec_sub build: ./gmsec_sub
......
...@@ -4,10 +4,6 @@ MAINTAINER Christopher Reis "chrisreis53@gmail.com" ...@@ -4,10 +4,6 @@ MAINTAINER Christopher Reis "chrisreis53@gmail.com"
RUN apt update RUN apt update
WORKDIR /code
ADD GMSEC_API-4.2/ /code
ENV LD_LIBRARY_PATH /code/bin
#CMD ["/GMSEC_API-4.2/bin/gmpub","server=gmbolt:9100","iterations=500","connectiontype=gmsec_bolt","interval_ms=500"] #CMD ["/GMSEC_API-4.2/bin/gmpub","server=gmbolt:9100","iterations=500","connectiontype=gmsec_bolt","interval_ms=500"]
CMD ["/code/bin/gm_system_data","server=gmbolt:9100","connectiontype=gmsec_bolt","iterations=50000","loglevel=none"] #CMD ["/code/bin/gm_system_data","server=gmbolt:9100","connectiontype=gmsec_bolt","iterations=50000","loglevel=none"]
CMD ["/GMSEC_API-4.2/bin/gm_system_data","server=gmbolt:9100","connectiontype=gmsec_bolt","iterations=50000","loglevel=none"]
# Pull base image. # Pull base image.
FROM chrisreis53/gmsec_node:1-sub_pub_only 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 RUN apt install -y libboost-system-dev cmake
WORKDIR /code ADD ./dictionary.json /dictionary.json
ADD GMSEC_API-4.2/ /code
ENV LD_LIBRARY_PATH /code/bin
#CMD ["/GMSEC_API-4.2/bin/gmpub","server=gmbolt:9100","iterations=500","connectiontype=gmsec_bolt","interval_ms=500"] #CMD ["/GMSEC_API-4.2/bin/gmpub","server=gmbolt:9100","iterations=500","connectiontype=gmsec_bolt","interval_ms=500"]
<<<<<<< HEAD
CMD ["/code/bin/gm_telemetry_server","server=gmbolt:9100","connectiontype=gmsec_bolt","loglevel=none"] CMD ["/code/bin/gm_telemetry_server","server=gmbolt:9100","connectiontype=gmsec_bolt","loglevel=none"]
=======
#CMD ["/code/bin/gm_telemetry_server","server=gmbolt:9100","connectiontype=gmsec_bolt"]
#CMD ["make","-C","/GMSEC_API-4.2/example/cpp/gm_telemetry_server","&&","/GMSEC_API-4.2/bin/gm_telemetry_server","server=gmbolt:9100","connectiontype=gmsec_bolt"]
CMD ["/GMSEC_API-4.2/bin/gm_telemetry_server","server=gmbolt:9100","connectiontype=gmsec_bolt"]
#CMD ["make","-C","/GMSEC_API-4.2/example/cpp/gm_telemetry_server"]
>>>>>>> f8be1751fc68ad4e1db065204dad158041be20fc
{
"name": "Example Spacecraft",
"identifier": "sc",
"subsystems": [
{
"name": "Propulsion",
"identifier": "prop",
"measurements": [
{
"name": "Fuel",
"identifier": "prop.fuel",
"units": "kilograms",
"type": "float"
},
{
"name": "Thrusters",
"identifier": "prop.thrusters",
"units": "None",
"type": "string"
}
]
},
{
"name": "Communications",
"identifier": "comms",
"measurements": [
{
"name": "Received",
"identifier": "comms.recd",
"units": "bytes",
"type": "integer"
},
{
"name": "Sent",
"identifier": "comms.sent",
"units": "bytes",
"type": "integer"
}
]
},
{
"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": "UBUNTUDEV 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"
}
]
},
{
"name": "OTHER System Information",
"identifier": "sys1",
"measurements": [
{
"name": "System Uptime",
"identifier": "sys1.uptime",
"units": "s",
"type": "float"
},
{
"name": "Processor Percent",
"identifier": "sys1.proc_percent",
"units": "%",
"type": "float"
},
{
"name": "Memory Used",
"identifier": "sys1.memused",
"units": "Kbytes",
"type": "float"
},
{
"name": "System Idle",
"identifier": "sys1.idle",
"units": "%",
"type": "float"
},
{
"name": "Memory Free",
"identifier": "sys1.memfree",
"units": "Kbytes",
"type": "float"
},
{
"name": "Memory Total",
"identifier": "sys1.memtotal",
"units": "Kbytes",
"type": "float"
},
{
"name": "Memory Active",
"identifier": "sys1.memactive",
"units": "Kbytes",
"type": "float"
},
{
"name": "Memory Available",
"identifier": "sys1.memavailable",
"units": "Kbytes",
"type": "float"
},
{
"name": "Received Bytes",
"identifier": "sys1.rxbytes",
"units": "Bytes",
"type": "float"
},
{
"name": "Received Packets",
"identifier": "sys1.rxpackets",
"units": "Bytes",
"type": "float"
},
{
"name": "Transmitted Bytes",
"identifier": "sys1.txbytes",
"units": "Bytes",
"type": "float"
},
{
"name": "Transmitted Packets",
"identifier": "sys1.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