Skip to content
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

wholebodydynamics: Add support to log internal quantities useful for debug #122

Open
traversaro opened this issue Sep 9, 2021 · 2 comments

Comments

@traversaro
Copy link
Member

traversaro commented Sep 9, 2021

As mentioned in #119, it often happens that the estimation provides unexpected values. It would be great to modify wholebodydynamics to sistematically log relevant data, to easily debug estimation problems.

Ideally, the data logged could go in the same file created by the telemetryDeviceDumper YARP device provided by yarp-telemetry, to automatically synchronize it with sensor measures. A possible strategy (but possible alternative strategy are welcome) is to:

  • Modify telemetryDeviceDumper to expose a C++ YARP device interface that can be used by arbitrary devices to log variables without the need to modify telemetryDeviceDumper (telemetryDeviceDumper just need to be manually modified for devices that we don't want to modify, for example because they are hosted in YARP and this would create a circular dependency.
  • Once telemetryDeviceDumper exposes the necessary interfaces, modify the wbd device to (optinally) log its data via this interface.
@prashanthr05
Copy link
Contributor

prashanthr05 commented Sep 10, 2021

Related:

@isorrentino worked in this direction from the BipedalLocomotionFramework side.
A PR is open in BLF: ami-iit/bipedal-locomotion-framework#405

@traversaro
Copy link
Member Author

A PR is open in BLF: ami-iit/bipedal-locomotion-framework#405

The idea is that by logging directly in WBD, we can log quantities that are not available otherwise (for example input quantities after the filter).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants