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

Fix method get_center_of_mass_and_inertia_matrix() in DQ_CoppeliaSimInterfaceZMQExperimental class #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ffasilva
Copy link
Member

Hi @juanjqo,

The method get_center_of_mass_and_inertia_matrix() in the class DQ_CoppeliaSimInterfaceZMQExperimental was dividing the inertia tensor by the body's mass. I'm unsure what motivated this implementation, but I removed this division. Not only this was misleading, as nothing in the documentation or signature of this method, or the higher level get_inertia_matrix(), indicated this operation would be performed, as it contradicts the implementation of the legacy C++ and MATLAB versions.

I believe it's for the best if users perform the division of the inertia tensor by the mass themselves if required for their application.

Kind regards,
Frederico

…inertia_matrix()': Method no longer divides the inertia tensor by the mass.
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.

1 participant