Skip to content

feat: rust get transform#2816

Draft
aclauer wants to merge 14 commits into
mainfrom
andrew/feat/rust-transform-get
Draft

feat: rust get transform#2816
aclauer wants to merge 14 commits into
mainfrom
andrew/feat/rust-transform-get

Conversation

@aclauer

@aclauer aclauer commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Problem

We need transforms with Rust

Closes DIM-XXX

Solution

Right now just supporting get, since we don't have any publishers yet. i'll add that asap.

Add #[tf] attribute to subscribe a module to the transform topic
get_latest() -> get the latest transform between two frames
get() -> get transform at a specified time

Transforms are collected in a hash map and inter-frame transforms are built on demand

How to Test

Contributor License Agreement

  • I have read and approved the CLA.

@codecov

codecov Bot commented Jul 8, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 30.30303% with 23 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
dimos/core/native_module.py 8.33% 11 Missing ⚠️
dimos/navigation/nav_3d/mls_planner/goal_relay.py 33.33% 8 Missing ⚠️
dimos/navigation/basic_path_follower/module.py 33.33% 4 Missing ⚠️
@@           Coverage Diff           @@
##             main    #2816   +/-   ##
=======================================
  Coverage   71.92%   71.92%           
=======================================
  Files         979      979           
  Lines       87410    87436   +26     
  Branches     7990     8007   +17     
=======================================
+ Hits        62866    62889   +23     
- Misses      22404    22420   +16     
+ Partials     2140     2127   -13     
Flag Coverage Δ
OS-ubuntu-24.04-arm 64.56% <30.30%> (-0.02%) ⬇️
OS-ubuntu-latest 67.03% <30.30%> (-0.03%) ⬇️
Py-3.10 67.03% <30.30%> (-0.02%) ⬇️
Py-3.11 67.03% <30.30%> (-0.03%) ⬇️
Py-3.12 67.02% <30.30%> (-0.04%) ⬇️
Py-3.13 67.02% <30.30%> (-0.04%) ⬇️
Py-3.14 67.03% <30.30%> (-0.03%) ⬇️
Py-3.14t 67.02% <30.30%> (-0.03%) ⬇️
SelfHosted-macOS 36.02% <16.66%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
dimos/hardware/sensors/lidar/fastlio2/module.py 89.02% <ø> (-0.14%) ⬇️
...ee/go2/blueprints/navigation/unitree_go2_nav_3d.py 79.36% <100.00%> (+0.33%) ⬆️
dimos/navigation/basic_path_follower/module.py 37.85% <33.33%> (+0.07%) ⬆️
dimos/navigation/nav_3d/mls_planner/goal_relay.py 65.71% <33.33%> (-14.29%) ⬇️
dimos/core/native_module.py 75.00% <8.33%> (+7.12%) ⬆️

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@aclauer aclauer changed the title Andrew/feat/rust transform feat: rust transform get Jul 9, 2026
@aclauer aclauer changed the title feat: rust transform get feat: rust get transform Jul 9, 2026
@aclauer aclauer linked an issue Jul 9, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rust Native Modules transforms

1 participant