Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ros2 launch can't find launch files installed with symlink-install #83

Closed
dhood opened this issue Jun 19, 2018 · 1 comment
Closed

ros2 launch can't find launch files installed with symlink-install #83

dhood opened this issue Jun 19, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@dhood
Copy link
Member

dhood commented Jun 19, 2018

This isn't currently supported but it would be convenient; opening for visibility/tracking.

e.g. if I have an ament_python package, when I swap to installing with symlink, a launch invocation that was otherwise successful then gives:

$ ros2 launch topic_monitor launch_reliability_demo.launch.py
file 'launch_reliability_demo.launch.py' was not found in the share directory of package 'topic_monitor' which is at '/Users/dhood/ros2_ws/install_isolated/topic_monitor/share/topic_monitor'
@dhood dhood added the enhancement New feature or request label Jun 19, 2018
@dhood
Copy link
Member Author

dhood commented Jun 20, 2018

I was too quick to jump to conclusions there.

The real issue was with the setup.py of the package that was symlink installed. It actually wasn't installing properly but giving this error:

Installed /Users/dhood/ros2_ws/build_isolated/topic_monitor
running install_data
error: can't copy 'launch/fragmentation_demo.launch.py': doesn't exist or not a regular file

which was because I had listed the launch files as data_files that were stored in the source directory of the python package. Moving them out of the directory, installation works, and then the launch file can be run.

I haven't managed to make the launch files actually get installed as symlinks yet, but that's not the fault of ros2 launch, so I'll close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant