ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question
0

Fix sourcing each package separately with catkin_make_isolated

asked 2017-08-10 08:12:57 -0600

mmy227 gravatar image

updated 2017-08-10 09:37:12 -0600

I have been using catkin_make_isolated to build my workspace. Whenever I create a new catkin package, I have to add source ~/catkin_ws/devel_isolated/package_name/setup.bash to my ~/.bashrc otherwise I cannot run any nodes from that package. I get errors such as [mobility_bringup_all.launch] is neither a launch file in package [mobility_bringup] nor is [mobility_bringup] a launch file name.

Only using source ~/catkin_ws/install_isolated/setup.bash and source ~/catkin_ws/devel_isolated/setup.bash doesn't work.

EDIT: If I source multiple ~/catkin_ws/devel_isolated/package_name/setup.bash in my ~/.bashrc, I cannot run any nodes from any of the packages. If I only source one package's setup.bash, I can run that package's nodes. The problem is the same as in this post. It seems the source commands are being overwritten? Is there a way to fix this?

Thanks!

edit retag flag offensive close merge delete

Comments

Not an answer, but is there any reason you're not using catkin_tools?

gvdhoorn gravatar image gvdhoorn  ( 2017-08-10 08:17:47 -0600 )edit

I'm using catkin_make_isolated because I installed Google Cartographer and that's what they said to use.

mmy227 gravatar image mmy227  ( 2017-08-10 08:18:53 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-08-10 12:44:40 -0600

allenh1 gravatar image

When you use catkin_make_isolated --install, you need to source ~/catkin_ws/install_isolated/setup.bash.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-08-10 08:12:57 -0600

Seen: 499 times

Last updated: Aug 10 '17