WHAT IS THE FUNCTION HEADING LOOP FOR IN “PIDLoop headingLoop(5000, 0, 0, false);”
I HOPE IN YOUR IMMEDIATE RESPONSE
That is an object declaration for the PIDLoop object. The function that gets called is the object constructor.
This should be installed where your Arduino libraries are installed for Pixy2. It’s usually in Documents/Arduino/libraries/Pixy2