Repository navigation
Set MicroDuck navigation playback defaults - #9049
AntoineRichard merged 1 commit into
Conversation
There was a problem hiding this comment.
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): |
There was a problem hiding this comment.
🟡 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.
There was a problem hiding this comment.
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): |
There was a problem hiding this comment.
🟡 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) |
There was a problem hiding this comment.
🟡 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: |
There was a problem hiding this comment.
🟡 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.
[Low impact] The PR appears safe to merge; no actionable issues were found. SummarySets MicroDuck navigation playback to show a scattered obstacle course with a fixed starting heading, an elevated camera, and velocity arrows. Training defaults stay unchanged.
No actionable issues found. Reviews (1) · Last reviewed commit: "Set MicroDuck navigation playback defaul..." · Reviewed by Greptile |
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 playrun without--train_env_cfg, and repository formatting checks.