Go to Post I believe the only cure... is more cowbell? :D - The Megan 2207 [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 04-02-2012, 14:59
bf2416's Avatar
bf2416 bf2416 is offline
Registered User
AKA: Blake Frasur
FRC #4058 (Boombots)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Union County
Posts: 35
bf2416 is an unknown quantity at this point
Disabled.vi

I was wondering what should be in the disabled.vi, just all motors, servos, etc. with output set to 0?
Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2012, 15:16
Jon236's Avatar
Jon236 Jon236 is offline
Registered User
AKA: Jon Mittelman
FRC #2648 (Infinite Loop)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Windsor, Maine
Posts: 741
Jon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond repute
Re: Disabled.vi

In Disabled.vi, all that is disabled are the outputs to your motors and actuators. Your sensors will still work. So, read and set the bias for the gyro, read Driver Station inputs and set up your initial conditions.
__________________
Jon Mittelman

Senior Judge Advisor New England & Israel 2014-2015
Infinite Loop Mentor 2011-2015
TechnoTicks Mentor 2000-2011
Championship Chairman's Award 2009 Team236 TechnoTicks
Judge 2010-2015 Championships
Senior Judge Advisor New England District Championship 2014-2015
Judge Advisor Tel Aviv Regional 2007-2015
Judge Advisor Pine Tree Regional 2013
Maine Regional Planning Committee
New England District Planning Committee
Lead Inspector Microsoft Tel Aviv Regional 2006-2008
Judge & Lead Inspector GM/Technion Tel Aviv Regional 2006
Judge UTC Hartford Regional 2006
Reply With Quote
  #3   Spotlight this post!  
Unread 04-02-2012, 15:22
bf2416's Avatar
bf2416 bf2416 is offline
Registered User
AKA: Blake Frasur
FRC #4058 (Boombots)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Union County
Posts: 35
bf2416 is an unknown quantity at this point
Re: Disabled.vi

Ok thanks
Reply With Quote
  #4   Spotlight this post!  
Unread 04-02-2012, 15:24
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,833
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: Disabled.vi

Pretty much anything you think should be set to zero for safety sake.
Here's the danger.
If your robot gets Disabled while moving drive base or mechanisms, will that be overridden immediately if you startup again in Autonomous or in Teleop?
Otherwise, when you Enable again the robot will continue trying to do what it was at the time it was Disabled, even though Autonomous will start over at the beginning again.

If you are following the Safety vi feeding schedule in both Autonomous and Teleop, then it probably doesn't matter for drive motors, but it still might for secondary motors.
For most of us, Teleop will immediate set most motor outputs, so that might not be a problem.
Autonomous is the more dangerous issue. If you don't bother to command a motor until later on in Autonomous, then you've got a problem.

P.S. There are also issues with feedback mechanisms that try harder and harder to force the robot somewhere, until suddenly the robot is Enabled again, but the feedback is by now commanding warp speed, because nothing slower was working while Disabled.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 04-02-2012 at 19:23.
Reply With Quote
  #5   Spotlight this post!  
Unread 04-02-2012, 18:05
bf2416's Avatar
bf2416 bf2416 is offline
Registered User
AKA: Blake Frasur
FRC #4058 (Boombots)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Union County
Posts: 35
bf2416 is an unknown quantity at this point
Re: Disabled.vi

Okay that makes sense, thanks
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 22:26.

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