William Woodall

ROS and Stage4 on OS X

23 Sep 2011

So for my autonomous mobile robotics class I am taking this semester my class project is going to be a new coverage path planner for the Autonomous Lawnmower.  We have decided to develop this planner in simulation and as we surveyed the landscape (MORSE, Gazebo, Stage, and Custom built) we landed on Stage.

Problem though, the stage that comes with ROS didn’t work on OS X, but thanks to Richard Vaughan’s recent work on Stage4, OS X is back in action as a supported platform.

Another problem, stageros, the wrapper for Stage to interact with ROS, was designed for a pervious Stage API and didn’t compile.  So we set out to update rosstage to support Stage4.  We managed to get everything to point where it worked on OS X and Linux.

Stage4 plus rViz on OS X

After spending some time fixing the issues (mostly trivial things) we discovered that Vaughan head already done most of this in the trunk of ROS’s stage unary stack, doh.


Anyways long story short we managed to get Stage4 and ROS playing nice on OS X and Linux and now our class work can proceed.  The only difference between my changes and Vaughan’s was that I decided to resolve the Stage4 dependency with Homebrew rather than in the ROS unary stack.

Here is the brew Formula:


I recommend using HEAD until a stable tag comes out (brew install --HEAD <url>).

comments powered by Disqus