The specific error is Type mismatch: cannot convert from int to ArrayList<Pixy2CCC.Block>. This is because in the 1.4 update, the method getBlocks was repurposed to retrieve the count of objects the PixyCam sees, and the old method was changed to getBlockCache. The wiki hasn't been updated since October 15, 2019, which is 4 months prior to the update.
As of update 1.4 (February 23, 2020), the wiki is out of date. The following line of code from the wiki will generate a type-casting error:
ArrayList<Block> blocks = pixy.getCCC().getBlocks();
The specific error is
Type mismatch: cannot convert from int to ArrayList<Pixy2CCC.Block>
. This is because in the 1.4 update, the methodgetBlocks
was repurposed to retrieve the count of objects the PixyCam sees, and the old method was changed togetBlockCache
. The wiki hasn't been updated since October 15, 2019, which is 4 months prior to the update.