Skip to content

Add equivalent to eigenpy::register_symbolic_link_to_registered_type #10

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

Merged
merged 3 commits into from
Apr 28, 2025

Conversation

Lucas-Haubert
Copy link
Contributor

To answer this issue: #9

@Lucas-Haubert Lucas-Haubert marked this pull request as ready for review April 15, 2025 13:08
* \returns true if the type T is effectively symlinked.
*/
template <typename T>
inline bool register_symbolic_link_to_registered_type(nb::module_& m) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I never liked the name in eigenpy personally. I think we can come up with a better name, something like check_registration_alias?

What do you think @jorisv @jcarpent ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed with @jcarpent, we can change the name later after declaring a deprecation.

@Lucas-Haubert
Copy link
Contributor Author

Lucas-Haubert commented Apr 28, 2025

Hey @ManifoldFR @jorisv @jcarpent, this is done with the C++ attribute [[deprecated]. The new name is check_registration_alias, tell me what you think about this.

@ManifoldFR
Copy link
Member

Hey @ManifoldFR @jorisv @jcarpent, this is done with the C++ attribute [[deprecated]. The new name is check_registration_alias, tell me what you think about this.

I like the name (because I'm the one who suggested it so I'm not neutral).

Copy link
Member

@ManifoldFR ManifoldFR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Good work once again @Lucas-Haubert.

@ManifoldFR ManifoldFR merged commit c3df621 into Simple-Robotics:main Apr 28, 2025
18 checks passed
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.

2 participants