Closed mikeferguson closed 8 months ago
I'll have a separate PR for the filter - once I get it cleaned up - but with these changes, the robot reliably approaches the "dock" and resets to the staging pose when it doesn't start charging (since it is just looking at a shelf)
For the filter, can you make that a new util? That will be useful to use for other docking plugins, be unit testable, & a separate class can manage its own coef variable.
Yes - I've broken the filter out, and added tests - FUN FACT - in adding the tests, I figured out why things were so wonky initially when trying to do the transforms - the docs for tf2::Quaternion::setEuler could use an update (I'll open a PR to try and fix those docs)
Tag me in that PR, curious what you found