View Single Post
  #3   Spotlight this post!  
Unread 25-01-2017, 06:55
Bradley Boxer's Avatar
Bradley Boxer Bradley Boxer is offline
Registered User
AKA: Bradley Boxer
FRC #0303 (TEST Team 303)
Team Role: Programmer
 
Join Date: May 2015
Rookie Year: 2015
Location: United States
Posts: 26
Bradley Boxer is an unknown quantity at this point
Re: OpenCV Crashing?!

90% if the times it crashes, the robot is just standing still. Sometimes it is pointed at retroreflective tape (so it tries to draw contours) but sometimes it is not.

Our camera has been dropping out once in awhile (for about 500ms here and there), but I didn't think it would matter, since our code continues the thread before the pipeline if cvSink.grabFrame(mat) is equal to zero.

Additionally the Rio doesn't crash every time the camera drops, so this didn't make sense to me as the cause of the issue. I could be wrong, though.
__________________
The opinions expressed in this post are mine and do not necessarily reflect those of my team.
Reply With Quote