On 2011-12-26, at 20:12, Rich Mattes <jpgr87@gmail.com> wrote:

On 12/26/2011 07:40 PM, Alex Wood wrote:

Just skim read your paper and tried compiling the example you provided
with no luck I am guessing the it is because the paper was written in
2008 and the Stage platform has moved on. I can't find the API for
stage though and the examples provided in the stage/exmaples/ctrl dir
don't have a "main" which makes me believe that they are meant to be
used by something else (I am guessing they are called by the world
file) although there is no documentation showing how they should be
used. Any pointers would be appreciated.

I tried compiling with this command:

g++ -o minimal `pkg-config --cflags stage`  minimal.cc `pkg-config --libs stage`

Thanks Rich for the no GUI info. Just have to find the other option I
need now, back to Google I go.

Thanks guys


You're right; Stage controllers are built as shared libraries.  Stage loads the controllers and handles calling into them.

This is exactly what is described in the paper  Though the API has indeed developed, the use model has not. 

The minimal ctrl program at github linked below is new. Please fork it for your controllers so we can build up a family of controllers. 


You can find a barebones Stage controller at [1], you can use it as a basis along with the controllers provided in the Stage source.  You invoke them by adding the "ctrl" keyword to the Stage worldfile, as shown in the example and simple.world distributed with Stage.  The Stage API for the different model types is given in stage.hh, you can refer to it and to the documentation at [2].


[1] https://github.com/rtv/stagectrl
[2] http://rtv.github.com/Stage/namespaceStg.html

Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
Playerstage-users mailing list