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

Real ros root

asked 2012-07-24 08:49:05 -0500

updated 2012-07-24 13:00:01 -0500

ROS_ROOT doesn't point to the root of a ros installation (i.e. where setup.sh, the base binaries, base libs reside), but I'm looking for installation root for use with a release script I'm writing.

Is there a way to figure this out programmatically? I know for example in fuerte I could simply figure out what the relative path is and adjust, but it's different for previous versions, and I'd like to use a sanctioned way to avoid edge cases/be future-proof.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2012-07-24 22:50:44 -0500

KruseT gravatar image

Future releases of ROS will try to move away from the concept of a ROS_ROOT to be FHS compliant, meaning users will be able to install ROS like other other software into e.g. /usr/local/. So there will not be any ROS_ROOT anymore in the future. To be future-proof, do not assume that a ROS_ROOT exists, even in concept.

You can see these REPs for this:

http://www.ros.org/reps/rep-0122.html

http://www.ros.org/reps/rep-0123.html

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-07-24 08:49:05 -0500

Seen: 708 times

Last updated: Jul 24 '12