You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I printed hsv right before the cvtColor function call and found it is empty before I get the exception. however, it is not immediately empty. it becomes empty after a few times not being empty.
…ound
get_compass_image sometimes ends up with empty data in the compass_image and the screen array following the calculation trying to locate the navigation dot. The causes an exception in filter_blue() and results in the autopilot failing. This seems to be a result of a bad screen capture providing garbage data, so if we just try again when we notice compass_image is empty, we always end up returning valid data.
ref: skai2#36
Signed-off-by: Joe MacDonald <[email protected]>
I printed hsv right before the cvtColor function call and found it is empty before I get the exception. however, it is not immediately empty. it becomes empty after a few times not being empty.
[]
I don't see anything in the function that would cause it to become empty. so I don't know what is going on
The text was updated successfully, but these errors were encountered: