Camera Code on its way…

Over the past week, Team 2915 has been busy writing camera code for our robot. This is one of the most important parts of the robot this year because shooting a basketball into a hoop by hand is very difficult.

Our basic strategy is to use the two backboards as “targets” that our robot will look for. When it sees them, it will use their size and angle to figure out its position on the field. The robot will constantly be looking for these backboards. When it finds them, it will lock on and constantly face them with our turret. On the push of a button, our robot will fire a ball which will hopefully find its way into the turret.

We’ve spent quite a while working on the camera code, but it’s coming along. We’ve found some great resources, which will be linked below. Good luck to any other team working on camera code! Seventeen days till ship!

General documentation

Excellent sample code from wpijavacv

Chief Delphi post – one of many good ones

Leave a comment