ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
It is currently not possible in ROS2 to create a custom message type in a Python package:
https://index.ros.org/doc/ros2/Tutorials/Custom-ROS2-Interfaces/#id4
You need to put your message in a separate C++ package.