Skip to content

Commit

Permalink
* Updated livefeed
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Berger <[email protected]>
  • Loading branch information
chrberger committed Feb 7, 2019
1 parent 3982b35 commit 74a7da8
Show file tree
Hide file tree
Showing 5 changed files with 2,813 additions and 2,141 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2018 Christian Berger
# Copyright (C) 2019 Christian Berger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -28,7 +28,7 @@ RUN apk update && \
g++
ADD . /opt/sources
WORKDIR /opt/sources
RUN ln -sf cluon-complete-v0.0.104.hpp cluon-complete.cpp && \
RUN ln -sf cluon-complete-v0.0.121.hpp cluon-complete.cpp && \
g++ -std=c++14 -Wall -D HAVE_CLUON_LIVEFEED -pthread -s -static -static-libgcc -static-libstdc++ -o /tmp/cluon-livefeed cluon-complete.cpp

RUN [ "cross-build-end" ]
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.amd64
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2018 Christian Berger
# Copyright (C) 2019 Christian Berger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand All @@ -22,7 +22,7 @@ RUN apk update && \
g++
ADD . /opt/sources
WORKDIR /opt/sources
RUN ln -sf cluon-complete-v0.0.104.hpp cluon-complete.cpp && \
RUN ln -sf cluon-complete-v0.0.121.hpp cluon-complete.cpp && \
g++ -std=c++14 -Wall -D HAVE_CLUON_LIVEFEED -pthread -s -static -static-libgcc -static-libstdc++ -o /tmp/cluon-livefeed cluon-complete.cpp


Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.armhf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2018 Christian Berger
# Copyright (C) 2019 Christian Berger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -28,7 +28,7 @@ RUN apk update && \
g++
ADD . /opt/sources
WORKDIR /opt/sources
RUN ln -sf cluon-complete-v0.0.104.hpp cluon-complete.cpp && \
RUN ln -sf cluon-complete-v0.0.121.hpp cluon-complete.cpp && \
g++ -std=c++14 -Wall -D HAVE_CLUON_LIVEFEED -pthread -s -static -static-libgcc -static-libstdc++ -o /tmp/cluon-livefeed cluon-complete.cpp

RUN [ "cross-build-end" ]
Expand Down
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,15 @@ This microservice is created automatically on changes to this repository via Doc
This microservice is supposed to be used in parallel with a running [OD4Sessions](https://github.com/chalmers-revere/opendlv) with other microservices that exchange messages in [`Envelope`](https://github.com/chrberger/libcluon/blob/master/libcluon/resources/cluonDataStructures.odvd#L23-L30) data format. The purpose of this microservice to display the type and timestamps of the currently exchanged messages on console. It can be used as shown in the following:

```
docker run --rm -ti --init --net=host chrberger/cluon-livefeed-multi:v0.0.104 --cid=111
docker run --rm -ti --init --net=host chrberger/cluon-livefeed-multi:v0.0.121 --cid=111
```

Additionally, you can supply a message specification in `.odvd`-file like, for example, the [OpenDLV Standard Message Set](https://github.com/chalmers-revere/opendlv.standard-message-set/blob/master/opendlv.odvd) to dynamically resolve the data types of the exchanged messages. In the following, it is assumed that you have the `.odvd`-file named `example.odvd` residing in the current working directory:

```
docker run --rm -ti --init --net=host -v $PWD:/opt chrberger/cluon-livefeed-multi:v0.0.104 --cid=111 --odvd=/opt/example.odvd
docker run --rm -ti --init --net=host -v $PWD:/opt chrberger/cluon-livefeed-multi:v0.0.121 --cid=111 --odvd=/opt/example.odvd
```

You can watch the usage of this microservice here:

[![asciicast](https://asciinema.org/a/zT1Mr5aKUGx3k43ax8a9eapBb.png)](https://asciinema.org/a/zT1Mr5aKUGx3k43ax8a9eapBb?autoplay=1)

## License

* This project is released under the terms of the GNU GPLv3 License
Loading

0 comments on commit 74a7da8

Please sign in to comment.