Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove Geometry::scale #119

Merged
merged 2 commits into from
Feb 2, 2024
Merged

Conversation

arntanguy
Copy link
Contributor

This PR proposes to remove the duplication between double Geometry::Mesh::scale and Eigen::Vector3d Geometry::Mesh::scaleV. Indeed scaleV contains all the necessary information and having both is unnecessary and confusing.

Loading from urdf/yaml still supports both a single valued or dimensional scale. Exporting always exports the dimensional scale.

See jrl-umi3218/mc_rtc#430

@gergondet
Copy link
Member

Hi @arntanguy

Thanks for the PR I have no problem with it but I suggest we make sure that no code (that we are aware of) relies on scale first. Release new versions of the packages that did and finally merge and release a version of RBDyn that removes scaleV

@arntanguy
Copy link
Contributor Author

Yes, magnum does, but besides that I am not aware of any other that relies on it.

@arntanguy arntanguy merged commit 00548cc into jrl-umi3218:master Feb 2, 2024
20 checks passed
gergondet added a commit that referenced this pull request Feb 5, 2024
* Remove scale in favor of scaleV in visuals (#119)
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants