ardupilot/libraries/AP_NavEKF2
Peter Barker b02d9abd32 AP_NavEKF2: avoid compiler warnings from -Wclass-memaccess
../../libraries/AP_NavEKF2/AP_NavEKF2_core.cpp: In member function ‘void NavEKF2_core::InitialiseVariables()’:
../../libraries/AP_NavEKF2/AP_NavEKF2_core.cpp:343:50: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct NavEKF2_core::ext_nav_vel_elements’; use assignment or value-initialization instead [-Wclass-memaccess]
  343 |     memset(&extNavVelNew, 0, sizeof(extNavVelNew));
      |                                                  ^
In file included from ../../libraries/AP_NavEKF2/AP_NavEKF2_core.cpp:4:
../../libraries/AP_NavEKF2/AP_NavEKF2_core.h:518:12: note: ‘struct NavEKF2_core::ext_nav_vel_elements’ declared here
  518 |     struct ext_nav_vel_elements {
      |            ^~~~~~~~~~~~~~~~~~~~
../../libraries/AP_NavEKF2/AP_NavEKF2_core.cpp:344:58: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct NavEKF2_core::ext_nav_vel_elements’; use assignment or value-initialization instead [-Wclass-memaccess]
  344 |     memset(&extNavVelDelayed, 0, sizeof(extNavVelDelayed));
      |                                                          ^
In file included from ../../libraries/AP_NavEKF2/AP_NavEKF2_core.cpp:4:
../../libraries/AP_NavEKF2/AP_NavEKF2_core.h:518:12: note: ‘struct NavEKF2_core::ext_nav_vel_elements’ declared here
  518 |     struct ext_nav_vel_elements {
      |            ^~~~~~~~~~~~~~~~~~~~
2020-06-05 08:42:45 +10:00
..
AP_NavEKF2_AirDataFusion.cpp AP_NavEKF2: use parent class for intermediate static variables 2019-10-01 15:39:03 +10:00
AP_NavEKF2_Buffer.h AP_NavEKF2: Suppress clearing non-trival type warning 2018-10-30 16:17:03 -07:00
AP_NavEKF2_Control.cpp AP_NavEKF2: support VISION_SPEED_ESTIMATE 2020-06-01 17:51:24 +09:00
AP_NavEKF2_core.cpp AP_NavEKF2: avoid compiler warnings from -Wclass-memaccess 2020-06-05 08:42:45 +10:00
AP_NavEKF2_core.h AP_NavEKF2: support VISION_SPEED_ESTIMATE 2020-06-01 17:51:24 +09:00
AP_NavEKF2_Logging.cpp AP_NavEKF2: remove incorrect units from yaw esimtator LoggerMessage 2020-04-24 18:08:14 +10:00
AP_NavEKF2_MagFusion.cpp AP_NavEKF2: clarify yaw reset error message 2020-05-26 10:05:35 +10:00
AP_NavEKF2_Measurements.cpp AP_NavEKF2: support VISION_SPEED_ESTIMATE 2020-06-01 17:51:24 +09:00
AP_NavEKF2_OptFlowFusion.cpp AP_NavEKF2: fix typo in comment 2020-05-20 07:29:31 +09:00
AP_NavEKF2_Outputs.cpp AP_NavEKF2: fix getLLH when no GPS 2020-05-10 15:35:55 +10:00
AP_NavEKF2_PosVelFusion.cpp AP_NavEKF2: support VISION_SPEED_ESTIMATE 2020-06-01 17:51:24 +09:00
AP_NavEKF2_RngBcnFusion.cpp AP_NavEKF2: use parent class for intermediate static variables 2019-10-01 15:39:03 +10:00
AP_NavEKF2_VehicleStatus.cpp AP_NavEKF2: Enable use of EKF-GSF yaw estimate 2020-04-24 09:43:23 +10:00
AP_NavEKF2.cpp AP_NavEKF2: support VISION_SPEED_ESTIMATE 2020-06-01 17:51:24 +09:00
AP_NavEKF2.h AP_NavEKF2: support VISION_SPEED_ESTIMATE 2020-06-01 17:51:24 +09:00
AP_NavEKF_GyroBias.cpp AP_NavEKF2: remove HAL_CPU_CLASS_150 check, 150 is already a minimum requirement 2019-02-17 12:59:52 -08:00