Skip to content

Commit

Permalink
scripts: add AP_INERTIALSENSOR_RATE_LOOP_WINDOW_ENABLED to build_opti…
Browse files Browse the repository at this point in the history
…ons.py and extract_features.py
  • Loading branch information
andyp1per committed May 22, 2024
1 parent 79e9b44 commit b69272d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Tools/scripts/build_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ def __init__(self,
Feature('Sensors', 'IMU_ON_UART', 'AP_SERIALMANAGER_IMUOUT_ENABLED', 'Enable sending raw IMU data on a serial port', 0, None), # NOQA: E501

Feature('Other', 'HarmonicNotches', 'AP_INERTIALSENSOR_HARMONICNOTCH_ENABLED', 'Enable InertialSensor Harmonic Notches', 0, None), # noqa
Feature('Other', 'RateLoopThread', 'AP_INERTIALSENSOR_RATE_LOOP_WINDOW_ENABLED', 'Enable Rate Loop Thread', 0, None), # noqa
Feature('Other', 'GyroFFT', 'HAL_GYROFFT_ENABLED', 'Enable In-Flight Gyro FFT calculations', 0, None),
Feature('Other', 'NMEA_OUTPUT', 'HAL_NMEA_OUTPUT_ENABLED', 'Enable NMEA Output', 0, None),
Feature('Other', 'SDCARD_FORMATTING', 'AP_FILESYSTEM_FORMAT_ENABLED', 'Enable formatting of microSD cards', 0, None),
Expand Down
3 changes: 2 additions & 1 deletion Tools/scripts/extract_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ def __init__(self, filename, nm="arm-none-eabi-nm", strings="strings"):
('AP_GPS_BLENDED_ENABLED', r'AP_GPS::calc_blend_weights\b',),

('HAL_WITH_DSP', r'AP_HAL::DSP::find_peaks\b',),
('AP_INERTIALSENSOR_HARMONICNOTCH_ENABLED', r'AP_InertialSensor::HarmonicNotch::update_params\b',),
('AP_INERTIALSENSOR_HARMONICNOTCH_ENABLED', r'AP_InertialSensor::get_next_gyro_sample\b',),
('AP_INERTIALSENSOR_RATE_LOOP_WINDOW_ENABLED', r'AP_InertialSensor::HarmonicNotch::update_params\b',),
('HAL_GYROFFT_ENABLED', r'AP_GyroFFT::AP_GyroFFT\b',),
('HAL_DISPLAY_ENABLED', r'Display::init\b',),
('HAL_NMEA_OUTPUT_ENABLED', r'AP_NMEA_Output::update\b',),
Expand Down

0 comments on commit b69272d

Please sign in to comment.