You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Feature request
Feature description
For instance, When writing
pybind11
bindings for functions withgeometry::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
The text was updated successfully, but these errors were encountered: