-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add libraries for observers #27
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are mostly high level comments, I'll have a closer look after this first round.
Within reason try to avoid long functions and try to avoid duplicating large swat of codes between different functions, this makes it harder to follow the logic and to understand the difference in implemented behavior for some of them without paying close attention to the details which makes it harder to reason about and to debug
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
…on_Arnaud into LibrariesPR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed in person, the main remaining changes is around the building of ContactSet(s) while updating contacts, which can be circumvented by calling the callbacks as the contacts are detected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again for the work you put into this. I think we will be able to merge this soon.
I have pushed something closer to what I add in mind with the introduction of the contacts' callbacks, feel free to cherry-pick them on the relevant branches or adapt them otherwise
Please also address the (relatively few) remaining points and we'll be good to go :)
return out.str(); | ||
} | ||
|
||
} // namespace mc_state_observation::measurements |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have pushed something closer to what I had in mind about passing callbacks to the update function: gergondet@ad5f447
(matching observer code change: gergondet@1dbe830 without considering whether going through the contact list is absolutely needed or it can be done in the callback)
@@ -0,0 +1,705 @@ | |||
#include <mc_state_observation/conversions/kinematics.h> | |||
|
|||
#include <mc_state_observation/odometry/LeggedOdometryManager.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not done yet
I have adressed your latest requests |
No description provided.