Cancel gyroscopic moment of the drone

Hi, I’m an italian engineering student, I’m new in ardupilot, for my thesis i want to cancel the gyroscopic moment in my drone but I don’t know where found the output of PID controller for put my line of code, you could help me please?