Skip to main content

Lightwheel Egosuite DevKit - MCAP conversion and visualization pipeline

Project description

LW-Egosuite-DevKit

Backend Installation

Prerequisites

  • Operating System: Ubuntu 20.04 or higher

Install

1. Conda environment

conda create -n lw_egosuite_devkit python=3.11 -y
conda activate lw_egosuite_devkit

2. Install the package

From PyPI:

pip install lw-egosuite-devkit

From source:

git clone https://github.com/LightwheelAI/LW-Egosuite-DevKit.git
cd LW-Egosuite-DevKit
pip 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
lw-egosuite 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
    lw-egosuite 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.mcap suffix in the ./output/ directory.

2. Visualization with Foxglove Studio

Follow these steps to visualize the processed data in Foxglove Studio:

  1. Launch Foxglove: Open the Foxglove Studio desktop application or web version.
  2. Import Layout: Load the recommended configuration file: assets/default_layout.json.
  3. Load Data Streams: Simultaneously load the source file mcap_filename.mcap and the generated visualization file ./output/{mcap_filename}_vis.mcap.

Once loaded, the visualization will appear in the Foxglove Studio dashboard as shown below:

image

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

lw_egosuite_devkit-0.1.3.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lw_egosuite_devkit-0.1.3-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

Details for the file lw_egosuite_devkit-0.1.3.tar.gz.

File metadata

  • Download URL: lw_egosuite_devkit-0.1.3.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

Hashes for lw_egosuite_devkit-0.1.3.tar.gz
Algorithm Hash digest
SHA256 160a9c399051391c8eb0194c41792f7eeccbc74d7ae9157c43bae53ded27804c
MD5 cbefd79856e8bdcff5f51e069c225da7
BLAKE2b-256 9394e6fb675b52cdce198d04117e1c84b987c111209db994be41f5d10c88c5ce

See more details on using hashes here.

File details

Details for the file lw_egosuite_devkit-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for lw_egosuite_devkit-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0bd3eabd8d7e7dcfa423c415559546cd9efb6c42e2fed6e9684f6b99e0ec6233
MD5 0e1389b12fd1584a69e0fb58327be95c
BLAKE2b-256 9d04134a914cf6e31dbb5aafdf5aff493cc7685a6f67d423c43939617c1a3326

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page