mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -04:00
132cdc4916
In AP_MotorsTri.cpp the AP_MOTORS_MOT_1, _2 and _4 constants are always mapped to actual output channels through _motor_to_channel_map while the _CH_TRI_YAW is not, but there were a few inconsistencies in this that could lead to things like PWM min and max values being set on wrong channels. It looks like all in all _motor_to_channel_map being in PROGMEM probably doesn't help save memory and I'm not sure how useful it is in the first place but regardless the usage should be consistent. |
||
---|---|---|
.. | ||
examples | ||
AP_Motors_Class.cpp | ||
AP_Motors_Class.h | ||
AP_Motors.h | ||
AP_MotorsCoax.cpp | ||
AP_MotorsCoax.h | ||
AP_MotorsHeli.cpp | ||
AP_MotorsHeli.h | ||
AP_MotorsHexa.cpp | ||
AP_MotorsHexa.h | ||
AP_MotorsMatrix.cpp | ||
AP_MotorsMatrix.h | ||
AP_MotorsOcta.cpp | ||
AP_MotorsOcta.h | ||
AP_MotorsOctaQuad.cpp | ||
AP_MotorsOctaQuad.h | ||
AP_MotorsQuad.cpp | ||
AP_MotorsQuad.h | ||
AP_MotorsSingle.cpp | ||
AP_MotorsSingle.h | ||
AP_MotorsTri.cpp | ||
AP_MotorsTri.h | ||
AP_MotorsY6.cpp | ||
AP_MotorsY6.h |