View Single Post
  #4   Spotlight this post!  
Unread 08-01-2012, 21:20
Sunstroke Sunstroke is offline
Programmer
AKA: Joe Grinstead
FRC #3504 (Girls of Steel)
Team Role: Mentor
 
Join Date: Apr 2009
Rookie Year: 2009
Location: New England
Posts: 49
Sunstroke is an unknown quantity at this point
Re: Java Camera Feed to Laptop

Quote:
Originally Posted by Ian Kaplan View Post
As our first goal for the season, we would like to get a camera feed to the driver's station.

Does anybody know the sample code necessary to accomplish this task?

Thanks.
Might I recommend using the SmartDashboard? It will allow you to code camera vision in Java.

The first thing you need to do is install the SmartDashboard installer (just run the SmartDashboardSetup.exe as an administrator on your 2Go pc).

Then follow the Greg's instructions (except when you configure the camera, make sure to allow anonymous viewing of video).

Quote:
Originally Posted by Greg McKaskle View Post
If you mean dashboard instead of driver station, the steps are ...

1. Configure your camera to 10.te.am.11 using the camera configuration tool.
2. Connect the camera to the switch.
3. Connect the driver station laptop to the switch and set the DS team ID.
4. Launch the Driver Station. It will launch the dashboard.
When your running the SmartDashboard, select "view>add..." and select the camera.