View Single Post
  #2   Spotlight this post!  
Unread 22-01-2011, 18:41
sjspry sjspry is offline
Registered User
FRC #1984
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Kansas
Posts: 125
sjspry has a spectacular aura aboutsjspry has a spectacular aura aboutsjspry has a spectacular aura about
Re: Camera via Radio - Can show on Dashboard?

Aha, found this thread again. Mistakenly replied to another

I was working on a custom dashboard you can use if you wish. It's not very complete, and the only transmission which works is the image (I had textual data set up earlier, but it was horrible -- redoing that part now. If you wanted to try, send stuff robot->PC on port 7450.)

Note it's not required that the Dashboard connect to the robot, it should only look for the camera (I have the IP set to 10.19.84.10, change it, it's in BigBrotherGUI.java). You can set the Thread.sleep() in the BigBrotherGUI.java to modify the FPS. Currently, it's set to about 15 (better than the FRC Dashboard), and it might be overlaying some edge detection data on the image (it's the for loop slightly above the Thread.sleep(), just comment it out. That and the detector.process([...]) line.)

I'll send you the robot-side code if you want when I get it finished, but it's Java. (EDIT: Just realized we're in the Java forum, hehe)

Whole thing is GPLv3, see attachments for download. Reply if you have problems, it should be runnable at this point.
Attached Files
File Type: zip BigBrother.zip (71.6 KB, 20 views)

Last edited by sjspry : 22-01-2011 at 18:43.
Reply With Quote