Go to Post I'm totally hooked on reffing now and will be volunteering in the future because of [Beach Blitz]. - Ali Ahmed [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 27-01-2014, 15:32
pabigfe97 pabigfe97 is offline
Registered User
no team
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Boston, MA
Posts: 7
pabigfe97 is an unknown quantity at this point
Autonomous Fail-safe switch

Hello All!

As an auto routine, I would like to include an Autonomous Fail-Safe Switch so that the robot doesn't break when an unexpected event occurs.

The language I am using is Labview and I'm not sure where to begin...

Thanks in advance for your help,

Pablo
Reply With Quote
  #2   Spotlight this post!  
Unread 27-01-2014, 15:44
Woolly's Avatar
Woolly Woolly is offline
Programming Mentor
AKA: Dillon Woollums
FRC #1806 (S.W.A.T.)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Springfield, MO
Posts: 512
Woolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond repute
Re: Autonomous Fail-safe switch

There's about a million ways to do what you're saying...
The first thing that comes to mind is putting a Kinect on your driver station and making one of the drivers hold up a fist (all finger buttons pressed) to allow autonomous to keep running.
Otherwise, if it's a drive situation you're worried about, and you have encoders on your drivetrain, you could put in a condition such that if you're applying more than say 30% power to your motors and you're not moving, that it assumes the motors are stalled and kills autonomous (or you could use this same condition to see when you've run into the 10-pt goal)

But yeah, if your autonomous is inside a large while loop, you could make it so that any number of conditions can force autonomous to stop running.
__________________


Team 1806 Student: 2012-2013 | Mentor: 2013-Present
Reply With Quote
  #3   Spotlight this post!  
Unread 27-01-2014, 15:58
m1tche11d m1tche11d is offline
m1tche11d
FRC #1997
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2010
Location: Kansas
Posts: 21
m1tche11d is an unknown quantity at this point
Re: Autonomous Fail-safe switch

Basically, you want to do a few things.

1. Define what "normal" operation is.
2. Set up some way to detect whether or not you are in "normal" operation. (sensors, yay!)
3. If you are operating normally, great! If you aren't operating normally, then stop the robot.

It's really up to you to decide what your robot's operating bounds are going to be. Once you know this, then you will be able to solve this problem better. Sensors are fantastic and can be used in a variety of ways.

Generally, when we have designed fail-safes on our robot, we have gone with the same sensors:

Limit switches to detect physical movement too far in some direction.
Temp reading on the KOP gyroscope to detect parts that are too hot.
Accelerometer to determine whether or not the robot is upright.

Hope this helps!
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 14:42.

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