- Le plus récent
- Le plus de votes
- La plupart des commentaires
Hi,
I met a similar question. When I use rospack find my_package, it shows my package is refer to "catkin_ws/install/my_package/share /my_package". And, in that directory, it did not include the launch folder. I think the local_setup.bash built by colcon points packages in install folder (not the src folder).
The way I solved is to add Install
command in CMakeList to put executive files, launch folds (or other folders) to share folder. For instance, command likes:
## Mark other folders (e.g. launch and world folder)
install(DIRECTORY
config
launch
meshes
rviz
urdf
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)
Hope this help.
Best,
Edited by: NexCOBOT on Apr 19, 2019 10:34 AM
This is correct, for more information see the “Missing Install Directives in CMakeLists.txt" section in our building and bundling blog post: https://aws.amazon.com/blogs/opensource/building-bundling-ros-app-aws-robomaker/
Hello,
Thanks a lot for the solution! This was indeed the problem, and adding the correct CMake install dependencies fixed it
Contenus pertinents
- demandé il y a 6 mois
- demandé il y a un an
- demandé il y a 2 mois
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a 2 ans