Thread: File I/O Error
View Single Post
  #3   Spotlight this post!  
Unread 20-12-2013, 12:03
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,586
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: File I/O Error

Code:
[cRIO]     at edu.wpi.first.wpilibj.templates.VisionSampleProject2013.autonomous(VisionSampleProject2013.java:85)
This shows the problem is happening in line 85 of the project. Did you uncomment the following line?

Code:
//thresholdImage.write("/threshold.bmp");
By default, the example project reads data from testImage.jpg on the cRIO (which probably doesn't exist). Have you either uploaded the testImage, or modified the code to use the camera?

Have you read the vision processing tutorial? http://wpilib.screenstepslive.com/s/3120/m/8731
Reply With Quote