Go to Post So is this how cRIOs are made? - pSYeNCe [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 27-01-2010, 18:40
Rafael Vasquez Rafael Vasquez is offline
Registered User
FRC #1245
 
Join Date: Jan 2010
Location: Louisville
Posts: 10
Rafael Vasquez is an unknown quantity at this point
Autonomous Watchdog Issues

We are having issues with our watchdog in our autonomous routine. We currently are inputting the code into the "Autonomous Iterative" vi in the "Execute" case. Whenever we try to activate this code while running, the watchdog immediately kills the bot.

The current code is using a sequence structure to input values into the "Arcade Drive" vi. It does this once in each frame, with a timer in each frame as well. There are two frames, and the timer values are 5000 and 3000 respectively.

Unfortunately I cannot get a screenshot of the code to upload, so this description is all I can give.
  #2   Spotlight this post!  
Unread 27-01-2010, 18:52
Vikesrock's Avatar
Vikesrock Vikesrock is online now
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Autonomous Watchdog Issues

Autonomous Iterative is designed to run once for every DS packet like the Teleop VI. If you want to use a sequence structure, the first step to addressing your issue is likely to use Autonomous Independent instead.

The next step is to make sure that you are feeding the Watchdog during your autonomous routine. When you say there is a timer in each frame, are you referring to the Watchdog Delay and Feed VI? If not replacing the timers with this VI should address the issue.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)

Last edited by Vikesrock : 27-01-2010 at 18:55.
  #3   Spotlight this post!  
Unread 28-01-2010, 06:41
sarienbarry sarienbarry is offline
Junior Member
no team
 
Join Date: Jan 2010
Location: sarienbarry
Posts: 4
sarienbarry is an unknown quantity at this point
Re: Autonomous Watchdog Issues

I'm experimenting with Java as a potential platform for programming in '10, but I've run into a block. Here's where I got:

Re-imaged my cRIO - however during re-imaging I just realized that I did NOT check “Format Controller” - anyone know if this is potentially the source of my problems?

Tried to load code. What happens when I load code is that it goes through the first few dozen steps, then gets to "rebooting your cRIO" and seems to get stuck (I've left it for 20+ minutes, came back, found no difference).

The "Getting Started With Java" pdf doesn't really give any troubleshooting - it just says press the run button to load code.

Any ideas?
  #4   Spotlight this post!  
Unread 28-01-2010, 08:01
Chris Hibner's Avatar Unsung FIRST Hero
Chris Hibner Chris Hibner is offline
Eschewing Obfuscation Since 1990
AKA: Lars Kamen's Roadie
FRC #0051 (Wings of Fire)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1997
Location: Canton, MI
Posts: 1,488
Chris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond repute
Re: Autonomous Watchdog Issues

When we started a new project in LabVIEW, there was no watchdog feed in the default code for autnomous iterative. Look at Autonomous Independent for an example, copy the watchdog and feed blocks, and paste them into Autonomous Iterative. That cured the problem.
__________________
-
An ounce of perception is worth a pound of obscure.
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
Watchdog!?!?!?! NC GEARS General Forum 38 23-01-2010 08:52
Watchdog darty NI LabVIEW 8 16-02-2009 09:11
Autonomous Issues GunfighterJ Programming 6 15-02-2009 11:39
Autonomous Issues! dmoody92 Programming 6 07-02-2009 17:58
Autonomous questions (Labview) and some general issues Daniel_H NI LabVIEW 15 08-01-2009 21:07


All times are GMT -5. The time now is 17:32.

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