DAIRLab / dairlib

MIT License
76 stars 27 forks source link

added low pass filtering for commanded height in standing controller #256

Closed Brian-Acosta closed 2 years ago

Brian-Acosta commented 3 years ago

This change is Reviewable

Brian-Acosta commented 3 years ago

@yangwill Done. @yminchen formatting fixes done - I will write a unit test later - fwiw the filter works as expected inside the standing controller using the xbox controller in simulation.

I can't include a second constructor since both constructors would take the same argument types (double, int) which is illegal in c++, though I can add static factory methods later if we really need them.

Brian-Acosta commented 2 years ago

Closing since we added the core functionality of this PR in #286