-
Notifications
You must be signed in to change notification settings - Fork 13
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
MotorEconders-consistency - retrieve the coupling matrix at runtime #60
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.
Some comments @davidetome.
If we no longer use the ini files, I'd rather remove them from the repo and then clean up the cmake machinery.
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 agreed offline, @davidetome will get shot of the couple matrix param from within the ini file.
as sad T2T w/ @pattacini ,unfortunately, there are still some params used in the cc @traversaro |
@pattacini matrices removed from .ini files, tested 👍🏻 cc @traversaro |
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.
Great!
This PR fixes the problem on the
MotorEconders-consistency
tests, due to the fact that the coupling matrix was retrieved from its own.ini
files instead of the ones used by the robot.Using the
IRemoteVariable
interface we access thekinematic_mj
variable that stores the matrices for each group of joints (loaded from the XML files).After re-formatting into a single matrix, the results of the test are now consistent.
Tested on the Left Leg
Old way (using matrices in separate .ini files)
Used Matrix
Plots
New way (using matrices retrieved at runtime)
Used Matrix
Plots
The other parts have been tested in terms of a retrieved matrix using the DEBUG mode on an ETH robot (run w/o the robot)
cc @pattacini @Uboldi80 @gsisinna