You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why I got the following error, when I try to install "Ardupilot and MAVProxy"?
../../libraries/AP_NavEKF2/AP_NavEKF2_MagFusion.cpp: In member function ‘void NavEKF2_core::FuseMagnetometer()’:
../../libraries/AP_NavEKF2/AP_NavEKF2_MagFusion.cpp:681:44: error: ‘H_MAG’ may be used uninitialized [-Werror=maybe-uninitialized]
681 | KH[i][j] = Kfusion[i] * H_MAG[j];
| ~~~~~~~^
compilation terminated due to -Wfatal-errors.
cc1plus: some warnings being treated as errors
Waf: Leaving directory `/home/hamid/ardupilot/build/sitl'
Build failed
-> task in 'objs/AP_NavEKF2' failed (exit status 1):
{task 139951261890144: cxx AP_NavEKF2_MagFusion.cpp -> AP_NavEKF2_MagFusion.cpp.0.o}
(run with -v to display more information)
SIM_VEHICLE: Build failed
SIM_VEHICLE: Killing tasks
The text was updated successfully, but these errors were encountered:
Why I got the following error, when I try to install "Ardupilot and MAVProxy"?
../../libraries/AP_NavEKF2/AP_NavEKF2_MagFusion.cpp: In member function ‘void NavEKF2_core::FuseMagnetometer()’:
../../libraries/AP_NavEKF2/AP_NavEKF2_MagFusion.cpp:681:44: error: ‘H_MAG’ may be used uninitialized [-Werror=maybe-uninitialized]
681 | KH[i][j] = Kfusion[i] * H_MAG[j];
| ~~~~~~~^
compilation terminated due to -Wfatal-errors.
cc1plus: some warnings being treated as errors
Waf: Leaving directory `/home/hamid/ardupilot/build/sitl'
Build failed
-> task in 'objs/AP_NavEKF2' failed (exit status 1):
{task 139951261890144: cxx AP_NavEKF2_MagFusion.cpp -> AP_NavEKF2_MagFusion.cpp.0.o}
(run with -v to display more information)
SIM_VEHICLE: Build failed
SIM_VEHICLE: Killing tasks
The text was updated successfully, but these errors were encountered: