Hey, I recently started using the VEX V5 vision sensor and I have come up with an error relating to the arrays and converting from vex::vision::signature to ‘int’. The program is below.
#pragma once
#include “robot-config.h”
#include “vex.h”
#include “LeftPID.h”
#include “rightPID.h”
#include “VisionSensor.h”
bool FindMOGO = true;
int locateMOGO(){
while(FindMOGO){
if(Vision1.takeSnapshot (RED_M) >= 1){
if (Vision1.objects[RED_M].centerX > 60.0){
}
}
}
}