|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Camera
Quote:
How are you processing your USB camera images? |
|
#2
|
||||
|
||||
|
Re: Camera
I would try the Logitech C920 USB2 camera.
That's what FRC11 has on their robot. Using the CameraServer in Java on the RoboRIO I noticed a minimal delay on a private network streaming to the dashboard when not on the field. I'd have to ask FRC11 how it went on the field. It is possible that your other code on the RoboRIO is using up the CPU such that the USB camera is impacted. I suppose the IP camera is one way to address that. Last edited by techhelpbb : 08-03-2016 at 13:46. |
|
#3
|
||||
|
||||
|
Re: Camera
I'll second this. The C920 worked great for us last year, we have 2 this year that we're working on the code to switch between them.
|
|
#4
|
|||
|
|||
|
Re: Camera
Just an added concern for those thinking about switching to a network camera. This years radio only has TWO ports. So one port for the Rio and one for the camera... No problem right? Except if you are in the pits and want to hook up your laptop to it via network cable. You will not be able to test vision or camera stuff as you do not have enough ports.
To get out of this jam last weekend we actually zip tied an 8 port hub we had lying around into the robot so we could test vision in the pit. ![]() |
|
#5
|
||||
|
||||
|
Re: Camera
Quote:
Runs off 5V and the old D-Link radio power supply can power it. |
|
#6
|
||||
|
||||
|
Re: Camera
Quote:
![]() |
|
#7
|
||||
|
||||
|
Re: Camera
We are planning to use a router in the pits with the DHCP enabled in the router. The DHCP in the robot radio gets turned off for FMS play) It will be a little fiddlely having to move cables around, but will mean not waiting for fall back IPs.
|
|
#8
|
|||||
|
|||||
|
Re: Camera
Quote:
|
|
#9
|
||||
|
||||
|
Re: Camera
We are processing the images using some code from NIVision in Java which isn't in the API. We found it by using ctrl+space in Eclipse and looking for functions that looked helpful. Basically, we get a HSL Threshold, sort the particles from that by size, and take the biggest one as the high goal. We then use imaqMeasureParticle.(whatever you are looking for) to find the center of the particle.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|