|
|
|
@ -890,9 +890,7 @@ const AP_Param::Info Plane::var_info[] = {
@@ -890,9 +890,7 @@ const AP_Param::Info Plane::var_info[] = {
|
|
|
|
|
// @Path: ../libraries/AP_AHRS/AP_AHRS.cpp
|
|
|
|
|
GOBJECT(ahrs, "AHRS_", AP_AHRS), |
|
|
|
|
|
|
|
|
|
// @Group: ARSPD
|
|
|
|
|
// @Path: ../libraries/AP_Airspeed/AP_Airspeed.cpp
|
|
|
|
|
GOBJECT(airspeed, "ARSPD", AP_Airspeed), |
|
|
|
|
// Airspeed was here
|
|
|
|
|
|
|
|
|
|
// @Group: NAVL1_
|
|
|
|
|
// @Path: ../libraries/AP_L1_Control/AP_L1_Control.cpp
|
|
|
|
@ -1491,6 +1489,14 @@ void Plane::load_parameters(void)
@@ -1491,6 +1489,14 @@ void Plane::load_parameters(void)
|
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
// PARAMETER_CONVERSION - Added: Jan-2022
|
|
|
|
|
{ |
|
|
|
|
const uint16_t old_key = g.k_param_airspeed; |
|
|
|
|
const uint16_t old_index = 0; // Old parameter index in the tree
|
|
|
|
|
const uint16_t old_top_element = 0; // Old group element in the tree for the first subgroup element (see AP_PARAM_KEY_DUMP)
|
|
|
|
|
AP_Param::convert_class(old_key, &airspeed, airspeed.var_info, old_index, old_top_element, true); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
hal.console->printf("load_all took %uus\n", (unsigned)(micros() - before)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|