View Single Post
  #5   Spotlight this post!  
Unread 01-12-2013, 02:31 PM
jesusrambo jesusrambo is offline
Self-Proclaimed Programmer Messiah
AKA: JD Russo
FRC #2035 (Robo Rockin' Bots)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2010
Location: Carmel, CA
Posts: 114
jesusrambo is an unknown quantity at this point
Re: Offboard Camera Processing?

Hey,

This was something I spent a lot of time working on last year. We programmed our robot in Java, so what I did was basically open up the Dashboard in Labview, add a VI in it to accept camera input and handle the image processing, and then send back the x,y coordinates of the centers of each detected object to the robot over TCP, which it used in a PID controller that automatically aligned the turret.

I would advise against using NetworkTables, personally. The current implementation is poorly documented, and though it's been changed from the even worse implementation last year, it's still easier and more reliable to just write your own socket code.
Reply With Quote