Closed Vector5233 closed 6 months ago
As of today, we are getting this message:
"Viewport container specified by user is not empty!"
It seems to originate in line 273 of OpenCVCameraBase.java.
It occurs any time we try to run our autonomous OpMode twice in a row without turning off and back on.
The "fix" is to turn the robot and back on (hard reset). Resetting the robot does not work.
I assume that we are failing to release some resource somewhere?
We found the problem - tried to initialize the VisionPortal twice in the same OpMode. Removed that and the problem went away.
RESOLVED
As of today, we are getting this message:
"Viewport container specified by user is not empty!"
It seems to originate in line 273 of OpenCVCameraBase.java.
It occurs any time we try to run our autonomous OpMode twice in a row without turning off and back on.
The "fix" is to turn the robot and back on (hard reset). Resetting the robot does not work.
I assume that we are failing to release some resource somewhere?