View Single Post
  #8   Spotlight this post!  
Unread 10-02-2010, 09:33
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
Re: absolute minimum for displaying image on dashboard

Quote:
Originally Posted by byteit101 View Post
You can also use PCVideoServer (you'll need to include a file, I think its "Vision\PCVideoServer.h")
Code:
class robotclass : ....
{
...
    PCVideoServer pcvs;
public:
    robotclass:
       .....
       ,pcvs()
    {
    ...
    }

......

}
A quick note on PCVideoServer:

My team found out the hard way that the camera, when initialized with GetInstance(), starts its own PCVideoServer. Attempting to start a second one blocks the entire thread indefinitely.
__________________
Reply With Quote