This repository has been archived by the owner on Sep 9, 2019. It is now read-only.
Beta Release 2
MAJOR release containing a lot of improvements and bugfixes.
Please note that some changes between 0.8.x and 0.9.0 are breaking, that is teams will need to reinstall ftc-visionlib and well as update any opmodes to the newest versions. See the new samples in ftc-robotcontroller
for examples.
Here are the major updates:
- Improved beacon detection significantly with the addition of the FAST and COMPLEX analysis methods. FAST is 1.2-3x faster, but lacks some features and only works well at close range (<1.5 feet). COMPLEX is slower and takes more battery power, but enables additional features and works well at a further range (1-4 feet).
- Added Vision extensions, which simplify code development. All you have to do is use a
VisionOpMode
(or linear / testable variant) and enable extensions such as a beacon analysis extension or a screen rotation compensation extension. Two are included out of the box. - Added Linear OpMode support with the
LinearVisionOpMode
. - Added an easy way to test your opmodes with the
TestableVisionOpMode
. It's exactly the same as aVisionOpMode
, but functions differently under the hood. This new opmode "spoofs" a robot controller while allowing you to view what Vision sees. - Added complete documentation for over 65% of the library
- Fixed several gaping bugs and addressed several teams' concerns