Skip to content

Apply pose interpolation perturbation to every interior point - #9295

Open
weakriver3000 wants to merge 2 commits into
isaac-sim:mainfrom
weakriver3000:fix/pose-interpolation-perturbation
Open

weakriver3000 wants to merge 2 commits into
isaac-sim:mainfrom
weakriver3000:fix/pose-interpolation-perturbation

Conversation

@weakriver3000

Copy link
Copy Markdown

Description

With perturb=True, the interpolation grid skipped the last intermediate position. With a single intermediate point, the option had no effect.

Apply perturbations to all grid entries after the start. The endpoint is appended separately, so both endpoints remain fixed. Add regression coverage for the single-intermediate-point case and a changelog entry.

Fixes #9294.

Type of change

  • Bug fix

Validation

  • Reproduced the failure on the base revision: interpolation from x=0 to x=1 with a single intermediate point left x=0.5 unchanged.
  • The regression test passes with the fix and checks both endpoints and the perturbation bound.
  • CPU math test file: 124 passed, 3 CUDA-only cases skipped.
  • Repository-wide pre-commit checks and git diff --check passed.

@weakriver3000
weakriver3000 requested a review from a team November 29, 2026 01:48
@github-actions github-actions Bot added bug Something isn't working isaac-lab Related to Isaac Lab team labels Nov 29, 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

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

  • PR description: The title and body match the three-file fix, regression, and changelog scope; reported validation is relevant, and no performance claim or material runtime-cost change requires benchmarks.
  • 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 added test omits the contribution guide’s required annotation for functions returning no value; add -> None to its signature.
  • Test quality: Test quality looks good.

Minor fixes needed. Posted 1 inline finding.

Automated review; human maintainers own approval decisions.

Comment thread source/isaaclab/test/utils/test_math.py Outdated


@pytest.mark.kitless
def test_interpolate_poses_perturbs_single_interior_point():

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 test return type

The new test omits -> None, contrary to the contribution guide's rule for functions returning no value. Add the annotation to its signature.

@greptile-apps

greptile-apps Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5 · The PR appears safe to merge.RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge.

Summary

Fixes interpolate_poses so perturb=True can move every interior position, including a single intermediate point.

  • Pose interpolation perturbs every interior position and keeps both endpoints fixed.

Reviews (1) · Last reviewed commit: "Apply pose interpolation perturbation to..." · Reviewed by Greptile

This branch has not been deployed

No deployments
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.

[Bug Report] Pose interpolation skips perturbation for the last interior point

1 participant