Conversation
…ets) Replace the in-repo packages/linker-robot-assets tree with a git submodule of linker-sim-assets (github.com/linker-bot/linker-sim-assets), mounted at the same path and pinned to v0.1.0. The packages/* workspace glob still resolves it, so [tool.uv.sources] workspace=true, the pytest pythonpath, script sys.path injections, and check_drift all keep working unchanged. Add a submodule-init + git-lfs-pull bootstrap note to README/installation.
… actuators Bump the submodule v0.1.0 -> v0.3.2. v0.2.0+ rewrote the composed MJCF actuators from <position> servos to <motor> (torque) for Isaac, which broke linker-sim's position-target control (it wrote joint-angle targets into data.ctrl). Implement the joint PD in Python: set_joint_position_target stores the target, and apply_pd() writes tau = kp*(target-q) - kv*qdot to qfrc_applied. The backend calls apply_pd() before each mj_step so the servo is recomputed per physics substep (across decimation), matching the old <position> actuator. Gains come from the manifest default_gains; write_gains updates them; set_joint_effort drops the PD target so torque mode doesn't fight it. Also update the JointPD unit test (asserts qfrc_applied torque now) and the decoder channel-mismatch test regex (shared decoder message changed in v0.3.2). 66 tests pass incl. the zero-command drift canary. The run.py QACC instability warning under reset noise is pre-existing (reproduced on v0.1.0).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: consume linker-sim-assets v0.3.2; PD-torque control for actuators
Bump the submodule v0.1.0 -> v0.3.2. v0.2.0+ rewrote the composed MJCF actuators from servos to (torque) for Isaac, which broke linker-sim's position-target control (it wrote joint-angle targets into data.ctrl). Implement the joint PD in Python: set_joint_position_target stores the target, and apply_pd() writes tau = kp*(target-q) - kv*qdot to qfrc_applied. The backend calls apply_pd() before each mj_step so the servo is recomputed per physics substep (across decimation), matching the old actuator. Gains come from the manifest default_gains; write_gains updates them; set_joint_effort drops the PD target so torque mode doesn't fight it.
Also update the JointPD unit test (asserts qfrc_applied torque now) and the decoder channel-mismatch test regex (shared decoder message changed in v0.3.2). 66 tests pass incl. the zero-command drift canary. The run.py QACC instability warning under reset noise is pre-existing (reproduced on v0.1.0).