View Single Post
  #1   Spotlight this post!  
Unread 12-02-2015, 20:46
Team3205 Team3205 is offline
Registered User
FRC #3205
 
Join Date: Feb 2014
Location: Concord
Posts: 13
Team3205 is an unknown quantity at this point
Sample Image on the roboRIO cannot be found

We get an error on the FRC DriverStation when we try to enable the robot and the code looks for the image on the roboRIO:

ERROR Unhandled exception java.lang.IndexOutofBoundsException at [java.nio.Buffer.checkIndex(Buffer.java:546), ...

called at line NIVision.imaqReadFile(frame, "/home/lvuser/SampleImage/image20.jpg");

The image is in that path on the roboRIO and we are writing in java any input would be greatly appreciated. Thanks in advance.