Go to Post My teams robots have been good, bad and ugly BUT they were all beautiful because they were there. - JohnBoucher [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 17-01-2017, 12:41
Team2909 Team2909 is offline
Registered User
FRC #2909
 
Join Date: Jan 2017
Location: Rochester Indiana
Posts: 5
Team2909 is an unknown quantity at this point
Exclamation 2017 Dashboard USB Camera

Prior to installing the 2017 Update Suite, all we had to do was click the dropdown box and select which camera we wanted. We are using a Logitech USB Webcam. Now with the new Dashboard, when we click the arrow, nothing shows up at all. Can someone please tell us what we are doing wrong?
Reply With Quote
  #2   Spotlight this post!  
Unread 17-01-2017, 12:56
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: 2017 Dashboard USB Camera

Try this sequence:
  1. Plug in camera, power up roboRIO & radio
  2. On the PC start the Driver Station
  3. Wait for Communications and Robot Code to go green
  4. Wait for camera 0 to appear as a camera selection (it will take a minute)
  5. After selecting camera 0, if the image remains blank, try hitting the Reset button on the roboRIO (or use the Driver Station Diagnostics tab to choose Restart Robot Code)
  6. Wait for everything to come back
  7. Wait a couple of minutes more for an image to appear.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 17-01-2017 at 13:18.
Reply With Quote
  #3   Spotlight this post!  
Unread 17-01-2017, 12:59
Hitchhiker 42's Avatar
Hitchhiker 42 Hitchhiker 42 is offline
Roboter
AKA: Mark Lavrentyev
FRC #4557 (FullMetal Falcons)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Cromwell, CT
Posts: 524
Hitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond repute
Re: 2017 Dashboard USB Camera

Just wondering, does this mean it can support multiple cameras more easily than last year?
__________________



2016 - NE District Championship Entrepreneurship Award
2016 - Hartford District Industrial Design Award
2016 - Waterbury District Engineering Inspiration Award
Reply With Quote
  #4   Spotlight this post!  
Unread 17-01-2017, 13:01
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: 2017 Dashboard USB Camera

Easier in the sense that the default dashboard comes with two independent camera windows.
You still need to write (duplicate) code to send a second camera stream.
Bandwidth for two cameras still needs to be a consideration, especially with USB cameras.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #5   Spotlight this post!  
Unread 17-01-2017, 13:08
Hitchhiker 42's Avatar
Hitchhiker 42 Hitchhiker 42 is offline
Roboter
AKA: Mark Lavrentyev
FRC #4557 (FullMetal Falcons)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Cromwell, CT
Posts: 524
Hitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond reputeHitchhiker 42 has a reputation beyond repute
Re: 2017 Dashboard USB Camera

Quote:
Originally Posted by Mark McLeod View Post
Easier in the sense that the default dashboard comes with two independent camera windows.
You still need to write (duplicate) code to send a second camera stream.
Bandwidth for two cameras still needs to be a consideration, especially with USB cameras.
Will keep in mind. Thanks for the explanation!
__________________



2016 - NE District Championship Entrepreneurship Award
2016 - Hartford District Industrial Design Award
2016 - Waterbury District Engineering Inspiration Award
Reply With Quote
  #6   Spotlight this post!  
Unread 17-01-2017, 13:43
Team2909 Team2909 is offline
Registered User
FRC #2909
 
Join Date: Jan 2017
Location: Rochester Indiana
Posts: 5
Team2909 is an unknown quantity at this point
Re: 2017 Dashboard USB Camera

Quote:
Originally Posted by Mark McLeod View Post
Try this sequence:
  1. Plug in camera, power up roboRIO & radio
  2. On the PC start the Driver Station
  3. Wait for Communications and Robot Code to go green
  4. Wait for camera 0 to appear as a camera selection (it will take a minute)
  5. After selecting camera 0, if the image remains blank, try hitting the Reset button on the roboRIO (or use the Driver Station Diagnostics tab to choose Restart Robot Code)
  6. Wait for everything to come back
  7. Wait a couple of minutes more for an image to appear.
After doing all this, it still says, "No Camera Selection"
Reply With Quote
  #7   Spotlight this post!  
Unread 17-01-2017, 13:55
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: 2017 Dashboard USB Camera

What language and user program are you running on the roboRIO?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #8   Spotlight this post!  
Unread 19-01-2017, 16:19
RossMN RossMN is offline
Registered User
FRC #4229
 
Join Date: Jan 2012
Location: Minnesota
Posts: 13
RossMN is an unknown quantity at this point
Re: 2017 Dashboard USB Camera

Having the same problem here. We're using Java. Wondering if anyone got around this.
Reply With Quote
  #9   Spotlight this post!  
Unread 19-01-2017, 16:47
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: 2017 Dashboard USB Camera

Quote:
Originally Posted by RossMN View Post
Having the same problem here. We're using Java. Wondering if anyone got around this.
Have you implemented an image server on the roboRIO?
The camera won't work out of the box in Java without a little effort.
https://wpilib.screenstepslive.com/s...e-roborio-2017

The LabVIEW default program includes a camera server, but C++ and Java require the user to add one themselves (it's pretty easy).
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 19-01-2017 at 17:15.
Reply With Quote
  #10   Spotlight this post!  
Unread 23-01-2017, 09:17
RossMN RossMN is offline
Registered User
FRC #4229
 
Join Date: Jan 2012
Location: Minnesota
Posts: 13
RossMN is an unknown quantity at this point
Re: 2017 Dashboard USB Camera

Yes, my student had done that. I'm not sure what the root problem was, but he fixed it and wrote up a nice explanation and tried to post it here. Looks like the post didn't make it. I can bug him to repost if anyone else is having the same issues.
Reply With Quote
  #11   Spotlight this post!  
Unread 23-01-2017, 09:26
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: 2017 Dashboard USB Camera

Get him to post it.
It's always good to get closure on a successfully resolved issue.
Someone will be searching for the same answer some day.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #12   Spotlight this post!  
Unread 23-01-2017, 11:44
Murphy's Avatar
Murphy Murphy is offline
Registered User
AKA: William "Murphy" Henning
FRC #4229 (Magnetech)
Team Role: Programmer
 
Join Date: Jan 2017
Rookie Year: 2016
Location: Saint Paul, Minnesota
Posts: 1
Murphy is an unknown quantity at this point
Re: 2017 Dashboard USB Camera

This is just a quick post after my other one apparently didn't go through or something. I'll fix it up later, but if you stumble upon this and have more questions, feel free to contact me.

Try updating Eclipse. The WPILib has been changed significantly this year.
They've stopped using NIVision in favor of OpenCV and CameraServer(cscore) libraries.
This means old code is no longer compatible with the 2017 driver station.
I have autoupdate on, so all I had to do was notice the little yellow box, click it, accept some license agreement of something, then click next a fewe times.
You may have to manually update. Information for that can be found here. (http://wpilib.screenstepslive.com/s/...-all-languages)
Then you have to reimage the roborio and reinstall java on it. Those can be found here and here. (http://wpilib.screenstepslive.com/s/...g-your-roborio) (http://wpilib.screenstepslive.com/s/...ller-java-only)
Some info on the changes can be found here. (http://wpilib.screenstepslive.com/s/...8-new-for-2017)
None of the old example code works, but some can be found here. (https://wpilib.screenstepslive.com/s...e-roborio-2017)
Reply With Quote
  #13   Spotlight this post!  
Unread 24-01-2017, 08:54
Steve Warner Steve Warner is offline
Controls / Programming
FRC #0234 (Cyber Blue)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Indiana
Posts: 43
Steve Warner is an unknown quantity at this point
Re: 2017 Dashboard USB Camera

We are having trouble getting a camera image on the 2017 Dashboard too. We are using C++ and have done everything listed in the above post. We downloaded the Intermediate Vision example to the roboRIO. On the dashboard the drop-down box lists both USB Camera 0 and Rectangle but neither of these produces any video. Any ideas?
Reply With Quote
  #14   Spotlight this post!  
Unread 24-01-2017, 19:23
Steve Warner Steve Warner is offline
Controls / Programming
FRC #0234 (Cyber Blue)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Indiana
Posts: 43
Steve Warner is an unknown quantity at this point
Re: 2017 Dashboard USB Camera

Tonight we found out that the camera works fine when the driver station is run on our programming pic but not on the Classmate. The only change to the Classmate this year has been the FRCUpdateSuite 2017.0.0.
Reply With Quote
  #15   Spotlight this post!  
Unread 25-01-2017, 18:54
xisybyl xisybyl is offline
Registered User
FRC #3648
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Denver
Posts: 34
xisybyl is an unknown quantity at this point
Re: 2017 Dashboard USB Camera

What is the minimum necessary to display two HD3000 USB cameras on the Dashboard using LabVIEW?
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:44.

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