My favorites
▼
|
Sign in
frc1885-2013
FRC 1885's Code
Project Home
Wiki
Issues
Source
Export to GitHub
READ-ONLY: This project has been
archived
. For more information see
this post
.
Search
Search within:
All wiki pages
Featured pages
Current pages
Deprecated pages
for
TasksWeNeedtoComplete
Updated
Jan 12, 2013
by
David.Po...@gmail.com
Tasks
Save a black and white (binary) image every 5 seconds
Look at each binary image and determine where the white is
Put each pixel into a two dimensional array of bytes with 0 being black and 255 being white
Determine the width and height of all shapes we see
Determine which shape we are looking at
Find the center points of those shapes
Return those center points
Get the depth of the high values in the array
Determine yaw (horizontal angle) by comparing the z-values of the middle points on the left and right side of the goal
Determine the pitch (vertical angle) by comparing the z-values of the middle points on the top and bottom of the goal
Send the data
Powered by
Google Project Hosting