Can ekf2 normally work without copass data

hi everyone ,
I close the copass sensor,and ekf2 can not get the copass data,I find when i just use barometric pressure sensor to estimate the hight ,I find it seems having some problem ,the hight do not follow the baro height .The picture is log file .Does anyone have some good ideas about this.

The Extended Kalman Filters MUST HAVE all sensor data. The EKF is an algorithm that uses sensor data to predict where the vehicle will be, and then compares subsequent sensor data to those predictions.

Turn the compass back on. It has nothing to do with altitude.