Go to Post Practice. Don't leave home without it. - JesseK [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 16-01-2015, 09:45
team5050ctr's Avatar
team5050ctr team5050ctr is offline
Registered User
FRC #5050
 
Join Date: Jan 2015
Location: newport mi
Posts: 1
team5050ctr is an unknown quantity at this point
the usb camera

i was wondering how you would hook up the Microsoft USB camera from andymark to the robot and program it?
  #2   Spotlight this post!  
Unread 16-01-2015, 12:56
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: the usb camera

It's a USB camera. Plug it into one of the roboRIO's USB connectors.

What programming language do you use to program your robot? The default LabVIEW project already includes the code to forward the camera image to the Dashboard for display. Examples in C++ and Java show what you need to add to your program for it to do the same thing. Other examples show how to process the image in order to get useful information for your program to use.
  #3   Spotlight this post!  
Unread 17-01-2015, 22:29
landinw's Avatar
landinw landinw is offline
Registered User
AKA: Bill Landin
FRC #2377 (C-Company)
Team Role: Mentor
 
Join Date: Sep 2010
Rookie Year: 2010
Location: Pasadena, MD
Posts: 11
landinw is an unknown quantity at this point
Re: the usb camera

Our team is using the LifeCam USB camera with Java. It's working fine on the default PC Dashboard with the Simple Vision sample program, but we can't get an image on the SmartDashboard. We'd like to use the SmartDashboard - any ideas what we should check to get the camera to display on it?
  #4   Spotlight this post!  
Unread 17-01-2015, 23:03
Adam8234's Avatar
Adam8234 Adam8234 is offline
Controls Captain
AKA: Adam Corpstein
FRC #2052 (KnightKrawler)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2014
Location: United States
Posts: 28
Adam8234 will become famous soon enough
Re: the usb camera

Quote:
Originally Posted by landinw View Post
Our team is using the LifeCam USB camera with Java. It's working fine on the default PC Dashboard with the Simple Vision sample program, but we can't get an image on the SmartDashboard. We'd like to use the SmartDashboard - any ideas what we should check to get the camera to display on it?
My team successfully got the Microsoft camera to work with the default dashboard. We just added the code from the simple vision example to our existing code, but we haven't specifically tried SmartDashboard, but it's on our list. I will let you know if we get it to work on SmartDashboard.
  #5   Spotlight this post!  
Unread 17-01-2015, 23:12
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,567
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: the usb camera

Quote:
Originally Posted by landinw View Post
Our team is using the LifeCam USB camera with Java. It's working fine on the default PC Dashboard with the Simple Vision sample program, but we can't get an image on the SmartDashboard. We'd like to use the SmartDashboard - any ideas what we should check to get the camera to display on it?
One thing we've noticed is that there is a single socket, and the LabVIEW dashboard doesn't close it when you turn off the camera. We've needed to close the LabVIEW dashboard and then start SmartDashboard to get it to work.
  #6   Spotlight this post!  
Unread 24-01-2015, 16:15
Kyle Chan's Avatar
Kyle Chan Kyle Chan is offline
Registered User
FRC #0368 (Kika Mana)
Team Role: Programmer
 
Join Date: May 2013
Rookie Year: 2012
Location: Honolulu
Posts: 7
Kyle Chan is an unknown quantity at this point
Re: the usb camera

We are also having this problem. After applying the new WPILib update last week, we noticed that the USB Camera was not connecting on SmartDashboard but it worked fine on the default dashboard.
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 11:33.

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