Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add image_example.py, use foxglove-schemas-protobuf package #814

Merged
merged 6 commits into from
Feb 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ jobs:
with:
path: ~/.conan/data
key: ${{ runner.os }}-${{ hashFiles('cpp/**/conanfile.py') }}
- uses: satackey/action-docker-layer-caching@v0.0.11
continue-on-error: true
- run: cd cpp && make ci
- run: yarn install --frozen-lockfile
- run: yarn test:conformance:generate-inputs --verify
Expand Down Expand Up @@ -260,9 +258,7 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: 3.7
- uses: satackey/action-docker-layer-caching@v0.0.11
continue-on-error: true
- run: pip install pipenv==2022.7.24
- run: pip install pipenv==2023.2.4
- run: make lint
- run: make test
- run: make examples
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
python-version: 3.7
- name: Install pipenv
run: pip install pipenv==2022.7.24
run: pip install pipenv==2023.2.4

- name: Install dependencies
run: pipenv install --deploy
Expand All @@ -39,8 +39,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: satackey/action-docker-layer-caching@v0.0.11
continue-on-error: true

- run: mkdir __docs__
- name: Generate C++ documentation
Expand Down
8 changes: 2 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,12 @@
],
"python.analysis.extraPaths": [
"./python/mcap",
"./python/mcap-protobuf-support",
"./python/mcap-ros1-support",
"./python/mcap-ros2-support"
],

"gopls": {
"build.experimentalWorkspaceModule": true
},

// https://github.com/microsoft/vscode-cpptools/issues/722
"C_Cpp.autoAddFileAssociations": false,
"C_Cpp.default.cppStandard": "c++17",
"lldb.library": "/Library/Developer/CommandLineTools/Library/PrivateFrameworks/LLDB.framework"
"C_Cpp.default.cppStandard": "c++17"
}
1 change: 1 addition & 0 deletions python/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ examples: pipenv
pipenv run python examples/raw/writer.py example_mcaps/raw.mcap
pipenv run python examples/raw/reader.py example_mcaps/raw.mcap
cd examples/protobuf && pipenv run python writer.py $(CURDIR)/example_mcaps/protobuf.mcap
cd examples/protobuf && pipenv run python image_example.py $(CURDIR)/example_mcaps/image.mcap
cd examples/protobuf && pipenv run python point_cloud_example.py $(CURDIR)/example_mcaps/point_cloud.mcap
cd examples/protobuf && pipenv run python reader.py $(CURDIR)/example_mcaps/protobuf.mcap
cd examples/protobuf && pipenv run python reader.py $(CURDIR)/example_mcaps/point_cloud.mcap
Expand Down
1 change: 1 addition & 0 deletions python/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ name = "ros"
lz4 = "*"
zstandard = "*"
protobuf = "*"
foxglove-schemas-protobuf = "*"
mcap = { editable = true, path = "mcap" }
mcap-protobuf-support = { editable = true, path = "mcap-protobuf-support" }
mcap-ros1-support = { editable = true, path = "mcap-ros1-support" }
Expand Down
647 changes: 384 additions & 263 deletions python/Pipfile.lock

Large diffs are not rendered by default.

37 changes: 0 additions & 37 deletions python/examples/protobuf/foxglove/PackedElementField_pb2.py

This file was deleted.

37 changes: 0 additions & 37 deletions python/examples/protobuf/foxglove/PointCloud_pb2.py

This file was deleted.

36 changes: 0 additions & 36 deletions python/examples/protobuf/foxglove/Pose_pb2.py

This file was deleted.

34 changes: 0 additions & 34 deletions python/examples/protobuf/foxglove/Quaternion_pb2.py

This file was deleted.

34 changes: 0 additions & 34 deletions python/examples/protobuf/foxglove/Vector2_pb2.py

This file was deleted.

34 changes: 0 additions & 34 deletions python/examples/protobuf/foxglove/Vector3_pb2.py

This file was deleted.

Empty file.
Loading