mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-30 17:30:34 +08:00
952cfe2fd7
The imu and sensor_combined data should not be used when it has not been updated yet, otherwise this triggers a memory sanitizer warning: Conditional jump or move depends on uninitialised value(s) at 0x2DA7AA: __sanitizer_cov_trace_const_cmp1 (in build/px4_sitl_default-clang/bin/px4) by 0x3C4E79: EKF2::Run() (src/modules/ekf2/EKF2.cpp:401) by 0x6EB881: px4::WorkQueue::Run() (platforms/common/px4_work_queue/WorkQueue.cpp:187) by 0x6ECB9D: px4::WorkQueueRunner(void*) (platforms/common/px4_work_queue/WorkQueueManager.cpp:230) by 0x4C07258: start_thread (in /usr/lib/libpthread-2.33.so) by 0x4D415E2: clone (in /usr/lib/libc-2.33.so) Conditional jump or move depends on uninitialised value(s) at 0x3C4E7C: EKF2::Run() (src/modules/ekf2/EKF2.cpp:401) by 0x6EB881: px4::WorkQueue::Run() (platforms/common/px4_work_queue/WorkQueue.cpp:187) by 0x6ECB9D: px4::WorkQueueRunner(void*) (platforms/common/px4_work_queue/WorkQueueManager.cpp:230) by 0x4C07258: start_thread (in /usr/lib/libpthread-2.33.so) by 0x4D415E2: clone (in /usr/lib/libc-2.33.so)