ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Fix sourcing each package separately with catkin_make_isolated

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

mmy227 gravatar image

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

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 -0500 )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 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

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

Question Tools

1 follower

Stats

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

Seen: 551 times

Last updated: Aug 10 '17