Sprayer Drone does not fly straight! (Resolved)

I have just changed my pump as well as the pump ESC on my spray drone, since these modifications my drone no longer fly correctly.
When I try to go straight, it drifts more and more to the left.
I also tried in stationary mode and there is no problem.
Do I have to redo the calibration of the accelerometers as well as the Autotune?
Attached are the log files of the last flight for analysis if necessary.
Thank you


Did you calibrated magnetometer ? If not, then do so.


No not yet I will do it tonight, I will keep you posted.
Thank you Eosbandi !

Finally problem solved with a simple calibration of the magnetometer.
Thank you Eosbandi