Commit Graph

9 Commits

Author SHA1 Message Date
5880997786 refactor: merge motor sysid into unified sysid module
Unified the two separate sysid codepaths (motor-only and full-system)
into a single module that optimizes all 28 parameters jointly:

- 13 motor params (asymmetric gear, damping, friction, deadzone,
  Stribeck boost, action bias, filter tau, armature, ctrl_limit)
- 15 pendulum/arm params (mass, CoM, inertia, joint dynamics)

Key changes:
- Added stribeck_friction_boost, stribeck_vel, action_bias to
  ActuatorConfig (robot.py) and MJX runner
- Created shared src/sysid/preprocess.py (SG velocity recomputation)
- Rewrote src/sysid/rollout.py with unified MOTOR_PARAMS + PENDULUM_PARAMS
  spec and PARAM_SETS dict for flexible subset optimization
- Updated optimize.py, export.py, visualize.py to use unified params
  (removed all LOCKED_MOTOR_PARAMS references)
- Removed src/sysid/motor/ module and scripts/motor_sysid.py

Net: -1383 lines, zero code duplication between motor and full-system sysid.
2026-03-28 16:48:22 +01:00
ca0e7b8b03 clean up lot of stuff 2026-03-22 15:49:13 +01:00
4115447022 ♻️ crazy refactor 2026-03-11 22:52:01 +01:00
35223b3560 update motor friction 2026-03-09 23:37:10 +01:00
0f13086fee remove custom ema and use mujoco motor control 2026-03-09 22:47:57 +01:00
70cd2cdd7d better robot joint loading 2026-03-09 22:17:28 +01:00
15da0ef2fd update urdf and dependencies 2026-03-09 20:39:02 +01:00
c753c369b4 add rotary cartpole env 2026-03-08 22:58:32 +01:00
c8f28ffbcc initial commit 2026-03-06 22:19:44 +01:00