|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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! Last edited by cnc4 : 06-11-2016 at 13:55. |
|
#2
|
||||
|
||||
|
Re: Getting axisCamera image result in n ecxeption somtimes
That error code is undocumented. Can you post the full error text?
|
|
#3
|
|||
|
|||
|
Re: Getting axisCamera image result in n ecxeption somtimes
Quote:
Thanks for your help! |
|
#4
|
||||
|
||||
|
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 ![]() |
|
#5
|
||||
|
||||
|
Re: Getting axisCamera image result in an exception somtimes
Quote:
|
|
#6
|
|||
|
|||
|
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? |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|