-
-
Notifications
You must be signed in to change notification settings - Fork 508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to change PWM output signal? #533
Comments
I don't think this is possible with the SDK because there is AFAIK no API to support it AND this won't necessarily be supported by default in PX4. Without having tried this (i.e. maybe not correct) .... to make it work in PX4 you'd have to look at adding a mixer file to map control inputs to outputs - http://dev.px4.io/en/concept/mixing.html |
PS The people who might help with this are possibly at Interdrone. @bkueng Can you comment about PX4 support? As I understand it the mixer is what defines what comes out of the MAIN/AUX outputs - for certain inputs (control group UORB topics?). Does the mapping between MAVLink and those UORB topics exist - ie if you create a mixer and send the appropriate MAVLink message will this work? |
@MaithaM1 this will need some work for the SDK. In the meantime, if |
There is now the set_actuator call: MAVSDK/src/mavsdk/plugins/action/include/plugins/action/action.h Lines 447 to 456 in 68c8041
|
I'm trying to change the PWM output using dronecode sdk. I don't need to run a mission or anything, I want to do a static test where I can simply change values. I seem to be running out of options in terms of simply changing pwm outputs within a script in a reliable manner (NSH pwm test works but only for main out). Is there anyway of currently doing this?
The text was updated successfully, but these errors were encountered: