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({"sources": {"odom->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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

dim_odom-0.1.1-cp310-abi3-manylinux_2_39_x86_64.whl (85.7 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.39+ x86-64

dim_odom-0.1.1-cp310-abi3-manylinux_2_39_aarch64.whl (86.9 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.39+ ARM64

dim_odom-0.1.1-cp310-abi3-macosx_13_0_arm64.whl (7.0 MB view details)

Uploaded CPython 3.10+macOS 13.0+ ARM64

File details

Details for the file dim_odom-0.1.1-cp310-abi3-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for dim_odom-0.1.1-cp310-abi3-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 7f5908c5ac2c45acc886ded2a7be139d142659d0bd433b79113aa786623f4f14
MD5 c9fa068ea6b60841d7b93615e8c5a49e
BLAKE2b-256 6d3969d0d96c79f84cabb51e6f1abf38c1e96e29c786196f91969f7b39a6378c

See more details on using hashes here.

File details

Details for the file dim_odom-0.1.1-cp310-abi3-manylinux_2_39_aarch64.whl.

File metadata

File hashes

Hashes for dim_odom-0.1.1-cp310-abi3-manylinux_2_39_aarch64.whl
Algorithm Hash digest
SHA256 0642baebd9a7b7136d64a18b70db743eba770229551bd6e41cffce12439f2002
MD5 96ca5414669ed81905419b5ccc853986
BLAKE2b-256 189925645b2a4679d3c3b6795765bb58f6b2d40e04fd8806e1e3540b39e52411

See more details on using hashes here.

File details

Details for the file dim_odom-0.1.1-cp310-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for dim_odom-0.1.1-cp310-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 bbde00a915e1e01ce00c6d191c93e7ce7d33ec81325568056998c80927f144a8
MD5 6a4f7256b2fcc77aa0604e41359bb5cd
BLAKE2b-256 1af1f9814f9594fa2b9fbdafbbc5706ab5ebb07162157d4e00dc642bd009752f

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.6

3 files

0.1.5

3 files

0.1.4

3 files

0.1.3

3 files

0.1.2

3 files

This release

0.1.1 This release

3 files

0.1.0

3 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