View Single Post
  #16   Spotlight this post!  
Unread 24-01-2015, 15:18
dave1027 dave1027 is offline
Registered User
FRC #1027
 
Join Date: Feb 2007
Location: West Springfield, MA
Posts: 14
dave1027 will become famous soon enough
Re: Not seeing MS Webcam images in default dashboard

Quote:
Originally Posted by adamdb View Post
We seem to have everything set up correctly and communications seem fine, but we are not seeing images from the MS Webcam on the Default dashboard. I select "Camera HW" (Camera SW also doesn't work) and click the green right arrow button and the counters change showing the frames per second, but we don't actually see an image in that big box on the left. We have tried both USB ports on the roboRIO, but no images.

Ideas? Other data I need to provide before you can tell me what simple thing we are doing wrong?

Thanks
In order to use the MS Webcam with the default dashboard using JAVA you need to start a camera server in JAVA. the easiest way to do this is to open the Simple Vision example code in eclipse. (File->New Project-> Sample FIRST project->Simple Vision example.) The only thing this code does is stream the webcam to the dashboard and will show you the exact syntax to use.

The only additional thing you should do is connect to the roboRIO via IP in a webrowser and check what address the MS Webcam has been assigned to. It should show up as cam0 or cam1, and you might have to change it in the sample code.

I do not have the programming computer in front of me otherwise i would just include the syntax here. I will check back here later, reply if you need the syntax copied here.

-Dave