I am trying to code my robot to use its vision sensor to drive until it sees a certain color or signature and then to pick it up with a claw,I was hoping I could have some assistance. I am using vex code C++.
An example here, well, I guess not exactly what you are looking for, but once you have the position of the object you can move the robot and arm so it’s in the correct position to pick up.
There still seems to be some issues setting up the vision sensor. Although we do know that VCS 1.0/vision sensor utility has a few bugs in this area, it is still pretty simple, I’m not sure why the theories about needing to freeze the image are running around. Anyway, here’s a quick demo showing how easy it is.
The configuration that is hidden inside robot-config.h looks like this and is what is used in your program to setup the vision sensor when it runs.
vex::vision::signature SIG_1 (1, -…