Lightwheel Egosuite DevKit - MCAP conversion and visualization pipeline
Project description
LW-Egosuite-DevKit
Backend Installation
Prerequisites
- Operating System: Ubuntu 20.04 or higher
Install
cd lw_egosuite_devkit
conda create -n lw_egosuite_devkit python=3.11 -y
conda activate lw_egosuite_devkit
pip3 install -e .
Usage
1. Conversion for Visualization
Generate visualization-ready MCAP files from raw egosuite MCAP data.
1.1 Single File Conversion
cd lw_egosuite_devkit
mkdir output
lwviz convert --path $input_mcap_path --writer.path $mcap_for_vis_path
$input_mcap_path: The path to the source MCAP file.$mcap_for_vis_path: (Optional) The destination path for the generated MCAP file. Default is./output/${input_mcap_filename}_vis.mcap.
1.2 Batch Conversion
cd lw_egosuite_devkit
mkdir -p output
data_path="/path/to/your/data"
for input_mcap_path in "$data_path"/*.mcap; do
[ -e "$input_mcap_path" ] || continue
base_name=$(basename "$input_mcap_path" .mcap)
mcap_for_vis_path="./output/${base_name}_vis.mcap"
echo "Processing: $base_name ..."
# process the file
lwviz convert --path "$input_mcap_path" --writer.path "$mcap_for_vis_path"
done
$data_path: The directory containing the source MCAP files. Each file will be converted and saved with a_vis.mcapsuffix in the./output/directory.
2. Visualization with Foxglove Studio
Follow these steps to visualize the processed data in Foxglove Studio:
- Launch Foxglove: Open the Foxglove Studio desktop application or web version.
- Import Layout: Load the recommended configuration file:
assets/default_layout.json. - Load Data Streams: Simultaneously load the source file
mcap_filename.mcapand the generated visualization file./output/{mcap_filename}_vis.mcap.
Once loaded, the visualization will appear in the Foxglove Studio dashboard as shown below:
License
This project is licensed under the Apache License 2.0.
Copyright 2026 Lightwheel Team
Project details
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 lw_egosuite_devkit-0.1.2.tar.gz.
File metadata
- Download URL: lw_egosuite_devkit-0.1.2.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3eb12128cf1e81628db328f30f50c16bf5fb323df6bb5e70690f43135c489a37
|
|
| MD5 |
e6e8ca7af2d942aede892a2e10a913dc
|
|
| BLAKE2b-256 |
320f40ef0e15da5488f641f1af0732ba74ff039946010ba0c2bdd650adfba39e
|
File details
Details for the file lw_egosuite_devkit-0.1.2-py3-none-any.whl.
File metadata
- Download URL: lw_egosuite_devkit-0.1.2-py3-none-any.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
802e1543e07d39a5d5ee00a237ad8da50ecf141b8cbd8efd0541a68796811fa0
|
|
| MD5 |
3816884f6d282d6173beaefc698ea7a1
|
|
| BLAKE2b-256 |
af464dab0203c3c062ba4f3da377741d8e4eb9e3a413eed320857452604db317
|