Skip to content

Commit

Permalink
* Upgrade to libcluon v0.0.89
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Berger <[email protected]>
  • Loading branch information
chrberger committed May 8, 2018
1 parent 06baa29 commit 3d4c33b
Show file tree
Hide file tree
Showing 5 changed files with 965 additions and 152 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN apk update && \
g++
ADD . /opt/sources
WORKDIR /opt/sources
RUN ln -sf cluon-complete-v0.0.73.hpp cluon-complete.cpp && \
RUN ln -sf cluon-complete-v0.0.89.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
2 changes: 1 addition & 1 deletion Dockerfile.amd64
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN apk update && \
g++
ADD . /opt/sources
WORKDIR /opt/sources
RUN ln -sf cluon-complete-v0.0.73.hpp cluon-complete.cpp && \
RUN ln -sf cluon-complete-v0.0.89.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
2 changes: 1 addition & 1 deletion Dockerfile.armhf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN apk update && \
g++
ADD . /opt/sources
WORKDIR /opt/sources
RUN ln -sf cluon-complete-v0.0.73.hpp cluon-complete.cpp && \
RUN ln -sf cluon-complete-v0.0.89.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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ 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.73 --cid=111
docker run --rm -ti --init --net=host chrberger/cluon-livefeed-multi:v0.0.89 --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.73 --cid=111 --odvd=/opt/example.odvd
docker run --rm -ti --init --net=host -v $PWD:/opt chrberger/cluon-livefeed-multi:v0.0.89 --cid=111 --odvd=/opt/example.odvd
```

You can watch the usage of this microservice here:
Expand Down
Loading

0 comments on commit 3d4c33b

Please sign in to comment.