Closed lrapetti closed 3 years ago
I would like to run a couple of further test before merging, I will add the video of the outcome in this PR
Today I have tested the PR again and I have found out that it was not behaving as expected. Indeed with https://github.com/robotology/human-dynamics-estimation/pull/237/commits/ccd7687fb1cec0ede2e5d75342968fcce8bc7736 the problems should be fixed.
Note that I have changed the new method name to calibrateAllWithWorld
because the main difference with calibrateAll
command, it is that we apply also a pre-multiplication calibration matrix which change the world in order to centre it in the desired link (the link given as argument).
This is documented in https://github.com/lrapetti/human-dynamics-estimation/blob/baf97260d984b42b012224da69a37b2fc0ef49a1/devices/HumanStateProvider/HumanStateProvider.cpp#L327.
I will still run some test, and put here the output, before considering the PR ready to be merged.
The following video shows the different output between the two calibration methods:
calibrateAll
@Yeshasvitvs @prashanthr05 I have updated the PR and tested the results (https://github.com/robotology/human-dynamics-estimation/pull/237#issuecomment-786758973), I think you can proceed with the reviews.
Thanks @lrapetti LGTM!
With this PR, we add the possibility to apply the secondary calibration also to the model base position and orientation.
This calibration procedure works analogously to the
calibrateAll
command, but the difference is that also a secondary calibration is applied to the base position and orientation.