Vision Fallbacks and Confidence
Make autonomous robust when vision is uncertain.
Make autonomous robust when vision is uncertain.
In this lesson, you will:
Vision should not be all-or-nothing. The robot needs a plan for low confidence, no detections, or conflicting readings.
A safe fallback is part of the vision system. It tells the robot what to do when the camera cannot provide a trustworthy answer.
Add confidence or age of detection to the processor result. In autonomous, choose a default branch and print the selected reason.
VisionResult.javaJava
PropPosition result = processor.getConfidence() > 0.65
? processor.getPosition()
: PropPosition.CENTER;
telemetry.addData("auto branch", result);If the default is unsafe, the robot will fail exactly when uncertainty is highest. Make fallback conservative and tested.
Check your understanding before moving on.
Which result best demonstrates completion of “Vision Fallbacks and Confidence”?
Why record the test setup, prediction, and observed result?
0 of 2 answered
Mark this lesson complete — “Road Runner 1.0 Install and Drive Class” is up next.