Package not found when running ros2 launch

I am working on Rosject part 3 of the ROS2 in 5 days Python. Until now I did not had any problem at all, but now even if colcon build works perfect, after I source, the launch command does not find the package I have just built. Yesterday everything worked great and I did not change anything. Please tell me where I make something wrong.


Make sure you create your packages directly in the ros3_ws/src directory.

ros2 - typo says ros3 - not available yet

@codealchemist2 How may I check this?

Solved it. There was a ‘/’ missing somewhere in package.xml and finally found it. However, why did the build command successfully worked if there was something wrong?

Thank you for sharing your discovery with us!

This is an interesting question for the ROS team - do you mind asking them?

It might be that package.xml is ignored if it cannot be properly parsed. It might be a bug to fix or an improvement to make.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.