Skip to content

Fix arm collapse: impedance tuning, action clamping, prompt fix#7

Open
vincewu51 wants to merge 2 commits intomainfrom
yw_impedance-tuning
Open

Fix arm collapse: impedance tuning, action clamping, prompt fix#7
vincewu51 wants to merge 2 commits intomainfrom
yw_impedance-tuning

Conversation

@vincewu51
Copy link
Copy Markdown
Collaborator

Summary

  • Impedance matched to CheatCode: stiffness 90/50, damping 50/20 (was 85/50, 75/20)
  • Action delta clamping: 5mm/step position, ~3°/step rotation max. Prevents effort clamping → arm collapse
  • Phase prompt switching disabled when no port pose: was silently switching VLA to wrong prompt on first step, causing drift
  • VLA-only debug mode: policy_args.vla_only:=true bypasses actor, executes VLA refs directly
  • bc_coeff default 5→0: XVLA action outputs are unreliable for this task
  • wandb/ added to .gitignore

Test plan

  • Arm no longer collapses (action clamping works)
  • VLA-only mode confirms VLA targets correct area with right prompt
  • No "Phase → approach" prompt switch when port_pose_xyzquat is unset

🤖 Generated with Claude Code

vincewu51 and others added 2 commits April 20, 2026 20:20
…ly mode

- Match impedance to CheatCode defaults (stiffness 90/50, damping 50/20).
- Add _clamp_action(): limit position delta to 5mm/step and rotation delta
  to ~3°/step, preventing effort clamping that caused arm collapse.
- Disable phase prompt switching when port_pose_xyzquat is unset. Was
  silently switching VLA to "move the SFP cable above the NIC port" on
  first step, causing drift.
- Add policy_args.vla_only debug mode to execute VLA reference actions
  directly, bypassing the actor.
- bc_coeff default 5→0: XVLA action outputs are unreliable for this task,
  so BC regularization toward them hurts rather than helps.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

1 participant