Skip to content

feat: support motrix kp/kd reset randomization - #325

Merged
TATP-233 merged 2 commits into
mainfrom
motrix-kpkd-dr-support
Apr 22, 2026
Merged

TATP-233 merged 2 commits into
mainfrom
motrix-kpkd-dr-support

Conversation

@wlgys8

@wlgys8 wlgys8 commented Apr 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add Motrix backend reset-lifecycle kp/kd randomization support via PositionActuator overrides
  • require all Motrix actuators to be position at backend initialization (fail fast for mixed actuator models)
  • cache default actuator kp/kd at backend init, and return cached values in get_actuator_gains()
  • expose Motrix DR capabilities for base_mass_delta/base_com_offset/kp/kd plus interval push
  • add tests for Motrix randomization behavior (base_com, kp/kd, shape validation, interval push) and manager warning/filter behavior
  • update DR user docs to reflect current Motrix capability boundary

Validation

  • uv run mypy src
  • uv run pytest tests/dr/test_manager.py
  • uv run pytest -m slow tests/base/test_sim_backend.py -k "TestMotrixBasic and (randomization or capabilities or interval)"
  • uv run pytest tests/scripts/test_check_docs.py

Related

@wlgys8
wlgys8 force-pushed the motrix-kpkd-dr-support branch from 758c291 to a9654e2 Compare April 21, 2026 16:23
wlgys8 and others added 2 commits April 22, 2026 10:36
The test_start_collector_does_not_merge_runner_runtime_fields test
times out in CI due to subprocess startup latency. Mark it as slow
so it is excluded from the default test run.
@TATP-233
TATP-233 force-pushed the motrix-kpkd-dr-support branch from 3ab48c3 to bd31765 Compare April 22, 2026 02:36
@TATP-233
TATP-233 merged commit ffced23 into main Apr 22, 2026
10 checks passed
@TATP-233
TATP-233 deleted the motrix-kpkd-dr-support branch April 22, 2026 02:44
TATP-233 added a commit that referenced this pull request May 4, 2026
feat: support motrix kp/kd reset randomization
TATP-233 added a commit that referenced this pull request May 30, 2026
feat: support motrix kp/kd reset randomization
TATP-233 added a commit that referenced this pull request Sep 4, 2026
feat: support motrix kp/kd reset randomization
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.

2 participants