Make the vision solver use a less strict problem.
Solve a 4 point with distance to lines and use if the 8 point problem
isn't solvable.
Change-Id: Ie0e4f5983b35cbe2fc64af8230c7e1e1cbd53aaa
diff --git a/y2019/vision/target_finder.h b/y2019/vision/target_finder.h
index ebae3b4..0de5ad1 100644
--- a/y2019/vision/target_finder.h
+++ b/y2019/vision/target_finder.h
@@ -53,7 +53,8 @@
IntermediateResult ProcessTargetToResult(const Target &target, bool verbose);
std::vector<IntermediateResult> FilterResults(
- const std::vector<IntermediateResult> &results, uint64_t print_rate);
+ const std::vector<IntermediateResult> &results, uint64_t print_rate,
+ bool verbose);
// Get the local overlay for debug if we are doing that.
aos::vision::PixelLinesOverlay *GetOverlay() { return &overlay_; }