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

Add an utility to test the correct mounting of the feet IMUs sensors #62

Merged
merged 37 commits into from
Jan 22, 2021

Conversation

S-Dafarra
Copy link
Member

No description provided.

utilities/MasImuTest/src/MasImuTest.cpp Outdated Show resolved Hide resolved
utilities/MasImuTest/src/MasImuTest.cpp Outdated Show resolved Hide resolved
@prashanthr05
Copy link
Collaborator

In general, the code LGTM. However, it would be great to have some documentation if it's going to be streamlined as a full-fledged testing tool for MAS orientation sensors.

@S-Dafarra
Copy link
Member Author

In general, the code LGTM. However, it would be great to have some documentation if it's going to be streamlined as a full-fledged testing tool for MAS orientation sensors.

That's a good point. I will add a README.

@GiulioRomualdi
Copy link
Member

Hi @S-Dafarra let me know when I can start to review the PR

@traversaro
Copy link
Collaborator

traversaro commented Nov 10, 2020

I don't remember if we ever discussed that, but I guess you could be interested in the iDynTree::predictSensorsMeasurements function that has some functionality similar to the one of this PR (https://github.com/robotology/idyntree/blob/114671fb1a012f6214b35b8462d463fea99781fd/src/sensors/include/iDynTree/Sensors/PredictSensorsMeasurements.h#L68), see also the tests in https://github.com/robotology/idyntree/blob/114671fb1a012f6214b35b8462d463fea99781fd/src/model_io/urdf/tests/PredictSensorsMeasurementUnitTest.cpp#L103 . Another interesting reference can be robotology/icub-tests#21 .

@traversaro
Copy link
Collaborator

As mentioned in today's meeting, it could make sense to have something similar to this but for checking the FT sensors measurements (not as part of this PR, but I wanted to leave the pointers somewhere). For this, it can be useful to use the iDynTree::ExtWrenchesAndJointTorquesEstimator::computeExpectedFTSensorsMeasurements method when the only external force acting on the robot is the one supporting it on the pole. For an example of the use of this method (that internally is calling iDynTree::predictSensorsMeasurements), see https://github.com/robotology-playground/insitu-ft-analysis/blob/44e496e1ed432dcc1c7364b2bfb49442a1e2a3f6/utils/obtainEstimatedWrenches.m#L215 .

@traversaro
Copy link
Collaborator

fyi @prashanthr05

@S-Dafarra S-Dafarra force-pushed the feature/MasImuTest branch 2 times, most recently from 2bbf8a3 to 8931e27 Compare November 25, 2020 09:21
@S-Dafarra
Copy link
Member Author

Really sorry for the time it took, but I guess I am finally ready to merge this.

Fixed some indentation problem and a flag in the cmake file for creating tests.
Updated the CMakeLists to use the CMake macro.
Updated the README.
@GiulioRomualdi
Copy link
Member

Thank you @S-Dafarra and @prashanthr05. Merging

@GiulioRomualdi GiulioRomualdi merged commit 4234989 into ami-iit:master Jan 22, 2021
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

Successfully merging this pull request may close these issues.

None yet

4 participants