ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Yes, it is possible.
Earlier, I have tested it and it works. However, as stevemacenski suggested in his answer, it is better to keep interface definitions in a separate package.
You need to use rosidl_target_interfaces
if you are on Foxy, or Galactic. Please check the following answer for detailed instructions:
https://answers.ros.org/question/402196/ros2-configure-a-package-having-idl-files-srv-msg-etc-along-with-cpp/?answer=402218#post-id-402218
2 | No.2 Revision |
Yes, it is possible.
Earlier, I have tested it and it works. However, as stevemacenski suggested in his answer, it is better to keep interface definitions in a separate package.
You need to use rosidl_target_interfaces
, if you are on Foxy, Foxy or Galactic. Please check the following answer for detailed instructions:
https://answers.ros.org/question/402196/ros2-configure-a-package-having-idl-files-srv-msg-etc-along-with-cpp/?answer=402218#post-id-402218