|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Camera via Radio - Can show on Dashboard?
According the the "How to Configure Your Camera" document,
Quote:
|
|
#2
|
|||
|
|||
|
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. Last edited by sjspry : 22-01-2011 at 18:43. |
|
#3
|
|||
|
|||
|
Re: Camera via Radio - Can show on Dashboard?
Thanks for the info and file. Will definitely check it out. We would also appreciate the robot code once you finish it.
|
|
#4
|
||||
|
||||
|
Re: Camera via Radio - Can show on Dashboard?
Does the camera image have to be displayed within the Dashboard ... or can we simply open up a browser session window, size it to fit in an area of the screen and run the camera like that?
|
|
#5
|
||||
|
||||
|
Re: Camera via Radio - Can show on Dashboard?
The ZomB Dashboard is soon (hopefully before the end of the week) going to have support for this type of camera.
|
|
#6
|
|||||
|
|||||
|
Re: Camera via Radio - Can show on Dashboard?
Quote:
At competition the typical browser port 80 is one of the allowed open ports. |
|
#7
|
|||
|
|||
|
Re: Camera via Radio - Can show on Dashboard?
all you should have to do is in your code there is a .h file were it looks for the ip address and change that to 10.xx.yy.zz i think
|
|
#8
|
|||
|
|||
|
Re: Camera via Radio - Can show on Dashboard?
Yeah, if you didn't want to do any processing at all just use a web browser. Only drawback is the Classmate screen is pretty small, so you're going to have to set it to 320x240 for sure.
|
|
#9
|
||||
|
||||
|
Re: Camera via Radio - Can show on Dashboard?
ZomB v0.7.1.350 has (theoretical) support for this, drag a camera view on the surface, set the mode to MJPEG, and the source params to the ip address of the camera
http://firstforge.wpi.edu/sf/frs/do/...ble.v0_7_1_350 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|