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

ROS Indigo DMG

asked 2014-10-05 14:17:04 -0500

Chrimo gravatar image

updated 2014-10-05 14:51:38 -0500

Hi OSX-Users,

it's a long and upgly job to compile the ros environment for OSX.

Most users want to use ROS only and do not have the experience to setup the environment.

Why is there no easy to use DMG available for OSX-ROS-Users ?

Cheers Christian

edit retag flag offensive close merge delete

Comments

Another simple usage may be: sudo brew install ros-indigo-*

Chrimo gravatar image Chrimo  ( 2014-10-05 14:50:49 -0500 )edit

I found these instruction good and easy to follow.

kunaltyagi gravatar image kunaltyagi  ( 2014-10-05 16:26:43 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-10-05 23:58:39 -0500

William gravatar image

For people in the future, the stuff below was accurate on Oct. 5th, 2014.

Short answer, dependency resolution on OS X is not very stable which makes it hard to continuously create DMG's and Homebrew formula and then keep them working.

The long answer is that we want to what you describe, but it takes a lots of effort. And even though many in the community have tried (including myself) it is just a lot of work to constantly generate DMG's or Homebrew formula for all of ROS.

Keeping ROS building from source on OS X is already a big job. In the past I have spear headed this effort and recently many in the community have worked on this as well, just see the "meta" issues for OS X support for hydro and indigo to get an idea of the problems which come up on a regular basis:

https://github.com/ros/rosdistro/issu... https://github.com/ros/rosdistro/issu...

So once the community fixes those issues, there is often little time left over to spend on addressing the packaging problem. There are some fundamental issues which I am convinced have solutions, but which no one has had time to implement and keep running. For example, it is not really simple to setup Continuous Deployment on OS X. Without tools like pbuilder, chroot's which actually work, docker (LXC's), etc... it is very difficult to setup a "clean room" like environment for generating debs on OS X like we traditionally do in Linux. There are some services like Travis-ci which have basic support continuous integration on OS X, but I haven't had time to fully investigate this as a solution. Homebrew has their brewbot, which might also work for our use case, but again no one has had time to look into it as a solution. Once we have a build farm which can continuously build ROS on OS X then we can start to tackle the problems with deployment.

There are a few issues with deploying a ROS "SDK" in a DMG, but these issues tend to only affect certain users. If we were to build a ROS SDK bundle in a DMG which contained desktop-full then we would need to additionally ship any dependencies which are not provided by OS X along with it. A good example of this would be boost. The problem with shipping boost with the ROS SDK is that if then the user installs a different version of boost from somewhere else, like Homebrew, then tries to write her own program which uses this newer boost and the boost from the ROS SDK, then you will suddenly start getting bugs (some subtle others not) because you are using multiple versions of boost in the same program. For users which just want to run rviz or some other preexisting tools on their mac, this won't be an issue, but it does potentially present a problem for developers which want ... (more)

edit flag offensive delete link more

Comments

Posting for @Chrimo: Hello William,

I've expected such problems ;-)

Millions thanks for the very detailed view of development problems.

Cheers Christian

William gravatar image William  ( 2014-10-06 13:18:03 -0500 )edit

No problem, glad to periodically put out updates on the status.

William gravatar image William  ( 2014-10-06 13:18:14 -0500 )edit

BTW, I moved your comment into an actual comment instead of the answer you posted. In the future please only use the answer mechanism for answers. Thanks!

William gravatar image William  ( 2014-10-06 13:18:55 -0500 )edit

Question Tools

Stats

Asked: 2014-10-05 14:17:04 -0500

Seen: 270 times

Last updated: Oct 05 '14