feat(actuators): Control Flaps from AUX channel#26913
Conversation
|
/en/config/actuators.md
|
🔎 FLASH Analysispx4_fmu-v5x [Total VM Diff: 264 byte (0.01 %)]px4_fmu-v6x [Total VM Diff: 48 byte (0 %)]Updated: 2026-04-02T09:07:21 |
5f233d6 to
936658d
Compare
sfuhrer
left a comment
There was a problem hiding this comment.
Only have some documentation remarks, I agree with the feature.
Main driver is to enable flaps to be controlled over MAVLink.
| You could then use set the RC channel to control the `AUX3` output using `RC_MAP_AUX5`. | ||
|
|
||
|
|
||
| ### Flaps and Spoiler Control with RC |
There was a problem hiding this comment.
-
Is this supposed to be nested under
## Generic Actuator Control with RC? Assuming not, make this a level 2 heading. -
Can this go anywhere else? This topic is about generic actuator control and payloads. This does not fit. I'd even prefer this as a topic in actuator setup where you link to it.
-
Can this work with Joysticks? I mean you say
The preferred method to manually actuate spoilers and flaps is to map an RC switch to an
AUXoutput (see Generic Actuator Control with RC)- But can you also map a joystick switch to
AUXand if so we should link to how. - The linked topic above "Generic Actuator Control with RC" does not explain how to do so for a joystick.
I expect you should update the topic above and this would all work.
- But can you also map a joystick switch to
-
In this case you have presented as a preferred method and as a less preferred method that is going to be removed. Because of that removal I would present the first way as "the way to do it" and the alternative entirely inside an info block as "not recommended". So structure the first para like this:
To manually actuate spoilers and flaps you should map an ...
And the second bit would be like
::: warning
It is also possible to define a flaps channel directly on the RC using RC_MAP_FLAPS. This channel can also be used to control the spoilers by setting FW_SPOILERS_MAN toFlaps channel. This method is not possible when the source for the manual control is MAVLink.
Note that this method is not recommended and will be removed in a future release.
:::
There was a problem hiding this comment.
- I also do not like the place its at currently. Do you think placing it in the Actuators is better? @hamishwillee
- See above
- Yes. I renamed RC to Manual Control, which includes RC, Joystick, Mavlink etc.
- Makes sense to me, i`ll adjust the second bit.
There was a problem hiding this comment.
3. Yes. I renamed RC to Manual Control, which includes RC, Joystick, Mavlink etc.
I perhaps didn't make my point well enough. Where you say (see [Generic Actuator Control with RC](#generic-actuator-control-with-rc)) THAT topic is currently above this one. Have a look at it - it ONLY covers RC and it isn't clear how you would configure a Joystick for generic actuator control.
In other words, if you follow the link and you have a Joystick, you're stuck.
The solution is to make the "Generic Actuator Control with RC" also cover Joystick.
Hope that makes sense (and that I am not wrong!)
There was a problem hiding this comment.
I also do not like the place its at currently. Do you think placing it in the Actuators is better?
The current place feels wrong, while in the actuators section is at least relevant to the topic.
I see two options:
-
There are a whole bunch of things that we might normally control manually, more than just flaps and spoilers. IN this case we'd create a new topic like "Manual Control of Flight surfaces" (or something that captures the "what you want to do" so it is searchable. Then include this as part of it.
-
Move into
#### Flap Scale and Spoiler Scale Configurationas a nested topic at the end.I'd probably remove the line you added there, mostly because I don't know what "channel setup" means"
The channel setup of flaps and spoilers is described in Flaps and Spoiler Control with Manual Control.
Instead I'd link in the comment I added here https://github.com/PX4/PX4-Autopilot/pull/26913/changes#r3026074836
There was a problem hiding this comment.
I moved it to the actuators, makes most sense to me.
Co-authored-by: Silvan Fuhrer <silvan@auterion.com>
6fae497 to
981fd4c
Compare
Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
|
As far as I can tell, the option to map AUX from joystick does not exist yet (but it should definitely). |
You mean it doesn't exist yet on the QGC side? |

Solved Problem
So far, the flaps are controlled via the
Flaps channelon the RC, while the spoilers are controlled from that sameFlaps channel, orAUX1.Solution
AUXchannels, not just the first one .FW_FLAPS_MAN, which is used to define the manual source of the flaps channel, much like the spoilers.The intent behind this is to unify the two mechanisms, and at some point also remove the
RC_MAP_FLAPSparameter.Changelog Entry
For release notes:
Test coverage
Tested on Hardware.