Go to Post I propose, these forums are not a competition. There is no race to prove a point, to prove you are right, to prove you are wrong. - rees2001 [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rating: Thread Rating: 9 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 24-01-2015, 15:27
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is offline
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,722
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: Not seeing MS Webcam images in default dashboard

Quote:
Originally Posted by Joe Ross View Post
I was able to run the 2015 Vision Color Sample, which does a color threshold. I modified it (few lines of code) to get the data from the axis camera, rather then a file. It does a color threshold to find the yellow bin.
Where is Vision Color Sample located?

Edit: Never mind, found it after the Java update.

Last edited by notmattlythgoe : 24-01-2015 at 15:42.
  #2   Spotlight this post!  
Unread 26-01-2015, 08:04
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is offline
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,722
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: Not seeing MS Webcam images in default dashboard

Quote:
Originally Posted by Joe Ross View Post
I was able to run the 2015 Vision Color Sample, which does a color threshold. I modified it (few lines of code) to get the data from the axis camera, rather then a file. It does a color threshold to find the yellow bin.
We were finally able to get it running, but not with the AxisCamera. The robotRio sees the IP camera as cam0, so I was able to use it just like the USB cameras. Thank for the help.

Last edited by notmattlythgoe : 26-01-2015 at 08:54.
  #3   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
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 00:43.

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