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

iPhone/iPad .ros configuration directory

asked 2011-06-18 05:22:40 -0600

rado0x54 gravatar image

updated 2014-01-28 17:09:52 -0600

ngrennan gravatar image

Hey, after days of gruesome compiling and recompiling, I was able to build roscpp for the iPhone. I'll try to publish a detailed HowTo soon including finished frameworks for apr, apr-util, log4cxx, expat, boost and ros including armv6/7/i368 architectures.

I feel I'm stuck at a quite trivial problem now, but I don't know how to solve it. After trying to start my first node I get:

terminate called after throwing an instance of 'boost::filesystem3::filesystem_error' what(): boost::filesystem::create_directory: Operation not permitted: "/private/var/mobile/Applications/XXXXX-XXXXX-XXXXX-XXXX-XXXXXXXXXXXX/.ros/"

Which is logical since the iPhone's sandbox doesn't allow writing there. My question would be how to resolve this problem without messing with the roscpp code itself? Do I absolutely need the Configuration Dir? Is there some local/global parameter to influence its location?

Thanks for the help! Martin

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-06-18 06:26:52 -0600

dornhege gravatar image

Set the environment variable ROS_HOME to something writable. It currently is .../.ros where you get the error.

edit flag offensive delete link more

Comments

Thanks, that's exactly what I was looking for!
rado0x54 gravatar image rado0x54  ( 2011-06-18 10:43:16 -0600 )edit

Question Tools

Stats

Asked: 2011-06-18 05:22:40 -0600

Seen: 922 times

Last updated: Jun 18 '11