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

Make python geometry msgs typecastable into C++ types automatically #723

Open
adityapande-1995 opened this issue Jan 28, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@adityapande-1995
Copy link

Feature request

Feature description

For instance, When writing pybind11 bindings for functions with geometry::msgs::Quaternion as an argument, geometry_msgs.msg.Quaternion cannot be supplied on the python side, as the two types cannot be typecasted readily into each other.

It would be nice to have a smoother way to convert between these two, instead of writing a custom typecaster every time.

Implementation considerations

We could write a custom typecaster for these somewhere in ros2 repos, or make the python type itself derive from C++ type somehow.

cc @sloretz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant