VEX V5 vision code class


I’m trying to understand the “code” class in VEXcode’s vision class. You can create a code object that takes a list of signatures, then use takeSnapShot with the code object as an argument. My question is, how is this code used by takeSnapShot?

Having runs some experiments, it does NOT cause the program to look for objects of any color listed in the code object. Presumably it is combining the signatures in some way.


The code class is used for detecting two (or more) adjacent signatures (basically colors), for example, red next to green, or blue next to yellow. See this

1 Like

Interesting… Thanks!