Guys running the code below at HUMBLE doesn’t work but it works at older version why?
user:~/ros2_ws$ colcon build --packages-select custom_interfaces
[2.608s] WARNING:colcon.colcon_core.package_selection:ignoring unknown package 'custom_interfaces’in --packages-select
Summary: 0 packages finished [1.32s]
user:~/ros2_ws$ source install/setup.bash
user:~/ros2_ws$ ros2 interface show custom_interfaces/srv/MyCustomServiceMessage
Could not find the interface ‘/home/user/ros2_ws/install/custom_interfaces/share/custom_interfaces/srv/MyCustomServiceMessage.idl’
Your error seems more on the topic of not able to find
<interface_name>.idl file. So with that hint, I have the following questions for you:
Did you include the following line in your
Did you include the following lines in your
If you have these lines, you could compile your package correctly.
I have not worked on Humble yet, only on Foxy and Galactic.
I hope this helps. Let me know if this fixed your problem.
I copied the code from old working version and it still doesn’t work
January 8, 2023, 2:14pm
kindly, can you answer the question ?
January 13, 2023, 2:14pm
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.