Go to Post Think Tolerant. - petek [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC 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 03-02-2009, 03:09
rwood359 rwood359 is offline
Registered User
AKA: Randy
FRC #0359 (Hawaiian Kids)
Team Role: Mentor
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Waialua, HI
Posts: 212
rwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to all
Camera power/comm problems disable the DSC

I haven't seen this posted before, but I ran into this problem today.
I had been testing traction control which did not enable the camera. I switched to run the 2 color example and the DSC would not go enabled. The download completed correctly, the DS said enabled and Dashboard said enabled, but the DSC was giving a slow blink that the NI documentation says means that the cRIO is disabled. After some debugging, I found that the power connector for the camera had come loose. I plugged it in, the camera came ready, and the DSC went enabled. After some further testing, I found that and power or comm problem with the camera will disable the DSC. I don't believe that this is the intended mode of operation. Losing power or comm with the camera should not shut down the robot.
I'm going to post this on the FIRST fourms as well.

Also note that the battery voltage was showing on the DS and in Dashboard. It looks like cRIO doesn't go enabled until the camera is operational.

Last edited by rwood359 : 03-02-2009 at 06:28. Reason: addition of Battery voltage
Reply With Quote
  #2   Spotlight this post!  
Unread 03-02-2009, 09:02
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Camera power/comm problems disable the DSC

I was having a similar problem this weekend. I think we fixed it by adding a 10ms delay in the camera loop AND feeding the watchdog.

The 10ms delay allows other code to execute. The watchdog enables the DSC.
Reply With Quote
  #3   Spotlight this post!  
Unread 03-02-2009, 12:34
rwood359 rwood359 is offline
Registered User
AKA: Randy
FRC #0359 (Hawaiian Kids)
Team Role: Mentor
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Waialua, HI
Posts: 212
rwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to all
Re: Camera power/comm problems disable the DSC

Quote:
Originally Posted by EricVanWyk View Post
I was having a similar problem this weekend. I think we fixed it by adding a 10ms delay in the camera loop AND feeding the watchdog.

The 10ms delay allows other code to execute. The watchdog enables the DSC.
I don't think that it is the watchdog timer. If it were, the DSC would not go enabled when the camera comes ready. I was running the stock two color camera demo v1. I looked at it with highlight execution enabled while the camera was OFF during startup. I believe that the lower timed loop was running, but the main loop was not. The main loop feeds the timer, but I think the the program is hung in the startup code and doesn't get to the main loop until the camera is ready.

If you pull the ethernet cable or power to the camera while the program is running the DSC will go to blink (it may be fast blink) reinstalling the cable re-enables the DSC. I'll try a delay when I go in today to see if it makes a difference.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems With The Power Distribution Block sanddrag Electrical 26 27-03-2007 23:11
PROBLEMS WITH THE CAMERA RDD Programming 2 18-02-2007 15:12
again, problems with the camera razer Programming 4 02-02-2007 11:50
power to the camera masanchez General Forum 1 23-01-2006 20:16
problems mounting the camera to the 'bot with the default servo/mount set up Redneck Programming 0 16-02-2005 20:53


All times are GMT -5. The time now is 22:58.

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