Anyone run into this error before?
Error from the cRIO:
<CODE>-1074396154 ERROR: status = -1074396154 (0xBFF60406)ImaqThreshold error: ....in ComputeThreshold() in C:/WindRiver/workspace/WPILib/Vision/ColorImage.cpp at line 37
IMAQ Vision: The image is not large enough for the operation
Here is a sample of the code:
Code:
m_robotDrive->SetSafetyEnabled(false);
AxisCamera &camera = AxisCamera::GetInstance();
camera.WriteBrightness(0);
camera.WriteResolution(AxisCamera::kResolution_320x240);
Wait(3.0);
ColorImage img(IMAQ_IMAGE_HSL);
camera.GetImage(&img);
BinaryImage* binImg = img.ThresholdHSL(121, 165, 2, 250, 109, 255);