Skip to content

Stream MicroDuck body state at the full 50 Hz in ToF navigation - #9107

Merged
AntoineRichard merged 1 commit into
isaac-sim:exp/microduckfrom
seun-doherty:fix/microduck-tof-nav-state-rate
Nov 20, 2026
Merged

AntoineRichard merged 1 commit into
isaac-sim:exp/microduckfrom
seun-doherty:fix/microduck-tof-nav-state-rate

Conversation

@seun-doherty

Copy link
Copy Markdown

Description

relay_on_duck.py subscribed to robotd's state stream with hz: 50. robotd sends a tick only if at
least 1/hz has passed since the last one it sent. Its 50 Hz ticks jitter by a fraction of a millisecond,
so about a third of them are dropped, and the navigation policy ran at about 31 Hz instead of the
50 Hz it was trained at.

Leaving hz out makes robotd send every tick.

Measured on a MicroDuck running robot software 0.18.1:

Before After
robotd state messages per second 30.8 50.0
nav_pad.py --dry-run --seconds 30 965 policy steps (~32 Hz) 1,491 policy steps (49.7 Hz)
Live gamepad run ~31 Hz 49.7 Hz

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks (ruff check, ruff format, codespell on the changed file)
  • I have made corresponding changes to the documentation (none needed)
  • My changes generate no new warnings
  • I have validated the changed behavior with focused coverage (dry run and live run on a real robot)
  • I have added a changelog fragment (not needed: scripts/ only, no package touched)
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

relay_on_duck.py asked robotd for hz=50. robotd drops any tick that arrives less than 1/hz after the last one it sent, and its 50 Hz ticks jitter, so about a third were dropped and the navigation policy ran at about 31 Hz. Leaving hz out makes robotd send every tick (measured 50.0 Hz on robot software 0.18.1).
@github-actions github-actions Bot added bug Something isn't working isaac-lab Related to Isaac Lab team labels Nov 19, 2026

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isaac Lab Review Bot

All reviewed code categories look good.

  • PR description: The title and body match the fix; reported MicroDuck measurements support the rate claim, but add revisions, counting method, controller hardware, backend, robot count, warmup, and live workload for reproducibility.
  • Design and architecture: Architecture looks good.
  • Scope and over-engineering: No over-engineering issues.
  • API: API changes look good.
  • Compatibility and deprecation: No breaking changes identified.
  • Implementation: Implementation looks good.
  • Style consistency: Style consistency looks good.
  • Test quality: Test quality looks good.

No blocking issues. No inline findings.

Automated review; human maintainers own approval decisions.

@greptile-apps

greptile-apps Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

Removes the body-state subscription limit so ToF navigation can receive every 50 Hz robot tick.

  • MicroDuck navigation receives every robot state tick.

No actionable issues found.

Reviews (1) · Last reviewed commit: "Stream MicroDuck body state at the full ..." · Reviewed by Greptile

@AntoineRichard
AntoineRichard merged commit 802b8d5 into isaac-sim:exp/microduck Nov 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants