Go to Post Life is unfair. Learn to deal with it or be unhappy. - Joe Johnson [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 28-01-2017, 14:38
nhalstead's Avatar
nhalstead nhalstead is offline
Noah H
FRC #5420 (Velocity)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: New Jersey
Posts: 16
nhalstead is an unknown quantity at this point
Exclamation USB Camera Not Detected!

I am working on Vision on a demo robot that we have built from the Recycle Rush season robot. In the process of me doing this I needed to update the RoboRIO, PDP and the PCM.

When I did that I tested the old code with it to verify that everything was good, (and it was) just one thing...
- The Camera is not being recognized by the Dashboard.

I have logged into the WebGUI on the RoboRIO to see what was listed for devices. Looking at the devices, I see the camera listed but, I can not see it on the dashboard.

RoboRIO Firmware Version: 3.0.0f0
RoboRIO Image Version: FRC_roboRIO_2017_v8
DriveStation: 17.0a.111

Any Help would Help!
Reply With Quote
  #2   Spotlight this post!  
Unread 28-01-2017, 16:19
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,906
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: USB Camera Not Detected!

Try creating a new Project and seeing if the camera works with that.
If it does, you can compare how the camera is handled in the robot project between the old and new code (Camera IP & Dash.vi).
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 29-01-2017, 12:17
nhalstead's Avatar
nhalstead nhalstead is offline
Noah H
FRC #5420 (Velocity)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: New Jersey
Posts: 16
nhalstead is an unknown quantity at this point
Re: USB Camera Not Detected!

It was an new WPI VI in Begin.vi!
Attached Thumbnails
Click image for larger version

Name:	FixFor2017UpdateToOldCode.PNG
Views:	15
Size:	6.0 KB
ID:	21646  
Reply With Quote
  #4   Spotlight this post!  
Unread 29-01-2017, 12:33
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,906
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: USB Camera Not Detected!

Double-click on the Vision icon above it.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #5   Spotlight this post!  
Unread 29-01-2017, 14:19
mGeorgeXYZ mGeorgeXYZ is offline
Registered User
FRC #3397
 
Join Date: Jan 2016
Location: St Louis MO
Posts: 2
mGeorgeXYZ is an unknown quantity at this point
Re: USB Camera Not Detected!

We are having the same problem (I think). I can see that the USB camera is working by examining the variables in the network table, also the image can be viewed with the "Smart Dashboard" by adding the widget. However from the default dashboard, I select the camera, and no image is displayed. The new control that has sliders for frame rate and compression has no effect. Are you saying that we rebuild the dashboard vi from labview, with a simple fix to one of the vis? Thanks.
Reply With Quote
  #6   Spotlight this post!  
Unread 29-01-2017, 14:41
nhalstead's Avatar
nhalstead nhalstead is offline
Noah H
FRC #5420 (Velocity)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: New Jersey
Posts: 16
nhalstead is an unknown quantity at this point
Re: USB Camera Not Detected!

For me I was using an older robot from 2015 (Recycle Rush). FIRST has a new VI you have to use to make the camera feed goto the dashboard. In LabVIEW it is in the Robot Main.vi and you have to add the "Send 2 PC" Camera WPI vi.

Then you just need to connect the error line to it.
It seemed to have worked for me.

If you can not find the Object like I couldn't you can Create a New Robot Project then just Copy the Object from there and past it into your other project.


Good Luck. Hope it helps!
Attached Thumbnails
Click image for larger version

Name:	FixFor2017UpdateToOldCode-Help.PNG
Views:	13
Size:	18.1 KB
ID:	21648  
Reply With Quote
Reply


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: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