Understanding PID logs: Does 'Act' is P + I + D values?

Hello,

I’m trying to figure out the PID tuning in my drone analyzing the dataflash log. The hardware is a Pix4 Cube with arducopter v4.0.2. After export the log to .mat, there I’ve been checking PIDR, PIDP and PIDY matrices. The labels says ‘LineNo’, ‘TimeUS’, ‘Tar’, ‘Act’, ‘Err’, ‘P’, ‘I’, ‘D’ and ‘FF’. I suppose that Act is the output of the PID, the actuation, so it should be the sum of the Proportional-Integral-Derivative actions. However, the sum of P, I and D in my matlab workspace do not match Act signal. How should I interprete these data?

Greetings from Brazil

Log

Out new logging documentation has not made it to the copter wiki but it is the same as plane

https://ardupilot.org/plane/docs/logmessages.html?#pidp-proportional-integral-derivative-gain-values-for-roll-pitch-yaw-z-steering

We don’t actually log the overall output of the PID but it would just be P + I + D + FF

1 Like

Thank you so much Peter!