Git Product home page Git Product logo

Comments (4)

julianoes avatar julianoes commented on July 19, 2024 1

I agree it would be nice to be able to register multiple callbacks for the wrappers as well as for the C++ API. Now as you asked the question is how to unregister. I don't know what pattern or mechanism is suited for this.

I have the same challenge with various methods that are registered by the plugins against SystemImpl. I use a "cookie" which is basically the this pointer of the object registering something.

https://github.com/Dronecode/DronecodeSDK/blob/aeed8a846ce0b7918eb56a55037e508e3aa1cbd8/core/system_impl.cpp#L71-L73

from mavsdk-python.

coderkalyan avatar coderkalyan commented on July 19, 2024

@JonasVautherin @julianoes Any updates on this? I also encountered this issue while using the Python wrapper, currently avoiding the problem by splitting my program into multiple scripts with separate MAVSDK connections ... this is not ideal 😄

from mavsdk-python.

JonasVautherin avatar JonasVautherin commented on July 19, 2024

No update as far as I know, so it's still in the state described above. I would love it if an advanced python developer could give an opinion and help finishing it 👍.

from mavsdk-python.

JonasVautherin avatar JonasVautherin commented on July 19, 2024

That will be fixed with MAVSDK v2.

from mavsdk-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.