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

How can I ignore some folders in my ROS_PACKAGE_PATH?

asked 2014-01-13 18:41:11 -0500

ttblue gravatar image

updated 2014-01-28 17:04:57 -0500

ngrennan gravatar image

I have a folder in which is in my ros workspace which has ~300GB of data spread over many subfolders. And because of this, every single ROS node takes an age to start up (including roscore).

I moved all the data into an external folder not in my ROS_PACKAGE_PATH and everything started up quickly as before.

Now, I have to decide between changing the way the code works or finding a simple way to ignore packages on my ROS_PACKAGE_PATH. Is there something similar to a ROS_NOBUILD flag for this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-01-13 19:27:28 -0500

gvdhoorn gravatar image

If you are talking about a catkin workspace, you could try to see if creating a CATKIN_IGNORE file in the packages you want to ignore works. Just as ROS_NOBUILD, this is an empty file in the root of the package.

edit flag offensive delete link more

Comments

Unfortunately, I'm still stuck with Fuerte until Jan 30th. I don't want to make any major changes before a big deadline. Any ideas for fuerte?

ttblue gravatar image ttblue  ( 2014-01-13 19:50:29 -0500 )edit
1

No, not really. Is it actually necessary for the data to be in your workspace (ie: are they pkgs / nodes)? Otherwise I'd just leave it outside of it. I can imagine the file system crawling to be slow in case there are many (sub)folders.

gvdhoorn gravatar image gvdhoorn  ( 2014-01-13 20:15:16 -0500 )edit

Well, I think I wrote code in order to easily change the directory to anything I want from variables defined in my shell environment. It took 15 minutes to make the appropriate changes to get this working. Thanks anyway! I'll keep your answer in mind when I migrate to groovy in Feb.

ttblue gravatar image ttblue  ( 2014-01-13 21:35:45 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-01-13 18:41:11 -0500

Seen: 593 times

Last updated: Jan 13 '14