Skip to main content

dim_odom

Python bindings for dimSLAM: CuvslamOdometry wraps the cuVSLAM visual(-inertial) odometry front end, OdometryFusion the error-state Kalman filter that fuses odometry sources with an IMU. Everything runs in-process and on the caller's data stamps, so replaying a recording is deterministic.

import dim_odom

tracker = dim_odom.CuvslamOdometry(
    {"camera_mode": "stereo", "use_gpu": False},
    tf=lambda parent, child: ((0.0, 0.0, 0.0), (0.0, 0.0, 0.0, 1.0)),
)
tracker.handle_camera_info(dim_odom.CameraModel(...))
estimate = tracker.handle_image(dim_odom.ImageFrame(...))

fusion = dim_odom.OdometryFusion({"odom_sources": [{"parent_frame_id": "odom", "child_frame_id": "base_link"}]})
if estimate is not None:
    fusion.handle_source(estimate)
fused = fusion.maybe_publish()

Transforms cross the boundary as ((x, y, z), (qx, qy, qz, qw)); the tf callable answers rigid-mount lookups (parent, child) with such a tuple or None.

The wheels bundle libcuvslam (open source) for each platform: macOS arm64 (CuMetal build; CPU tracking works with use_gpu: false), manylinux x86_64 (CUDA 13; tracking needs a GPU), and manylinux aarch64 (CUDA 13 Thor/JetPack 7 build). The Linux CUDA runtime comes from NVIDIA's nvidia-* wheels, declared as dependencies, since those libraries exceed PyPI's size limits. Configs are dicts mirroring the Rust CuvslamOdometryConfig and OdometryFusionConfig; absent keys take the defaults.

Metadata

Release files for dim-odom 0.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for dim-odom 0.4.2
File
dim_odom-0.4.2-py3-none-any.whl Python 3 none any Details
dim_odom-0.4.2-cp310-abi3-manylinux_2_35_x86_64.whl CPython 3.10 abi3 Linux glibc 2.35+ x86-64 Details
dim_odom-0.4.2-cp310-abi3-manylinux_2_35_aarch64.whl CPython 3.10 abi3 Linux glibc 2.35+ ARM64 Details
dim_odom-0.4.2-cp310-abi3-macosx_13_0_arm64.whl CPython 3.10 abi3 macOS 13.0+ ARM64 Details

Total release size: 179.2 MB

Release files / dim_odom-0.4.2-py3-none-any.whl

Download URL dim_odom-0.4.2-py3-none-any.whl
Size 1.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a61913b44334e3de5420c637707297c5fde7cc03d78eac22571f98979b35ade
BLAKE2b-256 checksum
How to use checksums
e0d0c7d15b665e5bf9ecce0936283defbc08209b8bba47e25b21fb70de6e63c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.12

Release files / dim_odom-0.4.2-cp310-abi3-manylinux_2_35_x86_64.whl

Download URL dim_odom-0.4.2-cp310-abi3-manylinux_2_35_x86_64.whl
Size 85.5 MB
Tags CPython 3.10 Linux glibc 2.35+ x86-64 abi3
SHA-256 checksum
How to use checksums
d9a5b76cb4932d27deb2b9733f5ec64ef9a10a58ad0b348db245286bf03514f8
BLAKE2b-256 checksum
How to use checksums
e60f15773c43292b03690ba3ed8481f133130902850c1bcb8ca8b2b02a93d087
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.12

Release files / dim_odom-0.4.2-cp310-abi3-manylinux_2_35_aarch64.whl

Download URL dim_odom-0.4.2-cp310-abi3-manylinux_2_35_aarch64.whl
Size 86.7 MB
Tags CPython 3.10 Linux glibc 2.35+ ARM64 abi3
SHA-256 checksum
How to use checksums
6cbb8e6d74315d99d8601fddf2e40416780d3731549d2a0a68c255a830e23a16
BLAKE2b-256 checksum
How to use checksums
5b305e4738bd2165187908ac27b2592f19b9eed2c2a436a9d87e3e93127fcea1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.12

Release files / dim_odom-0.4.2-cp310-abi3-macosx_13_0_arm64.whl

Download URL dim_odom-0.4.2-cp310-abi3-macosx_13_0_arm64.whl
Size 7.0 MB
Tags CPython 3.10 abi3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
6d506b8dca4b1592bdd3da69a28b3c69ba84785b25ec391b121f97623baf720b
BLAKE2b-256 checksum
How to use checksums
ed7fa5d35789da6a78d9cd2283387fce4029069f61e92aa4cb29fd670a1d78ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.4.2 This release

4 release files

0.4.1

4 release files

0.1.6

4 release files

0.1.5

3 release files

0.1.4

3 release files

0.1.3

3 release files

0.1.2

3 release files

0.1.1

3 release files

0.1.0

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page