scripts: Fixed extract_features.py not extracting ExternalAHRS or INS Temp Cal properly
This commit is contained in:
parent
53a6c2d045
commit
083f9f8139
@ -73,14 +73,15 @@ class ExtractFeatures(object):
|
||||
('HAL_NAVEKF3_AVAILABLE', 'NavEKF3::NavEKF3',),
|
||||
('HAL_NAVEKF2_AVAILABLE', 'NavEKF2::NavEKF2',),
|
||||
('HAL_EXTERNAL_AHRS_ENABLED', r'AP_ExternalAHRS::init\b',),
|
||||
('AP_EXTERNAL_AHRS_{type}_ENABLED', r'AP_ExternalAHRS_{type}::healthy\b',),
|
||||
('HAL_INS_TEMPERATURE_CAL_ENABLE', 'AP_InertialSensor::TCal::Learn::save_calibration',),
|
||||
('AP_EXTERNAL_AHRS_{type}_ENABLED', r'AP_ExternalAHRS_(?P<type>.*)::healthy\b',),
|
||||
('HAL_INS_TEMPERATURE_CAL_ENABLE', 'AP_InertialSensor_TCal::Learn::save_calibration',),
|
||||
('HAL_VISUALODOM_ENABLED', 'AP_VisualOdom::init',),
|
||||
|
||||
('AP_RANGEFINDER_ENABLED', 'RangeFinder::RangeFinder',),
|
||||
('AP_RANGEFINDER_{type}_ENABLED', r'AP_RangeFinder_(?P<type>.*)::update\b',),
|
||||
('AP_RANGEFINDER_{type}_ENABLED', r'AP_RangeFinder_(?P<type>.*)::get_reading\b',),
|
||||
('AP_RANGEFINDER_{type}_ENABLED', r'AP_RangeFinder_(?P<type>.*)::model_dist_max_cm\b',),
|
||||
('AP_RANGEFINDER_{type}_ENABLED', r'AP_RangeFinder_(?P<type>.*)::handle_frame\b',),
|
||||
('AP_RANGEFINDER_LIGHTWARE_SERIAL_ENABLED', r'AP_RangeFinder_LightWareSerial::get_reading\b',),
|
||||
('AP_RANGEFINDER_LWI2C_ENABLED', r'AP_RangeFinder_LightWareI2C::update\b',),
|
||||
('AP_RANGEFINDER_MAXBOTIX_SERIAL_ENABLED', r'AP_RangeFinder_MaxsonarSerialLV::get_reading\b',),
|
||||
@ -142,7 +143,7 @@ class ExtractFeatures(object):
|
||||
|
||||
('HAL_PARACHUTE_ENABLED', 'AP_Parachute::update',),
|
||||
('AP_FENCE_ENABLED', r'AC_Fence::check\b',),
|
||||
('HAL_RALLY_ENABLED', r'AP_Rally::get_rally_max\b',),
|
||||
('HAL_RALLY_ENABLED', 'AP_Rally::find_nearest_rally_point',),
|
||||
('AP_AVOIDANCE_ENABLED', 'AC_Avoid::AC_Avoid',),
|
||||
('AP_OAPATHPLANNER_ENABLED', 'AP_OAPathPlanner::AP_OAPathPlanner',),
|
||||
('AC_PAYLOAD_PLACE_ENABLED', 'PayloadPlace::start_descent'),
|
||||
@ -257,7 +258,7 @@ class ExtractFeatures(object):
|
||||
('FORCE_APJ_DEFAULT_PARAMETERS', 'AP_Param::param_defaults_data'),
|
||||
('HAL_BUTTON_ENABLED', 'AP_Button::update'),
|
||||
('HAL_LOGGING_ENABLED', 'AP_Logger::init'),
|
||||
('AP_COMPASS_CALIBRATION_FIXED_YAW_ENABLED', 'AP_Compass::mag_cal_fixed_yaw'),
|
||||
('AP_COMPASS_CALIBRATION_FIXED_YAW_ENABLED', 'Compass::mag_cal_fixed_yaw'),
|
||||
('COMPASS_LEARN_ENABLED', 'CompassLearn::update'),
|
||||
('AP_CUSTOMROTATIONS_ENABLED', 'AP_CustomRotation::init'),
|
||||
('AP_OSD_LINK_STATS_EXTENSIONS_ENABLED', r'AP_OSD_Screen::draw_rc_tx_power'),
|
||||
|
Loading…
Reference in New Issue
Block a user