![]() |
Getting axisCamera image result in an exception somtimes
Hi all, my team and I are trying to make vision code for the robot.
The vision works great but sometimes we get an exception from the getImage method in the axisCamera class. After I get several exception I get an outOfMemory exception pointing on the getImage method. Those two exception are pointing on the native method that the getImage use. Error: Code:
_Priv_ReadJPEGString_C(image.getAddress(), getByteBufferAddress(string_buf), stringLength);I dont have the error text right now but this is an unkownError type. the error code is imaqError -123673104, I didnt find any help in the internet for this error. Thanks in advance! |
Re: Getting axisCamera image result in n ecxeption somtimes
That error code is undocumented. Can you post the full error text?
|
Re: Getting axisCamera image result in n ecxeption somtimes
1 Attachment(s)
Quote:
Thanks for your help! |
Re: Getting axisCamera image result in n ecxeption somtimes
Take screenshots please :)
So it's more than an undocumented error code, it seems WPILib is actually using NIVision black magic with a "private" function that's completely undocumented. You might be better off opening an issue on the WPILib repo. I can't help without documentation or source code :rolleyes: |
Re: Getting axisCamera image result in an exception somtimes
Quote:
|
Re: Getting axisCamera image result in an exception somtimes
Quote:
Quote:
Ammm... so it never happend to other teams? No one ever reported this issue? |
| All times are GMT -5. The time now is 09:45. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi