AP_NavEKF3: move sources to 2nd bank of parameters

This commit is contained in:
Randy Mackay 2020-11-17 14:11:02 +09:00
parent 33b6212cce
commit 0f8d0ef11b
2 changed files with 12 additions and 2 deletions

View File

@ -640,9 +640,17 @@ const AP_Param::GroupInfo NavEKF3::var_info[] = {
// @RebootRequired: True
AP_GROUPINFO("AFFINITY", 62, NavEKF3, _affinity, 0),
// @Group: SRC_
AP_SUBGROUPEXTENSION("", 63, NavEKF3, var_info2),
AP_GROUPEND
};
// second table of parameters. allows us to go beyond the 64 parameter limit
const AP_Param::GroupInfo NavEKF3::var_info2[] = {
// @Group: SRC
// @Path: ../AP_NavEKF/AP_NavEKF_Source.cpp
AP_SUBGROUPINFO(sources, "SRC", 63, NavEKF3, AP_NavEKF_Source),
AP_SUBGROUPINFO(sources, "SRC", 1, NavEKF3, AP_NavEKF_Source),
AP_GROUPEND
};
@ -650,6 +658,7 @@ const AP_Param::GroupInfo NavEKF3::var_info[] = {
NavEKF3::NavEKF3()
{
AP_Param::setup_object_defaults(this, var_info);
AP_Param::setup_object_defaults(this, var_info2);
}

View File

@ -39,6 +39,7 @@ public:
NavEKF3 &operator=(const NavEKF3&) = delete;
static const struct AP_Param::GroupInfo var_info[];
static const struct AP_Param::GroupInfo var_info2[];
// allow logging to determine the number of active cores
uint8_t activeCores(void) const {