Go to Post I think he GDC is just rick-rolling all of us. - z_beeblebrox [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 16-01-2015, 20:10
gaut1234 gaut1234 is offline
Registered User
AKA: Gautam Prabhu
FRC #0972 (Iron Claw)
Team Role: Leadership
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Los Gatos
Posts: 4
gaut1234 is an unknown quantity at this point
IndexOutOfBoundsException with NI Vision

We have been using an axis M1013 IP camera for our vision system this year. We slightly modified the Axis Camera example program to save pictures the camera takes to the roboRIO for debugging purposes. We have repeatedly gotten "IndexOutOfBoundsException" with our call to the HSLImage class's "write" function. We have tried a lot of debugging and I think that the problem lies with ByteBuffer allocation in the roboRIO (this happens internally in WPILIB's writing function) but we have not fully confirmed this. In addition, the example axis program does not work as expected - we get no image on the dashboard. We can view the camera from the SmartDashboard and we can use the getImage() function without exceptions.

Thank you for your help.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 22:26.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi