mirror of https://github.com/ArduPilot/ardupilot
f7db538220
AFAIK there is still a bug in ArduPilot where subparams should not start at index 0. This is due to the way the index math and bit shifing works as it incorrectly offsets all 0 index params to 0. We allow 2 levels of sub params - 3 levels in total. So params, sub params and sub sub params. The 0 parameter in all those is unfortunately always references param[0]. So param[0] and subparam[0] and subsubparam[0] will reference the same parameter value. Its why we always say start the index from 1 as the math and bitshifting then works correctly. Yeah this is worded badly - hard to explain. |
||
---|---|---|
.. | ||
APM_Control.h | ||
AP_AutoTune.cpp | ||
AP_AutoTune.h | ||
AP_PitchController.cpp | ||
AP_PitchController.h | ||
AP_RollController.cpp | ||
AP_RollController.h | ||
AP_SteerController.cpp | ||
AP_SteerController.h | ||
AP_YawController.cpp | ||
AP_YawController.h | ||
AR_AttitudeControl.cpp | ||
AR_AttitudeControl.h | ||
TuningGuide.txt |