mavlink / MAVSDK-Python

MAVSDK client for Python.
https://mavsdk.mavlink.io
BSD 3-Clause "New" or "Revised" License
324 stars 221 forks source link

Custom Actuator and Custom Mavlink Messages #506

Open alireza787b opened 2 years ago

alireza787b commented 2 years ago

Hi good day I have a custom actuator which is parachute servo that can be controlled from the board and also some custom uorb topics that will be broadcasted with a custom mavlink message. I want to get the custom mavlink message within my mavsdk app and can send command to the parachute servo from the app

I know it is possible and we should do it inside the Mavsdk C++ and then auto-generate the functionality in python but couldn't find good resources for that. Can you please recommend some docs on how to do it? Maybe an example or hint. I will contribute and make the doc for this topic later on :))

JonasVautherin commented 2 years ago

Doesn't action.set_actuator() do what you need?

alireza787b commented 2 years ago

Thanks How could I miss that? it seems it is precisely what I was looking for. What about custom Mavlink messages or subscribing to specific uORB topics being broadcasted vis mavlink?