Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
G
gmsec_containers
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Christopher Reis
gmsec_containers
Commits
c05116a1
Commit
c05116a1
authored
Apr 26, 2017
by
Christopher Reis
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/chrisreis53/gmsec_containers
parents
8f49c822
f8be1751
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
234 additions
and
13 deletions
+234
-13
docker-compose.yml
docker-compose.yml
+0
-1
Dockerfile
gmsec_sys_data/Dockerfile
+2
-6
Dockerfile
gmsec_telem_server/Dockerfile
+10
-6
dictionary.json
gmsec_telem_server/dictionary.json
+222
-0
No files found.
docker-compose.yml
View file @
c05116a1
...
...
@@ -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/gm_telemetry_server"
,
"
server=gmbolt:9100"
,
"
connectiontype=gmsec_bolt"
,
"
loglevel=NONE"
]
gmsub
:
restart
:
always
build
:
./gmsec_sub
...
...
gmsec_sys_data/Dockerfile
View file @
c05116a1
...
...
@@ -4,10 +4,6 @@ MAINTAINER Christopher Reis "chrisreis53@gmail.com"
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
["/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"]
gmsec_telem_server/Dockerfile
View file @
c05116a1
# Pull base image.
FROM
chrisreis53/gmsec_node:1-sub_pub_only
FROM
ubuntu:16.10
MAINTAINER
Christopher Reis "chrisreis53@gmail.com"
RUN
apt update
RUN
apt
install
-y
libboost-
all-dev
RUN
apt
install
-y
libboost-
system-dev cmake
WORKDIR
/code
ADD
GMSEC_API-4.2/ /code
ENV
LD_LIBRARY_PATH /code/bin
ADD
./dictionary.json /dictionary.json
#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"]
#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
gmsec_telem_server/dictionary.json
0 → 100644
View file @
c05116a1
{
"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"
:
"
\u
0080C"
,
"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"
}
]
}
]
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment