Maxpower57
02-02-2009, 19:03
So, i have the camera running the following code:
if(FindColor(GREEN, &par)){
printf("Particle Found");
}
Fairly simple, and works. however running this causes the code to slow down to around 1 execution every 3 seconds. (obviously Incredibly slow)
Im Using the IterativeRobot class to run the robot
yes, i have started the camera task.
the robot is running v11 of the CRIO image, and WPI is 3.0
I've tried:
Running the camera in a seperate task
- this causes the camera tasks to run at full speed, but the rest of the robot code runs at the incredibly slow speed.
let me know any ideas of whats going wrong
if(FindColor(GREEN, &par)){
printf("Particle Found");
}
Fairly simple, and works. however running this causes the code to slow down to around 1 execution every 3 seconds. (obviously Incredibly slow)
Im Using the IterativeRobot class to run the robot
yes, i have started the camera task.
the robot is running v11 of the CRIO image, and WPI is 3.0
I've tried:
Running the camera in a seperate task
- this causes the camera tasks to run at full speed, but the rest of the robot code runs at the incredibly slow speed.
let me know any ideas of whats going wrong