I don't believe that stageplugin for player is currently working in SVN head. I think that all that all that needs to be changed is the following single line, however don't know enough (anything) of Fltk so I'm not sure if this is correct. It works for me for simple.cfg but might be terribly incorrect usage. I'm just basing this on the move in main.cc in stage to Fl::run from UpdateAll, and that the same change probably ought to be made here. (Fl::run just calls Fl::wait() repeatedly I think, hence the equivalentce between updateAll and update).

Index: libstageplugin/p_driver.cc
--- libstageplugin/p_driver.cc    (revision 8259)
+++ libstageplugin/p_driver.cc    (working copy)
@@ -577,7 +577,7 @@
             switch( interface->addr.interf )
                 case PLAYER_SIMULATION_CODE:
-                    world->Update();
+                    Fl::wait();

There will probably still be issues if you want to run the player driver headless, as I think that it should then be calling update instead (as in stage main.cc when running headless) - I'll look into this if I get time,


On Wed, Sep 16, 2009 at 10:21 PM, Chris Chambers <chrischambers1234.player@gmail.com> wrote:

Has anyone got stage 3.2 or SVN head stageplugin to run on a mac? I'm on OSX 10.5.8 with Player SVN head. I've tested and stage 3.1 works as expected however when I upgrade to SVN head (or the 3.2 release) while stage runs fine, the stage plugin doesn't.

i.e - "stage simple.world" works correctly, "player simple.cfg" doesn't

It loads up the window and then becomes unresponsive, and the simulation doesn't rn (seting paused to false in the world file and it still doens't run)

If someone has got it working it would be great if they could let me know any special things they had to do to get it working, otherwise anyone else having this issue?