<< return to Pixycam.com

Pixy line following code

GOOD DAY
WHAT IS THE FUNCTION HEADING LOOP FOR IN “PIDLoop headingLoop(5000, 0, 0, false);”
I HOPE IN YOUR IMMEDIATE RESPONSE

Hello Daniel,
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

Edward

1 Like