Skip to content

Commit

Permalink
scripts: Fixed extract_features.py not extracting ExternalAHRS or INS…
Browse files Browse the repository at this point in the history
… Temp Cal properly
  • Loading branch information
joshanne committed Aug 9, 2024
1 parent 53a6c2d commit 234a15a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tools/scripts/extract_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ def __init__(self, filename, nm="arm-none-eabi-nm", strings="strings"):
('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',),
Expand Down

0 comments on commit 234a15a

Please sign in to comment.