Go to Post Wow... no duct tape? - Stormnnormn [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #26   Spotlight this post!  
Unread 29-03-2010, 19:50
TubaMorg TubaMorg is offline
Programmermechanicalelect ricalcoach
AKA: Dan
FRC #1480 (Robatos Locos)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Houston
Posts: 450
TubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond repute
Re: Spontaneous motor skipping?

Quote:
Originally Posted by 360skier View Post
The watchdog works like a timer. If it doesn't receive a feed command from your code every so often, it shuts down your output. This is to prevent you from setting your motors to full forward, and then lagging the classmate so you can't shut them off.

If you look at the watchdog methods (or blocks if you're using labview), there should be one something like SetPeriod which takes a float. This will allow you to specify the watchdog timeout, in seconds I believe. Making this slightly longer will hopefully stop causing the intermittent motor shutdown you've been seeing.
Yes this is what I meant by widen the setpoint. I apologize for the vague terminology! Avoid the temptation to set it too long, it really is an important safety feature. As leav pointed out, more than 0.5 seconds is too long. Our Java had a default of 0.2 seconds that we changed to 0.4. If your code is getting stuck somewhere for longer than this, it definitely needs some optimization work
__________________
I don't need a signature.

Last edited by TubaMorg : 29-03-2010 at 19:56.
 


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
[Vex] Spontaneous channel switching/dying Joe G. VEX 2 15-04-2009 16:17
Motor speed sensing with the Jaguar motor controller? mminutto FRC Control System 5 13-01-2009 18:13
White Paper Discuss: Approx. Motor Spec for Taigene Motor Joe Johnson Motors 2 22-01-2005 16:36
External metal jacket on the Drill motor and FP motor, WHY? archiver 2001 3 24-06-2002 04:22
External metal jacket on the Drill motor and FP motor, WHY? Dennis Hughes Technical Discussion 1 04-06-2001 11:59


All times are GMT -5. The time now is 13:48.

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