Thread: Using cameras
View Single Post
  #6   Spotlight this post!  
Unread 17-10-2011, 19:39
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Using cameras

With the newer radios, you now have two ways of getting video to the laptop. If using an 8-slot cRIO, you can connect the camera to the second port, have the cRIO read and retransmit to the laptop. This was called the PCVideoServer for C++ and Java. This was done automatically for LV as long as the camera was opened. This form of video server puts a bit of overhead on the cRIO and from my experience the lag can be as low as 0.5 seconds, but if you aren't careful, you can load up the cRIO or the dashboard, or you can misconfigure the PCVideoServer, and the lag will grow to be up to five seconds.

If using the newer radios that include a switch, you can connect the radio directly to the switch, and the dashboard laptop can request a second stream directly. No overhead at all for the cRIO, and when using MJPG, the latency is very small. I've had three cameras streaming before. You will need to update the dashboard in order to do it this way.

Greg McKaskle
Reply With Quote