chicagoedt / revo_robot

Code for EDT's IGVC entry, Revo.
http://www.igvc.org/
20 stars 23 forks source link

validate parameters in line_detection #25

Closed bsubei closed 9 years ago

bsubei commented 9 years ago

e6c6f03 introduced bug where parameters can be changed but are not validated. Causes almost certain crashes in OpenCV

bsubei commented 9 years ago

I should probably use the old code I had in the GUI python node for validation

bsubei commented 9 years ago

Also, not just validate the data, but also catch exceptions and handle them gracefully (right now it just crashes)