View Single Post
  #2   Spotlight this post!  
Unread 10-03-2011, 21:01
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: switching between cameras

Your IP setup and approach make sense to me.

My suggestion would be to start both cameras, and read from both streams in either the same loop or in parallel loops. This will keep the TCP buffers emptied. Skip the jpeg decode on one of them and see what the CPU usage is. The classmates are pretty capable, and I think you'll find that you could probably decode and display both if you wanted. Please post your findings.

Greg McKaskle
Reply With Quote