mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-08-21 19:20:35 +08:00
b529c4802c
Functional change: The directions are now handled uniformly, and motors pointing along a given axis _in both directions_ are classified as pointing along that axis. The names are changed accordingly: - longitudinal = forward and backward - lateral = left and right - vertical = up and down Cosmetic / maintainability changes: - rather than repeating the function for each direction, the same code now handles all directions - the bitmasks are now in a struct, so we can pass them around together, avoiding the need for every single effectivenss class to manually set the three masks. - reorder in some places to always match x-y-z