254 Vision App

HI Everyone,

Were planning on implementing 254’s vision app this year. Does anyone have any experience in the past with this? It looks incredible… and its 254 so I am sure it will be.

Does anyone know what type of android phone they ran it off of? Were probably gonna grab a phone off of ebay… but need to know specs/camera we should be going for…

any other advice would be huge!

They use a Nexus 5 to run the code. It has a 8 megapixel camera with basic image stabilization.

We got a nexus 5 off eBay for 90 bucks. After about 3 hours of messing with the phone and getting the app installed through android studio and another 2 hours coding the robot/rio, we had vision running flawlessly. If you do some searches for nexus or chezydroid on chief you can find some good threads that will help you debug anyproblems.

Tip: You might be able to find a cheaper phone by purchasing one that doesn’t work on US cell networks. We did this (not realizing it at the time) and disabled the cell radio upon receiving it.

I’m not sure what language you are using but we wrote a C++ VisionServer and AdbBridge that follows the pattern that 254 did in Java. You can find it here. https://github.com/Frc2481/frc-2017/tree/master/r2017/src/Vision

Note* We tested this and had it working in our shop but never actually used it in competition.