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

prefer moveit::core over robot_state namespace #1878

Closed
v4hn opened this issue Feb 5, 2020 · 4 comments · Fixed by #2135
Closed

prefer moveit::core over robot_state namespace #1878

v4hn opened this issue Feb 5, 2020 · 4 comments · Fixed by #2135
Labels
moveit day candidate This issue can likely be resolved in less than a day

Comments

@v4hn
Copy link
Contributor

v4hn commented Feb 5, 2020

Confusingly, robot_model/robot_model.h creates alias namespaces for moveit::core. Ioan added this long ago to stay backward compatible with old usage.

However, as a result the namespaces where not aligned throughout the codebase (grep for robot_state::RobotState, for example) and the alias is still there.

I believe we should deprecate the old names and align our codebases not to use the old names.

@davetcoleman

@v4hn v4hn added the moveit day candidate This issue can likely be resolved in less than a day label Feb 5, 2020
@v4hn v4hn closed this as completed Mar 15, 2020
@davetcoleman
Copy link
Member

This duplicate namespacing has always bothered me. @v4hn why did you close this? How about we make the change now in MoveIt 2? @henningkayser

@davetcoleman davetcoleman reopened this Jun 2, 2020
@rhaschke
Copy link
Contributor

rhaschke commented Jun 2, 2020

Actually, most of these namespace instances were removed in #1924. But there are still a few left...

@v4hn
Copy link
Contributor Author

v4hn commented Jun 2, 2020

I was under the impression the linked pr fixed it, but @rhaschke is right, apparently there are still some places left..

@v4hn
Copy link
Contributor Author

v4hn commented Jun 2, 2020

pr will be ready in 25 😇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
moveit day candidate This issue can likely be resolved in less than a day
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants