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

Real ros root

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

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

ROS_ROOT doesn't point to the root of a ros installation (i.e. where, 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

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

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:

edit flag offensive delete link more

Question Tools

1 follower


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

Seen: 516 times

Last updated: Jul 24 '12