Dear Pixy2 developers!
I’m trying to use Pixy2 for a fetch robot.
https://forum.arduino.cc/index.php?topic=672547.0
However, when compiling the sketch I get:
In file included from /home/…/fetch_robot_pixy_servo_v3/fetch_robot_pixy_servo_v3.ino:2:0:
/root/Arduino/libraries/Pixy2/Pixy2CCC.h: In member function ‘int8_t Pixy2CCC::getBlocks(bool, uint8_t, uint8_t)’:
/root/Arduino/libraries/Pixy2/Pixy2CCC.h:124:32: error: ‘PIXY_TYPE_RESPONSE_ERROR’ was not declared in this scope
else if (m_pixy->m_type==PIXY_TYPE_RESPONSE_ERROR)
So I manually declared those variables in Pixy2CCC.h. But not sure, if this is the way tho solve this problem.
Any help greatly appreciated.
Thank you!