Go to Post "Look, it's already weight optimized!" - Samk [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 31-01-2017, 17:22
wwalcher wwalcher is offline
Registered User
FRC #4511
 
Join Date: Jan 2017
Location: Minnesota
Posts: 5
wwalcher is an unknown quantity at this point
Exclamation Kangaroo using GRIP and Lifecam HD-3000 Not Working

We just got our Kangaroo that we are planning to use to run GRIP for onboard vision processing in the mail yesterday. After booting it up and firing up GRIP, the camera worked momentarily with the pipeline we had tested on our other laptop, then it ceased to work and has ever since, despite my attempts to uninstall/reinstall drivers and to try to get an old driver (but I have not had luck in this department yet). The webcam still works with the native Windows camera app however. Others have had the same issue, and there is even an issue open on GitHub here. My suspicion, as with others, is that the driver is too new for the OpenCV build being used by GRIP, which is somehow causing it to throw an error. One user claims that installing an older driver fixed the issue for him, but he didn't specify what version of the driver he reverted to, so I have no idea what driver I should be looking for. Has anyone here ran into this issue as well? Any help would be much appreciated, as the Kangaroo is a super sweet little device that I'd love to be able to use for vision processing. Thanks!
Reply With Quote
  #2   Spotlight this post!  
Unread 31-01-2017, 17:26
SamCarlberg's Avatar
SamCarlberg SamCarlberg is offline
GRIP, WPILib. 2084 alum
FRC #2084
Team Role: Mentor
 
Join Date: Nov 2015
Rookie Year: 2009
Location: MA
Posts: 151
SamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to behold
Re: Kangaroo using GRIP and Lifecam HD-3000 Not Working

There should be a file called GRIP.log in C:\Users\<user>\GRIP\. If you're using version 1.5.2 it would be helpful to post that log file.
__________________
WPILib
GRIP, RobotBuilder
Reply With Quote
  #3   Spotlight this post!  
Unread 31-01-2017, 17:36
wwalcher wwalcher is offline
Registered User
FRC #4511
 
Join Date: Jan 2017
Location: Minnesota
Posts: 5
wwalcher is an unknown quantity at this point
Re: Kangaroo using GRIP and Lifecam HD-3000 Not Working

Here's the relevant output from the GRIP log file:
Code:
Jan 31, 2017 4:36:20 PM edu.wpi.grip.core.util.service.LoggingListener starting
INFO: [CameraSource] Starting
Jan 31, 2017 4:36:20 PM edu.wpi.grip.core.util.service.LoggingListener failed
SEVERE: [CameraSource] Failed from: RUNNING
edu.wpi.grip.core.sources.GrabberService$GrabberServiceException: [Webcam 0] Failed to grab image
	at edu.wpi.grip.core.sources.GrabberService.runOneGrab(GrabberService.java:75)
	at edu.wpi.grip.core.sources.GrabberService.run(GrabberService.java:64)
	at com.google.common.util.concurrent.AbstractExecutionThreadService$1$2.run(AbstractExecutionThreadService.java:66)
	at com.google.common.util.concurrent.Callables$4.run(Callables.java:122)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.bytedeco.javacv.FrameGrabber$Exception: videoInput.getPixels() Error: Could not get pixels.
	at org.bytedeco.javacv.VideoInputFrameGrabber.grab(VideoInputFrameGrabber.java:171)
	at edu.wpi.grip.core.sources.GrabberService.runOneGrab(GrabberService.java:73)
	... 4 more
Reply With Quote
  #4   Spotlight this post!  
Unread 31-01-2017, 18:01
SamCarlberg's Avatar
SamCarlberg SamCarlberg is offline
GRIP, WPILib. 2084 alum
FRC #2084
Team Role: Mentor
 
Join Date: Nov 2015
Rookie Year: 2009
Location: MA
Posts: 151
SamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to behold
Re: Kangaroo using GRIP and Lifecam HD-3000 Not Working

Definitely looks like the same problem. Googling around for LifeCam drivers comes up with a few results for old drivers you could try, though I can't guarantee that they'll work or not be malicious.
__________________
WPILib
GRIP, RobotBuilder
Reply With Quote
  #5   Spotlight this post!  
Unread 31-01-2017, 22:28
defraste defraste is offline
Registered User
FRC #0250
 
Join Date: Nov 2014
Location: Bethlehem
Posts: 2
defraste is an unknown quantity at this point
Re: Kangaroo using GRIP and Lifecam HD-3000 Not Working

We had this exact problem and I can attest to how frustrating it is. The camera light comes on just long enough to make you think it's going to work this time and....not!

We reverted back our Lifecam drivers until we got to 4.25.532.0 and it solved the problem. I'm not at the Kangaroo so I can't past the link, but it was a third party driver site and not Microsoft that we had to get it from. If you can't find it I'll post the link tomorrow.

Good luck!
Reply With Quote
  #6   Spotlight this post!  
Unread 01-02-2017, 00:07
wwalcher wwalcher is offline
Registered User
FRC #4511
 
Join Date: Jan 2017
Location: Minnesota
Posts: 5
wwalcher is an unknown quantity at this point
Re: Kangaroo using GRIP and Lifecam HD-3000 Not Working

Quote:
Originally Posted by defraste View Post
We had this exact problem and I can attest to how frustrating it is. The camera light comes on just long enough to make you think it's going to work this time and....not!

We reverted back our Lifecam drivers until we got to 4.25.532.0 and it solved the problem. I'm not at the Kangaroo so I can't past the link, but it was a third party driver site and not Microsoft that we had to get it from. If you can't find it I'll post the link tomorrow.

Good luck!
Thank you so much! I'll try to find it, but if you could post the link here that would be great (especially if others have the same problem).
Reply With Quote
  #7   Spotlight this post!  
Unread 01-02-2017, 07:59
defraste defraste is offline
Registered User
FRC #0250
 
Join Date: Nov 2014
Location: Bethlehem
Posts: 2
defraste is an unknown quantity at this point
Re: Kangaroo using GRIP and Lifecam HD-3000 Not Working

Here you go. We downloaded the driver from Softpedia (link). That being said, I just noticed we're running version 3.6.250.0 of the driver on the Kangaroo now. If you can, just get that one. I'm pretty sure both work, but that one is serving us well now. The driver's dated 12-2-2010.

If you have any problems downloading, installing, etc. just let me know. I can just send you the cab file if you need. Once you have that file downloaded then to through Device Manager, select the camera, and use the "install driver" button to find navigate to the cab file you downloaded.

If the camera stops working for any reason (it only happened to us once), just check the driver as Windows may have just replaced it again.

Any problems let me know!
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 01:14.

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