Go to Post Do you have to think about FIRST when you get up in the morning? - KenWittlief [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-01-2012, 17:17
Ian Kaplan Ian Kaplan is offline
Registered User
FRC #1155 (SCiBORGS)
Team Role: Programmer
 
Join Date: Mar 2010
Rookie Year: 2010
Location: New York
Posts: 8
Ian Kaplan is an unknown quantity at this point
Java Camera Feed to Laptop

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.
  #2   Spotlight this post!  
Unread 08-01-2012, 19:00
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,753
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: Java Camera Feed to Laptop

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.
5. Rejoice in the video showing on the dashboard.
Bonus. Switch to the Kinect tab and view the skeleton from the Kinect (provided the drivers are installed and it is connected and powered).

If you want to change things, you can use LV to create a dashboard project, customize, and build your own. There are other dashboard tools you can choose to use as well including C# and Java I believe.

Greg McKaskle
  #3   Spotlight this post!  
Unread 08-01-2012, 19:08
linuxboy linuxboy is offline
Registered User
AKA: Oliver Graff
FRC #3780
Team Role: Alumni
 
Join Date: Nov 2010
Rookie Year: 2009
Location: MI, USA
Posts: 217
linuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud of
Re: Java Camera Feed to Laptop

Does the user account FRC with the password FRC need to be added, or is that not a requirement this year?

Oliver
  #4   Spotlight this post!  
Unread 08-01-2012, 19:41
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,753
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: Java Camera Feed to Laptop

user: FRC, password: FRC is what will be sent to the camera, so you can either do that by hand, or let the utility do it for you.

Greg McKaskle
  #5   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.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 18:45.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi