diff --git a/.github/workflows/snap_core20.yaml b/.github/workflows/snap_core20.yaml
new file mode 100644
index 000000000..2134ecd0a
--- /dev/null
+++ b/.github/workflows/snap_core20.yaml
@@ -0,0 +1,50 @@
+name: snap_core20
+on:
+ push:
+ tags:
+ - '*'
+ branches:
+ - main
+ pull_request:
+ branches:
+ - main
+ workflow_dispatch:
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ outputs:
+ snap-file: ${{ steps.build-snap20.outputs.snap }}
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ # full history for latest tag name
+ fetch-depth: 0
+ - run: mv snap_core20 snap
+ - uses: snapcore/action-build@v1
+ id: build-snap20
+
+ # Make sure the snap is installable
+ - run: |
+ sudo snap install --dangerous ${{ steps.build-snap20.outputs.snap }}
+
+ - uses: actions/upload-artifact@v3
+ with:
+ name: plotjuggler-snap20
+ path: ${{ steps.build-snap20.outputs.snap }}
+
+ publish:
+ if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
+ runs-on: ubuntu-latest
+ needs: build
+ steps:
+ - uses: actions/download-artifact@v3
+ with:
+ name: plotjuggler-snap20
+ path: .
+ - uses: snapcore/action-publish@v1
+ env:
+ SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }}
+ with:
+ snap: ${{needs.build.outputs.snap-file}}
+ release: ${{ startsWith(github.ref, 'refs/tags/') && 'candidate' || 'edge'}}
diff --git a/.github/workflows/snap.yaml b/.github/workflows/snap_core22.yaml
similarity index 51%
rename from .github/workflows/snap.yaml
rename to .github/workflows/snap_core22.yaml
index 980792083..988636cc4 100644
--- a/.github/workflows/snap.yaml
+++ b/.github/workflows/snap_core22.yaml
@@ -1,4 +1,4 @@
-name: snap
+name: snap_core22
on:
push:
tags:
@@ -12,43 +12,6 @@ on:
jobs:
build:
- runs-on: ubuntu-latest
- outputs:
- snap-file: ${{ steps.build-snap.outputs.snap }}
- steps:
- - uses: actions/checkout@v2
- with:
- # full history for latest tag name
- fetch-depth: 0
- - uses: snapcore/action-build@v1
- id: build-snap
-
- # Make sure the snap is installable
- - run: |
- sudo snap install --dangerous ${{ steps.build-snap.outputs.snap }}
-
- - uses: actions/upload-artifact@v3
- with:
- name: plotjuggler-snap
- path: ${{ steps.build-snap.outputs.snap }}
-
- publish:
- if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
- needs: build
- steps:
- - uses: actions/download-artifact@v3
- with:
- name: plotjuggler-snap
- path: .
- - uses: snapcore/action-publish@v1
- env:
- SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }}
- with:
- snap: ${{needs.build.outputs.snap-file}}
- release: ${{ startsWith(github.ref, 'refs/tags/') && 'candidate' || 'edge'}}
-
- build22:
runs-on: ubuntu-latest
outputs:
snap-file: ${{ steps.build-snap22.outputs.snap }}
@@ -57,7 +20,7 @@ jobs:
with:
# full history for latest tag name
fetch-depth: 0
- - run: rm -r snap && mv snap_core22 snap
+ - run: mv snap_core22 snap
- uses: snapcore/action-build@v1
id: build-snap22
@@ -70,10 +33,10 @@ jobs:
name: plotjuggler-snap22
path: ${{ steps.build-snap22.outputs.snap }}
- publish22:
+ publish:
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
- needs: build22
+ needs: build
steps:
- uses: actions/download-artifact@v3
with:
@@ -83,5 +46,5 @@ jobs:
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }}
with:
- snap: ${{needs.build22.outputs.snap-file}}
+ snap: ${{needs.build.outputs.snap-file}}
release: humble/${{ startsWith(github.ref, 'refs/tags/') && 'candidate' || 'edge'}}
diff --git a/3rdparty/data_tamer_parser/data_tamer_parser.hpp b/3rdparty/data_tamer_parser/data_tamer_parser.hpp
index 64f1db895..c2bd77090 100644
--- a/3rdparty/data_tamer_parser/data_tamer_parser.hpp
+++ b/3rdparty/data_tamer_parser/data_tamer_parser.hpp
@@ -425,7 +425,7 @@ inline bool ParseSnapshot(const Schema& schema, SnapshotView snapshot,
const auto& field = schema.fields[i];
if (GetBit(snapshot.active_mask, i))
{
- ParseSnapshotRecursive(field, schema.custom_types, buffer, callback_number, "");
+ ParseSnapshotRecursive(field, schema.custom_types, buffer, callback_number, {});
}
}
return true;
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2ad0c16ba..c68f49807 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -177,7 +177,6 @@ set(PLOTJUGGLER_BASE_SRC
plotjuggler_base/src/plotpanner.cpp
plotjuggler_base/src/timeseries_qwt.cpp
plotjuggler_base/src/reactive_function.cpp
- plotjuggler_base/src/special_messages.cpp
)
qt5_wrap_cpp(PLOTJUGGLER_BASE_MOCS
diff --git a/package.xml b/package.xml
index 40c77dc17..6c5a257cf 100644
--- a/package.xml
+++ b/package.xml
@@ -32,6 +32,7 @@
libzmq3-dev
lz4
libzstd-dev
+ protobuf-dev
diff --git a/plotjuggler_base/include/PlotJuggler/messageparser_base.h b/plotjuggler_base/include/PlotJuggler/messageparser_base.h
index c506e13ba..f57d00e5d 100644
--- a/plotjuggler_base/include/PlotJuggler/messageparser_base.h
+++ b/plotjuggler_base/include/PlotJuggler/messageparser_base.h
@@ -8,12 +8,7 @@
#include
#include
-#include
-#include
-#include
-#include
#include