Go to Post I think there is much to be learned from working in teams, and team projects, but even more when you go out on your own some time for something you are truly passionate about. - paul_v [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 22-01-2010, 14:48
cappielloa cappielloa is offline
Registered User
FRC #1099 (Discotechs)
Team Role: Electrical
 
Join Date: Jan 2010
Rookie Year: 2007
Location: CT
Posts: 8
cappielloa is an unknown quantity at this point
Still no camera feed

So, after a week and a half, I have still been unable to get any response from the camera on the robot. I have been meticulously following the "2010 Camera and vision problems" thread, but to no avail. I am using Windriver to program.

First off, I'll let you know everything that I have done. Initially, I tried to incorporate the camera code into an existing program, but now I'm just trying to get "2010imagedemo" to work. I have installed all of the updates and I am sure that the driver station has updated. I have updated the cRIO image and run the camera setup tool, verifying that the FRC account is there and that I can get a feed while connected directly to the computer. All of this has been done from both the classmate PC and our old programming laptop (even running it as the driver station). And to clear up any other confusion, it is connected to port 2 with a crossover cable and gray button on the driver station to enabled the camera feed is ticked.

The code builds fine and loads onto the robot. I then get the "watchdog not fed" message along with an error in the 'Diagnostics' tab:
"Fatal error "Task error: Task already deleted." in HandleError() in C:/Windriver/workspace/WPILib/Task.cpp at line 188"
Note that no such file exists. Everything sits unresponsive for about a minute, then the watchdog error goes away and I can resume teleoperated, just with no camera feed.

Thanks for any help.
Attached Thumbnails
Click image for larger version

Name:	driverstationscreenshot.PNG
Views:	137
Size:	76.8 KB
ID:	8358  
  #2   Spotlight this post!  
Unread 22-01-2010, 18:18
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: Still no camera feed

Cappielloa,

We've run into the same issue here as well. Pretty much the exact error, when attempting to use the 2010 demonstration code. We applied all the updates, including uninstalling and installing the Driver Update.
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
  #3   Spotlight this post!  
Unread 22-01-2010, 18:54
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: Still no camera feed

Can you verify that your console is showing a "s_errno_EHOSTUNREACH" error?

We've logged into the cRIO using the Console Shell, and attempted to ping 192.168.0.90 using the following command:

ping "192.168.0.90",4

The pings were NOT successful.

Shouldn't we be able to ping the camera through the cRIO Console Shell?
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
  #4   Spotlight this post!  
Unread 22-01-2010, 21:55
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: Still no camera feed

We "fixed" our problem tonight after experiencing the exact same issues as the OP.

It turns out, all our prior attempts to update the cRIO image to v19 failed, and we were running and older image on the cRIO.

After reimaging the cRIO with v19, we were able to get the DriverStation to view the camera feed, and our WatchDog not fed errors disappeared. We were only able to do this after DOWNLOADING the code however. We still have not been successful in getting camera frames in debug mode. It also takes a long time for the camera feed to start after powering on the robot, and one has to be patient enough to not enable the robot while the camera feed is being established.
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
  #5   Spotlight this post!  
Unread 23-01-2010, 00:10
cappielloa cappielloa is offline
Registered User
FRC #1099 (Discotechs)
Team Role: Electrical
 
Join Date: Jan 2010
Rookie Year: 2007
Location: CT
Posts: 8
cappielloa is an unknown quantity at this point
Re: Still no camera feed

Thanks for the suggestions. I'll try updating the cRIO again. The DS reports v19, but the imaging tool was giving me a lot of trouble and I had to restart it a few times. If that doesn't work, we're planning on testing another cRIO with it. It may be a few days, but I'll post again if I make any progress.
  #6   Spotlight this post!  
Unread 23-01-2010, 07:38
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: Still no camera feed

Quote:
Originally Posted by cappielloa View Post
Thanks for the suggestions. I'll try updating the cRIO again. The DS reports v19, but the imaging tool was giving me a lot of trouble and I had to restart it a few times. If that doesn't work, we're planning on testing another cRIO with it. It may be a few days, but I'll post again if I make any progress.
We had problems with the imaging tool as well. Ultimately, we ended up using the CLASSMATE the reimage the cRIO by directly connecting the two with the orange crossover cable from the camera. For some reason the reimaging tool kept throwing either a UDP communications error during cRIO reboot, or could not set the cRIO's IP address.

Also, although it's obvious, don't forget to check-off "format controller" and select the v19 image when you reimage.

Lastly, I would be really interested in knowing if BEFORE you reimage, if you can open a Target Tools -> Console SHELL in Wind River, and try a ping "192.168.0.90",4

If you had the same problem as us, those pings should fail.

However, the moment you successfully re-image, before you load any code, if you ping again, it should work.
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
  #7   Spotlight this post!  
Unread 23-01-2010, 18:27
cappielloa cappielloa is offline
Registered User
FRC #1099 (Discotechs)
Team Role: Electrical
 
Join Date: Jan 2010
Rookie Year: 2007
Location: CT
Posts: 8
cappielloa is an unknown quantity at this point
Re: Still no camera feed

Thanks. I'm pretty optimistic that reimaging will work. I'll let you know presumably on Monday how everything turns out.

Did your DS report v19 before you fixed it?
  #8   Spotlight this post!  
Unread 25-01-2010, 16:01
Rolland0 Rolland0 is offline
Registered User
FRC #1684
Team Role: Programmer
 
Join Date: Sep 2007
Rookie Year: 2008
Location: Michigan
Posts: 3
Rolland0 is an unknown quantity at this point
Re: Still no camera feed

We're having the same problem over here. I'll let you guys know if we make any progress.
  #9   Spotlight this post!  
Unread 25-01-2010, 16:08
ideasrule's Avatar
ideasrule ideasrule is offline
Registered User
FRC #0610 (Coyotes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Toronto
Posts: 108
ideasrule is a jewel in the roughideasrule is a jewel in the roughideasrule is a jewel in the roughideasrule is a jewel in the rough
Re: Still no camera feed

I was saying on another thread that I had to go to C:\Program Files and manually delete the folder with the driver station software, then reinstall the software, before the feed worked. Just uninstalling and reinstalling the update didn't work.
  #10   Spotlight this post!  
Unread 25-01-2010, 17:02
Rolland0 Rolland0 is offline
Registered User
FRC #1684
Team Role: Programmer
 
Join Date: Sep 2007
Rookie Year: 2008
Location: Michigan
Posts: 3
Rolland0 is an unknown quantity at this point
Re: Still no camera feed

OK, our feed is working. I'm not really sure what did it but here's what we did:
1. deleted our current project and made a new 2010 Image Demo project
2. added an FRC account to the camera
3. ran the camera setup utility
4. reformatted the cRIO
After that, it was all good. If anyone has any ideas why this worked, I'd be glad to hear it.
  #11   Spotlight this post!  
Unread 25-01-2010, 17:04
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,721
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: Still no camera feed

If you never had an FRC/FRC account on the camera before, then the cRIO would have been refused login rights...
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #12   Spotlight this post!  
Unread 25-01-2010, 20:18
ProgrammerMike7 ProgrammerMike7 is offline
Registered User
AKA: Mike
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Canada
Posts: 13
ProgrammerMike7 will become famous soon enoughProgrammerMike7 will become famous soon enough
Re: Still no camera feed

Our team has had the same problem as you. However, we recently fixed this and I posted detailed step-by-step instructions in this thread: http://www.chiefdelphi.com/forums/sh...ight=windriver
Hope this helps!

- Mike and Team 2200
__________________
Wait (-1)
  #13   Spotlight this post!  
Unread 25-01-2010, 21:13
cappielloa cappielloa is offline
Registered User
FRC #1099 (Discotechs)
Team Role: Electrical
 
Join Date: Jan 2010
Rookie Year: 2007
Location: CT
Posts: 8
cappielloa is an unknown quantity at this point
Re: Still no camera feed

Finally got the cRIO to reimage without any errors...AND absolutely no change. I'm not worried about the DS update because I've been using another laptop that obviously never had the old version on it. I'll still pull out our second cRIO, maybe tomorrow and try it. I'm happy that some people are having better luck than I am...
  #14   Spotlight this post!  
Unread 26-01-2010, 16:44
Bryscus's Avatar
Bryscus Bryscus is offline
EE, CpE
AKA: Bryce B.
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 1999
Location: Jupiter, FL
Posts: 173
Bryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud of
Re: Still no camera feed

Quote:
Originally Posted by cappielloa View Post
Finally got the cRIO to reimage without any errors...AND absolutely no change. I'm not worried about the DS update because I've been using another laptop that obviously never had the old version on it. I'll still pull out our second cRIO, maybe tomorrow and try it. I'm happy that some people are having better luck than I am...
Hi there,

Have you tried installing the LabView update on the ClassMate PC? If you have tried everything else, this could be your problem. Most people develop on another PC and install this update on that machine, but not the ClassMate itself - because it doesn't really make sense to do the update on a machine you won't be developing with.

Anyway, this was one of the last steps we did on our way to getting an image. Try that if you haven't already.

Also, are the Ethernet lights on port 2 on? Make sure you have a crossover Ethernet cable as well.

- Bryce
__________________
The opulence of the front office decor varies inversely with the fundamental solvency of the firm.
  #15   Spotlight this post!  
Unread 26-01-2010, 19:13
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: Still no camera feed

Quote:
Originally Posted by cappielloa View Post
Finally got the cRIO to reimage without any errors...AND absolutely no change. I'm not worried about the DS update because I've been using another laptop that obviously never had the old version on it. I'll still pull out our second cRIO, maybe tomorrow and try it. I'm happy that some people are having better luck than I am...
Can you open a Terminal Shell in Wind River and ping the camera using:

ping "192.168.0.90",4

?
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Yet Another Axis Camera Live Feed Issue z2daj FRC Control System 2 24-01-2010 13:47
Any way to speed up the camera feed fps? Sean Raia Programming 10 22-01-2010 22:31
Live Feed with Axis Camera CHSboy Programming 6 24-03-2009 14:43
Drivers' Station Camera Feed dhawk085 Technical Discussion 4 25-01-2009 19:12
2009 - Live camera feed to drivers during a match? Travis Hoffman Rules/Strategy 23 21-01-2009 17:43


All times are GMT -5. The time now is 10:08.

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