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

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.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.2.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.2-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

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

Hashes for lw_egosuite_devkit-0.1.2.tar.gz
Algorithm Hash digest
SHA256 3eb12128cf1e81628db328f30f50c16bf5fb323df6bb5e70690f43135c489a37
MD5 e6e8ca7af2d942aede892a2e10a913dc
BLAKE2b-256 320f40ef0e15da5488f641f1af0732ba74ff039946010ba0c2bdd650adfba39e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lw_egosuite_devkit-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 802e1543e07d39a5d5ee00a237ad8da50ecf141b8cbd8efd0541a68796811fa0
MD5 3816884f6d282d6173beaefc698ea7a1
BLAKE2b-256 af464dab0203c3c062ba4f3da377741d8e4eb9e3a413eed320857452604db317

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