ardupilot/libraries/AP_Compass
Thomas Watson d86bab9c58 AP_Compass: optimize DroneCAN subscription process
* remove unnecessary nullptr check, these are always called from an
  initialized AP_DroneCAN so if it's nullptr something has gone
  horrifically wrong

* pass in driver index instead of repeatedly calling function to get it

* simplify error handling; knowing exactly which allocation failed is not
  super helpful and one failing likely means subsequent ones will too,
  as it can only fail due to being out of memory
2024-11-18 10:30:29 +11:00
..
examples AP_Compass: regularise compass defines 2022-11-15 16:44:38 +11:00
AP_Compass.cpp AP_Compass: Also mark Z axis as calibrations, just like the XY 2024-11-05 09:25:59 +09:00
AP_Compass.h AP_Compass: Add in BMM350 Driver 2024-09-21 10:08:36 +10:00
AP_Compass_AK8963.cpp AP_Compass: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
AP_Compass_AK8963.h AP_Compass: fix C++ One Definition Rule violations 2023-11-21 13:21:03 +11:00
AP_Compass_AK09916.cpp AP_Compass: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
AP_Compass_AK09916.h AP_Compass: fix C++ One Definition Rule violations 2023-11-21 13:21:03 +11:00
AP_Compass_BMM150.cpp AP_Compass: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
AP_Compass_BMM150.h AP_Compass: add and use AP_COMPASS_BMM150_ENABLED 2023-02-09 17:52:52 +11:00
AP_Compass_BMM350.cpp AP_Compass: Add in BMM350 Driver 2024-09-21 10:08:36 +10:00
AP_Compass_BMM350.h AP_Compass: Add in BMM350 Driver 2024-09-21 10:08:36 +10:00
AP_Compass_Backend.cpp AP_Compass: exclude cpp files if not AP_COMPASS_ENABLED 2024-02-27 11:02:48 +11:00
AP_Compass_Backend.h AP_Compass: Add in BMM350 Driver 2024-09-21 10:08:36 +10:00
AP_Compass_Calibration.cpp AP_Compass: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
AP_Compass_DroneCAN.cpp AP_Compass: optimize DroneCAN subscription process 2024-11-18 10:30:29 +11:00
AP_Compass_DroneCAN.h AP_Compass: optimize DroneCAN subscription process 2024-11-18 10:30:29 +11:00
AP_Compass_ExternalAHRS.cpp AP_Compass: regularise compass defines 2022-11-15 16:44:38 +11:00
AP_Compass_ExternalAHRS.h AP_Compass: regularise compass defines 2022-11-15 16:44:38 +11:00
AP_Compass_HMC5843.cpp AP_Compass: use memcmp to check whoami result code from HMC5843 device 2024-09-24 11:52:47 +10:00
AP_Compass_HMC5843.h AP_Compass: cope with AP_INERTIAL_SENSOR being 0 2024-01-03 17:35:54 +11:00
AP_Compass_IST8308.cpp AP_Compass: cleanup warnings in printf calls 2024-07-11 09:34:29 +10:00
AP_Compass_IST8308.h AP_Compass: create and use AP_COMPASS_IST8308_ENABLED 2023-01-25 19:58:02 +11:00
AP_Compass_IST8310.cpp AP_Compass: cleanup warnings in printf calls 2024-07-11 09:34:29 +10:00
AP_Compass_IST8310.h AP_Compass: allow override of IST8310 orientation 2023-08-06 09:23:45 +10:00
AP_Compass_LIS3MDL.cpp AP_Compass: cleanup warnings in printf calls 2024-07-11 09:34:29 +10:00
AP_Compass_LIS3MDL.h AP_Compass: add and use AP_COMPASS_LIS3MDL_ENABLED 2023-02-17 23:05:48 +11:00
AP_Compass_LSM9DS1.cpp AP_Compass: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
AP_Compass_LSM9DS1.h AP_Compass: fix C++ One Definition Rule violations 2023-11-21 13:21:03 +11:00
AP_Compass_LSM303D.cpp AP_Compass: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
AP_Compass_LSM303D.h AP_Compass: add and use AP_COMPASS_LSM303D_ENABLED 2023-01-31 11:08:28 +11:00
AP_Compass_MAG3110.cpp AP_Compass: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
AP_Compass_MAG3110.h AP_Compass: add and use AP_COMPASS_MAG3110_ENABLED 2023-02-22 19:40:13 +11:00
AP_Compass_MMC5xx3.cpp AP_Compass: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
AP_Compass_MMC5xx3.h AP_Compass: add and use AP_COMPASS_MMC5XX3_ENABLED 2023-02-22 19:40:13 +11:00
AP_Compass_MMC3416.cpp AP_Compass: cleanup warnings in printf calls 2024-07-11 09:34:29 +10:00
AP_Compass_MMC3416.h AP_Compass: add and use AP_COMPASS_MMC3416 2023-02-22 19:40:13 +11:00
AP_Compass_MSP.cpp AP_Compass: regularise compass defines 2022-11-15 16:44:38 +11:00
AP_Compass_MSP.h AP_Compass: regularise compass defines 2022-11-15 16:44:38 +11:00
AP_Compass_QMC5883L.cpp AP_Compass: cleanup warnings in printf calls 2024-07-11 09:34:29 +10:00
AP_Compass_QMC5883L.h AP_Compass: add and use AP_COMPASS_QMC5883L_ENABLED 2023-02-22 19:40:13 +11:00
AP_Compass_QMC5883P.cpp AP_Compass: cleanup warnings in printf calls 2024-07-11 09:34:29 +10:00
AP_Compass_QMC5883P.h AP_Compass: Add in QMC5883P Driver 2023-11-15 10:53:38 +11:00
AP_Compass_RM3100.cpp AP_Compass: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
AP_Compass_RM3100.h AP_Compass: add and use AP_COMPASS_RM3100_ENABLED 2023-02-22 19:40:13 +11:00
AP_Compass_SITL.cpp AP_Compass: implement SIM_MAG_SAVE_IDS 2023-10-31 10:14:42 +11:00
AP_Compass_SITL.h AP_Compass: regularise compass defines 2022-11-15 16:44:38 +11:00
AP_Compass_config.h AP_Compass: Add in BMM350 Driver 2024-09-21 10:08:36 +10:00
CompassCalibrator.cpp AP_Compass: remove default clause from set_status switch 2024-07-10 18:18:31 +10:00
CompassCalibrator.h AP_Compass: use switch statement in failed() method 2024-07-10 18:18:31 +10:00
Compass_PerMotor.cpp AP_Compass: specify floating point constants 2019-04-05 23:04:17 -07:00
Compass_PerMotor.h AP_Compass: specify floating point constants 2019-04-05 23:04:17 -07:00
Compass_learn.cpp AP_Compass: move logger object up to AP_Vehicle 2024-02-13 10:54:29 +11:00
Compass_learn.h AP_Compass: remove use of AP_AHRS from most headers 2024-09-03 10:35:54 +10:00