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

Conflicts between Cartographer and other packages #5

Open
duffrea opened this issue Jul 18, 2022 · 1 comment
Open

Conflicts between Cartographer and other packages #5

duffrea opened this issue Jul 18, 2022 · 1 comment

Comments

@duffrea
Copy link

duffrea commented Jul 18, 2022

Hi, sorry to bother you again but I have problems after making catkin_make_isolated --install.

Starting from the beginning, I had problems when performing catkin_make_isolated --install --use -ninja, but I removed the --use -ninja part as you suggested in an another issue, and I solved the problem.

Unfortunately I encountered other problems when I tried to add other packages to the workspace.

In particular, even if performing catkin_make_isolated --install and source install_isolated/setup.bash with the added packages doesn't give any error, the trouble comes when I try to launch launch files belonging to the packages that I added.
This is a template of the error:

RLException: [scout.launch] is neither a launch file in package [gazebo] nor is [gazebo] a launch file name
The traceback for the exception was written to the log file

In my opinion this happens because the added packages are not sourced properly, but in order to make Cartographer work source install_isolated/setup.bash is mandatory and I don't know how to solve this problem, and, as a consequence I don't know how to integrate my packages with the functionalities provided by Cartographer. I also tried to use catkin build instead of catkin_make_isolated --install, but I had some strange errors when building cartographer_ros.

If you have any suggestions, I would be grateful.

Thanks in advance.

@ojura
Copy link
Contributor

ojura commented Jul 26, 2022

Hi! Packages for the scout are sometimes not friendly for building in isolation. I would suggest you use catkin_make for them and then build this separately - you can layer Catkin workspaces on top of each other; all that is important is what the environment is when you are building a repo.

E.g. when you build any workspace, you usually layer in on top of the /opt/ros install workspace by having that source'd. But you can have some other workspace ws1 instead, and the final result will be layered on top of it (meaning that in ws2, you will see everything from /opt/ros, ws1 and ws2).

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

No branches or pull requests

2 participants