ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I'm not sure I understand what you're asking in this case. From your question it appeared you were wondering how to use the angles package, once you've installed it (you wrote "ros2-foxy-angles got installed by rosdep from my package.xml").

I don't understand how std_msgs.msg.Float32 is related.

The link to the source repository is displayed on the ROS Index page you already linked. See #q381559.

but nowhere in the source code does anything tell me where ROS2 installs the source code. [..] I'm starting to think Foxy does not support angles in Python.

While there is nothing in the package itself (ie: the actual business code) that would make it impossible to use this package on ROS 2, it does currently not install the Python-side. The setup.py is indeed pre-ament (meaning: catkin).

The angles package installed by rosdep for you is the C++ side.

If you have a need to use functionality right now, you could copy the relevant function(s) from the __init__.py and use them like that.

It would be nicer however if the Python side could be included in the next release.

I would recommend you open an issue on the tracker to discuss what would be needed to get it released. I would expect it would only take an update of the setup.py and perhaps the CMakeLists.txt.

It could also be the maintainers would like to split the Python and C++ versions of the packages. That would require slightly more changes, but would still not be too much work.