#248 GetUnsubscribedModelOfType() usage is wrong

stage (111)

From Toby:

When creating a player driver GetUnsubscribedModelOfType is called to make sure that if you have several devices (say lasers) on your robot each index the driver provides gets a unique stage model attached. However since this is called in the constructor *before* any subscriptions are made it just returns the first occurance in every case leading to several identical devices.


  • Toby Collett

    Toby Collett - 2008-09-15

    I have attached a patch that fixes this issue
    File Added: stage_multiple_interfaces.patch

  • Richard Vaughan

    Richard Vaughan - 2008-09-16
    • status: open --> closed-fixed
  • Richard Vaughan

    Richard Vaughan - 2008-09-16

    Fixed in trunk with Toby's patch. Thanks Toby!


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks