factory problems

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

factory problems

Marc Hartmann
Hi list,

I'm having a problem by using the factory interface.
The code:

factoryIface->Lock(1);
  if (!strcmp((const char*)factoryIface->data->deleteModel,""))
  {
    std::ostringstream ballStream;
    ballStream << "ball";
    strcpy((char*)factoryIface->data->deleteModel,
ballStream.str().c_str());
  }
  factoryIface->Unlock();

Deletes the 'ball' - model physical (my robot can drive through), but the
image is still there.

Any idea?

Thanks.




------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo