Go to Post Ship dates, rules and deadlines all share one thing in common, they are your friend. - billbo911 [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 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
  #2   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
  #3   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
  #4   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
  #5   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
  #6   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
  #7   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
  #8   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