View Single Post
  #5   Spotlight this post!  
Unread 07-02-2012, 16:54
Bennett Bennett is offline
Registered User
FRC #2977 (Sir Lancer Bots)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Minnesota
Posts: 26
Bennett is an unknown quantity at this point
Re: Camera Tracking Problems...

Quote:
Originally Posted by nonamedude View Post
ColorImage image; // next 2 lines read image from flash on cRIO
image = new RGBImage("/10ft2.jpg");

You are reading the image from the crio, so you probably didnt upload the image to it. There were two lines after this code that allowed you to read it from the camera. Try setting the image to the one read from the camera and see what happens.
Thanks for the heads up, we should have seen this. we just changed code to read from the camera, like you told us to. we're going to go test it as soon as we are able.

@severhale yes we did copy this from the demo program and made some modifications and are not getting any errors accordingly.
@xmendude217 we did check the thresholds, and they are correct for what we need.
Reply With Quote