ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
There's a partial answer here and some discussions about it in ament git
From my understanding : In order to detect that a package is installed, ROS2 needs to install a marker file. Similar to installing the packages manifest in ROS 1.
So I guess if that marker file didn't exist in the share folder, the ros environment couldn't find the package and we couldn't call the ros2 launch XXX
or ros2 run XXX
.
And it seems that the only way to generate that empty markfile at compile/deployment is to create it in src folder then transfer it to the share folder.