Control FMU OUTPUT

Hi everyone !!
I have an ideal is control servo using MAVSDK but i can’t found any solution !! Please give me some advice !! Thanks !

Try this:
https://mavsdk.mavlink.io/main/en/cpp/api_reference/classmavsdk_1_1_action.html#classmavsdk_1_1_action_1ad30beac27f05c62dcf6a3d0928b86e4c

Can you be more specific, i still don’t get it. I have a PX6C drone and I have been able to pilot it with my laptop keyboard through a script using mavsdk-python and I want to write in that script the servo control function via fmu pwm output.

The link anchor doesn’t work for me (on Firefox), so it just sends me to the docs. I believe Julian was telling you to look at set_actuator_async() there :+1:

1 Like

Sorry, yes, that’s the one. I must have copied the wrong link.

The link was correct. It’s just that the anchors don’t seem to work on Firefox (they never worked for me in mavlink.io either).

Oh, got it. Yes, they don’t work properly because the side bar appears after scrolling, so then you need to refresh once more.

I wrote the codes but still have similar issues.
There are my screenshot and script in this post
Controlling Motors/Servos via actuator_control Messages from ROS

Thank you very much for any suggestion