View Single Post
  #4   Spotlight this post!  
Unread 07-03-2016, 09:49
BrianAtlanta's Avatar
BrianAtlanta BrianAtlanta is offline
Registered User
FRC #1261
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2012
Location: Atlanta, GA
Posts: 70
BrianAtlanta has a spectacular aura aboutBrianAtlanta has a spectacular aura about
Re: 2nd Camera and Rasperry Pi

I believe so. I haven't seen it personally, since I'm helping in other programming areas, but that's our requirement for the programming task. We have 2 cameras, one will stream to the driver station for the drivers. A shooter camera will be processed for targeting, and it too will stream to driver station. The shooter stream is so the drivers know where the vision tracking it currently targeting.

We did have one problem to resolve. We are using 2 of the same camera, and one is being processed for targeting. The problem is the device id's, how does the vision software know which is the shooter. We have a script that determines which is driver camera and which is shooter camera, and then spins up vision tracking with the correct id.

Be aware that the although you have a 7mbps on the network, latency <6mbps is about 8-10ms. Once you go over 6mbps, the latency quickly spikes to 70-80ms. Driver station needs about 100mbps. I'm having our developers target 5mbps as a max bandwidth for 2 cameras.

If there is a specific problem you need help with, I can ask our programmers to chime in with help.

Brian