Export ROS2 rosbag2 to CSV in PlotJuggler style or per-topic
Project description
blobjugglerpy
Export ROS2 rosbag2 to CSV in PlotJuggler style or per-topic.
Usage
Python API:
from blobjugglerpy import collect_columns_plotjuggler, write_plotjuggler_csv
columns, storage_id, type_cache = collect_columns_plotjuggler(bag_dir, topics_filter=None)
write_plotjuggler_csv(bag_dir, out_csv_path, columns, storage_id, topics_filter=None, type_cache=type_cache)
CLI:
python -m blobjugglerpy --bag /path/to/bag --out /path/to/out.csv --all
Topic selection supports glob-style patterns via --topics, for example:
python -m blobjugglerpy --bag /path/to/bag --out out.csv --topics "/log*" "/sensors/*"
Note: You must specify either --all or --topics (supports globs).
Command Line Help
$ python -m blobjugglerpy -h
usage: __main__.py [-h] --bag BAG --out OUT [--topics [TOPICS ...]] [--all] [--per-topic] [--no-sort]
Export ROS2 bag to CSV (PlotJuggler-style by default).
options:
-h, --help show this help message and exit
--bag BAG Path to rosbag2 directory (contains metadata.yaml)
--out OUT Output CSV path (default) or directory when --per-topic
--topics [TOPICS ...]
Explicit list of topics to export
--all Export all topics in the bag
--per-topic Write one CSV per topic instead of merged
--no-sort Do not sort by __time
Installation
pip install git+https://github.com/incebellipipo/blobjugglerpy.git
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file blobjugglerpy-0.0.0.tar.gz.
File metadata
- Download URL: blobjugglerpy-0.0.0.tar.gz
- Upload date:
- Size: 29.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a21dd2a5a9d7e57369eed0129507b1d48c904404759a041b17e035d20ac77833
|
|
| MD5 |
5cf3953320b49aa80e2836829569fbdf
|
|
| BLAKE2b-256 |
371ec419944f75a57239307818c208f4c800695a77be2de34e02ecd977f30e2e
|
Provenance
The following attestation bundles were made for blobjugglerpy-0.0.0.tar.gz:
Publisher:
publish.yml on incebellipipo/blobjugglerpy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
blobjugglerpy-0.0.0.tar.gz -
Subject digest:
a21dd2a5a9d7e57369eed0129507b1d48c904404759a041b17e035d20ac77833 - Sigstore transparency entry: 602147438
- Sigstore integration time:
-
Permalink:
incebellipipo/blobjugglerpy@b525a96b239284bf92006f60bee297ffa33174be -
Branch / Tag:
refs/tags/v0.0.0 - Owner: https://github.com/incebellipipo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b525a96b239284bf92006f60bee297ffa33174be -
Trigger Event:
release
-
Statement type:
File details
Details for the file blobjugglerpy-0.0.0-py3-none-any.whl.
File metadata
- Download URL: blobjugglerpy-0.0.0-py3-none-any.whl
- Upload date:
- Size: 34.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
348ff3abce7793261149f8960f37b025750b3a4eceb9505ff60a9e19c0731426
|
|
| MD5 |
d22102f33249be3ff45bdd2783a0797d
|
|
| BLAKE2b-256 |
007241967b562c532fc93c1227ee6c2a8748e15dbe2721b5616f9f1f2e18c4a8
|
Provenance
The following attestation bundles were made for blobjugglerpy-0.0.0-py3-none-any.whl:
Publisher:
publish.yml on incebellipipo/blobjugglerpy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
blobjugglerpy-0.0.0-py3-none-any.whl -
Subject digest:
348ff3abce7793261149f8960f37b025750b3a4eceb9505ff60a9e19c0731426 - Sigstore transparency entry: 602147439
- Sigstore integration time:
-
Permalink:
incebellipipo/blobjugglerpy@b525a96b239284bf92006f60bee297ffa33174be -
Branch / Tag:
refs/tags/v0.0.0 - Owner: https://github.com/incebellipipo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b525a96b239284bf92006f60bee297ffa33174be -
Trigger Event:
release
-
Statement type: