RussTedrake / manipulation

Course notes for MIT manipulation class
BSD 3-Clause "New" or "Revised" License
392 stars 115 forks source link

Take gains for `InverseDynamicsDriver` as parameters #312

Closed siddancha closed 1 month ago

siddancha commented 1 month ago

Problem

Solution

Backward compatibility

The user is allowed to set the gains of any subset of actuators. Any unspecified actuators will use the default gains. Therefore, existing scenario files that use the InverseDynamicsDriver without specifying gains will continue using the defaults for all actuators.


This change is Reviewable

siddancha commented 1 month ago

If you believe those gains are better for the spot inverse dynamics driver, can you please go ahead and add them to spot_with_arm_and_floating_base_actuators.scenario.yaml? Both to improve Spot, but because I want some example in CI to provide some level of coverage on this new code.

Added David's gains to the scenario file.

The linter also failed. https://github.com/RussTedrake/manipulation/blob/master/Developers.md#please-install-the-pre-commit-hooks

I completely missed the developer instructions! Fixed lint errors. I added a pointer to the developer instructions in the main README to help other contributors see it. Let me know if you'd like me to undo this.

RussTedrake commented 1 month ago

fyi.. just pushed the updated pip wheels, too.