Skip to content

Set MicroDuck navigation playback defaults - #9049

Merged
AntoineRichard merged 1 commit into
isaac-sim:exp/microduckfrom
seun-doherty:fix/microduck-navigation-playback
Nov 16, 2026
Merged

AntoineRichard merged 1 commit into
isaac-sim:exp/microduckfrom
seun-doherty:fix/microduck-navigation-playback

Conversation

@seun-doherty

Copy link
Copy Markdown

Sets a scattered obstacle course, fixed starting heading, elevated camera and velocity arrows for MicroDuck navigation playback, removing the need for extra command-line overrides. Training defaults remain unchanged. Verified identical resolved training configurations, a 20-second native isaaclab play run without --train_env_cfg, and repository formatting checks.

@github-actions github-actions Bot added bug Something isn't working isaac-lab Related to Isaac Lab team labels Nov 16, 2026
@seun-doherty
seun-doherty marked this pull request as ready for review November 16, 2026 21:17
@AntoineRichard
AntoineRichard merged commit 9c1d852 into isaac-sim:exp/microduck Nov 16, 2026
2 checks passed

@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

Needs attention: Style consistency (1). Other reviewed categories look good.

  • PR description: The title and body match the playback-only diff and changelog; reported configuration comparison, native playback, and formatting checks address the scope, with no performance claim requiring measurements.
  • 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: The mutation-only play_mode method omits the contribution guide’s required return annotation; add -> None.
  • Test quality: Test quality looks good.

Minor fixes needed. Posted 1 inline finding.

Automated review; human maintainers own approval decisions.

self.sim.physics.collision_cfg.max_triangle_pairs = 320_000_000
self.sim.physics.collision_cfg.rigid_contact_max = 16_000_000

def play_mode(self):

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.

🟡 Warning · Style Consistency — Annotate the playback hook return

The contribution guide requires -> None for methods that return no value. Add it to this mutation-only hook.

@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

Needs attention: Design and architecture (1), Compatibility and deprecation (1), Style consistency (1). Other reviewed categories look good.

  • PR description: The title and body match the playback-only diff and changelog; reported training-config comparison, native playback, and formatting checks are relevant, with no measurable performance claim requiring benchmarks.
  • Design and architecture: Applying one camera pose to every visualizer overwrites separately configured views; limit the override to the intended playback view.
  • Scope and over-engineering: No over-engineering issues.
  • API: API changes look good.
  • Compatibility and deprecation: Breaking changes: playback replaces mixed-layout and randomized-yaw defaults without a functional legacy path, targeted warning, migration and removal guidance, or transition coverage; provide that deprecation bridge.
  • Implementation: Implementation looks good.
  • Style consistency: The mutation-only play_mode hook omits the contribution guide’s required return annotation; add -> None.
  • Test quality: Test quality looks good.

Significant concerns. Posted 3 inline findings.

Automated review; human maintainers own approval decisions.

self.sim.physics.collision_cfg.max_triangle_pairs = 320_000_000
self.sim.physics.collision_cfg.rigid_contact_max = 16_000_000

def play_mode(self):

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.

🟡 Warning · Style Consistency — Annotate the playback hook return

The hook mutates configuration and returns nothing, but lacks the guide-required return annotation. Add -> None.


def play_mode(self):
"""Show a scattered obstacle course while preserving training dynamics."""
self.events.obstacle_field.params.update(layout="scattered", layout_weights=None)

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.

🟡 Warning · Compatibility — Transition existing playback defaults

Playback now replaces the mixed layout and randomized yaw defaults. Keep the old behavior functional during a warned, documented transition, and validate both legacy and new paths.

visualizers = self.sim.visualizer_cfgs
if not isinstance(visualizers, list):
visualizers = [visualizers]
for visualizer in visualizers:

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.

🟡 Warning · Design Architecture — Preserve other playback views

Assigning the same camera pose to every visualizer overwrites individually configured views. Change only the intended playback view and retain other views’ camera settings.

@greptile-apps

greptile-apps Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge; no actionable issues were found.

Summary

Sets MicroDuck navigation playback to show a scattered obstacle course with a fixed starting heading, an elevated camera, and velocity arrows. Training defaults stay unchanged.

  • MicroDuck playback opens on a scattered course with a clear view.

No actionable issues found.

Reviews (1) · Last reviewed commit: "Set MicroDuck navigation playback defaul..." · Reviewed by Greptile

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