Go to Post This looks like a job for duct tape! - JoeXIII'007 [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 07-10-2008, 22:49
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,367
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
E- Stop and The New FRC Control System

Please, some one tell me I'm wrong, that I'm just paranoid, but I watched the NI joy stick control in 10 minutes video several times and I did not see a disable or E-Stop switch hooked to the operator interface. The NI guy had no problem writing a VI that apparently ignored the lack of a kill switch. Trying to click on the stop execution tab with a mouse while a drive chain is chewing up a student is not acceptable. How is a total compact rio shut down handled? I have not seen any thing yet that leads me to believe that this issue is well handled. Please NI and beta teams tell me I have nothing to worry about.

Also note that there does not appear to be any fuse between the battery and the victors in the video. Sloppy.
  #2   Spotlight this post!  
Unread 07-10-2008, 23:30
BornaE's Avatar
BornaE BornaE is offline
Registered User
FRC #0842 (Formerly 39)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Gilbert, Arizona
Posts: 359
BornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant future
Re: E- Stop and The New FRC Control System

Quote:
Originally Posted by Gdeaver View Post
Please, some one tell me I'm wrong, that I'm just paranoid, but I watched the NI joy stick control in 10 minutes video several times and I did not see a disable or E-Stop switch hooked to the operator interface. The NI guy had no problem writing a VI that apparently ignored the lack of a kill switch. Trying to click on the stop execution tab with a mouse while a drive chain is chewing up a student is not acceptable. How is a total compact rio shut down handled? I have not seen any thing yet that leads me to believe that this issue is well handled. Please NI and beta teams tell me I have nothing to worry about.

Also note that there does not appear to be any fuse between the battery and the victors in the video. Sloppy.

This issue is handled through the competition port on the DS(Drivers Station)
There are 2 commands that disable the robot. the Disable command and the E-stop.
when the cRio receives the disable command, the outputs are temporarily disabled, and can be re-enabled again.

When the cRio receives the E-Stop command, all the outputs are disabled until the cRio is rebooted.
__________________
-Borna Emami
Team 0x27
  #3   Spotlight this post!  
Unread 07-10-2008, 23:43
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,367
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: E- Stop and The New FRC Control System

Yes, I Know there are provisions for a diable and e-stop. How ever it appears that these are easily by passed and are not intrinsic to the operation.
  #4   Spotlight this post!  
Unread 08-10-2008, 00:07
Mike AA's Avatar
Mike AA Mike AA is offline
Programmer and Mentor
AKA: Mike Aalderink
FRC #3458 (Code Blue)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Holland, Mi
Posts: 698
Mike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to behold
Send a message via MSN to Mike AA
Re: E- Stop and The New FRC Control System

Quote:
Originally Posted by Gdeaver View Post
Yes, I Know there are provisions for a diable and e-stop. How ever it appears that these are easily by passed and are not intrinsic to the operation.

The coding doesn't require the e-stop to be connected to operate. the E-Stop will still be on the driver station as a means to diable the robot.

-Mike
  #5   Spotlight this post!  
Unread 08-10-2008, 01:02
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,580
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: E- Stop and The New FRC Control System

Quote:
Originally Posted by Gdeaver View Post
Yes, I Know there are provisions for a diable and e-stop. How ever it appears that these are easily by passed and are not intrinsic to the operation.
The enable/disable works the same way as the IFI system. You do not have to have any code to use it. You do have access to the enable/disable state in the code, but if you set an output in the code while disabled, it does not get passed on. Unlike the IFI system, the switch is provided.

What specifically in the video made you think it was easily bypassed?

Last edited by Joe Ross : 08-10-2008 at 16:31. Reason: switch is required
  #6   Spotlight this post!  
Unread 08-10-2008, 03:42
eugenebrooks eugenebrooks is offline
Team Role: Engineer
AKA: Dr. Brooks
no team (WRRF)
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Livermore, CA
Posts: 601
eugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond repute
Re: E- Stop and The New FRC Control System

Just to ask, is there also an "autonomous" pin to hook
to a switch as in the competition port on the prior control
system?

Eugene
  #7   Spotlight this post!  
Unread 08-10-2008, 05:00
Cory's Avatar
Cory Cory is offline
Registered User
AKA: Cory McBride
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: May 2002
Rookie Year: 2001
Location: Redwood City, CA
Posts: 6,812
Cory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond repute
Send a message via AIM to Cory
Re: E- Stop and The New FRC Control System

Quote:
Originally Posted by eugenebrooks View Post
Just to ask, is there also an "autonomous" pin to hook
to a switch as in the competition port on the prior control
system?

Eugene
There's an autonomous/teleop switch on the OI. You have to move a jumper around to run auton at this point in time.
__________________
2001-2004: Team 100
2006-Present: Team 254
  #8   Spotlight this post!  
Unread 08-10-2008, 08:07
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,367
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: E- Stop and The New FRC Control System

In the video, for a spit second it appears that the OI competition port is bare. Nothing plugged in and the system is functioning. Shouldn't the system be disabled if nothing is in the port? The reason I'm especially concerned with the disable is that last week we started up the 2008 robot and it became instantly apparent just how important a functioning easily engaged disable button is.
  #9   Spotlight this post!  
Unread 08-10-2008, 08:22
Unsung FIRST Hero
Nate Smith Nate Smith is offline
FRC Key Volunteer Trainer
AKA: CrazyNate
no team
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Old Town, Maine
Posts: 1,029
Nate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to behold
Send a message via AIM to Nate Smith Send a message via Yahoo to Nate Smith
Re: E- Stop and The New FRC Control System

Quote:
Originally Posted by Gdeaver View Post
In the video, for a spit second it appears that the OI competition port is bare. Nothing plugged in and the system is functioning. Shouldn't the system be disabled if nothing is in the port? The reason I'm especially concerned with the disable is that last week we started up the 2008 robot and it became instantly apparent just how important a functioning easily engaged disable button is.
Without something connected to the competition port, with either the new system or the old IFI system, it will operate just fine. It is recommended to have one for safety purposes, but it has never been a requirement for the system to work properly "at home," i.e not at an event.
__________________
Nate Smith
nsmith@smythsoft.com
12 seasons, 4 teams, and more time logged behind the scorekeeper's table than I care to remember...
returning for 2011? only time will tell...
  #10   Spotlight this post!  
Unread 08-10-2008, 08:25
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: E- Stop and The New FRC Control System

The thing that may cause confusion was the disabling of the user watchdog.

The system has two watchdogs, the system or intrinsic -- controlled by the driver station and DS switches, and the user watchdog -- optional and controlled by the cRIO running the user's code.

If the intrinsic watchdog loses communications or is told to disable or e-stop, the FPGA shuts down I/O. Period.

The user watchdog is ANDed with the intrinsic can request a disable as well. In the movie, the watchdog was simply disabled and wasn't used.

Another usage would be to leave it enabled, and stroke the watchdog in a loop that verified conditions of the robot or joystick. It can be used to ensure that a core loop is executing every cycle and isn't hung or crashed. It can be used to implement a robot enable button on the joystick during early development.

Greg McKaskle
  #11   Spotlight this post!  
Unread 08-10-2008, 12:01
Ken Streeter's Avatar
Ken Streeter Ken Streeter is offline
Let the MAYHEM begin!
FRC #1519 (Mechanical Mayhem)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Team: Milford, NH; Me: Bedford, NH
Posts: 471
Ken Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond repute
Re: E- Stop and The New FRC Control System

Quote:
Originally Posted by Nate Smith View Post
Without something connected to the competition port, with either the new system or the old IFI system, it will operate just fine. It is recommended to have one for safety purposes, but it has never been a requirement for the system to work properly "at home," i.e not at an event.
Actually, with the new Driver Station, the robot defaults to disabled unless the "competition port" is connected. (With the prior IFI system, the default was to enable the robot if nothing is connected to the competition port.)
__________________
Ken Streeter - Team 1519 - Mechanical Mayhem (Milford Area Youth Homeschoolers Enriching Minds)
2015 NE District Winners with 195 & 2067, 125 & 1786, 230 & 4908, and 95 & 1307
2013 World Finalists & Archimedes Division Winners with 33 & 469
2013 & 2012 North Carolina Regional Winners with teams 435 & 4828 and 1311 & 2642
2011, 2010, 2006 Granite State Regional Winners with teams 175 & 176, 1073 & 1058, and 1276 & 133
Team 1519 Video Gallery - including Chairman's Video, and the infamous "Speed Racer!"
  #12   Spotlight this post!  
Unread 08-10-2008, 13:40
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,709
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: E- Stop and The New FRC Control System

Quote:
Originally Posted by Gdeaver View Post
Yes, I Know there are provisions for a diable and e-stop. How ever it appears that these are easily by passed and are not intrinsic to the operation.
Quote:
Originally Posted by Ken Streeter View Post
Actually, with the new Driver Station, the robot defaults to disabled unless the "competition port" is connected. (With the prior IFI system, the default was to enable the robot if nothing is connected to the competition port.)
I think this answers GDeaver's question. I can probably speak to the mindset behind his question though. I imagine his concern is that the IFI disable switch was nowhere close to actual E-Stop functionality. That is, the disable was a normally open connection, so it could completely fail to stop the robot if it, say, were unplugged by a rampaging robot or had some lint on the switch contact. True E-Stops should rely on a normally closed connection. Preferably two in series. That way, if the E_Stop circuit is unplugged, the wires are cut, or a solder joint comes loose, the robot will refuse to operate. Two NC switches also means that both have to fail to open for the E-Stop to fail, which is rather unlikely.

So, if the new DS always disables the robot without a (preferably normally closed) switch connected to the competition port, then all is well with the functioning of the new system. It can obviously still be jumpered around with a soldering iron, etc., but it generally makes it much more difficult to kill yourself.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #13   Spotlight this post!  
Unread 08-10-2008, 15:03
Ken Streeter's Avatar
Ken Streeter Ken Streeter is offline
Let the MAYHEM begin!
FRC #1519 (Mechanical Mayhem)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Team: Milford, NH; Me: Bedford, NH
Posts: 471
Ken Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond repute
Re: E- Stop and The New FRC Control System

Quote:
Originally Posted by Kevin Sevcik View Post
... True E-Stops should rely on a normally closed connection. ...

So, if the new DS always disables the robot without a (preferably normally closed) switch connected to the competition port, then all is well with the functioning of the new system. It can obviously still be jumpered around with a soldering iron, etc., but it generally makes it much more difficult to kill yourself.
That is exactly the behavior of the competition port on the Driver Station. You've also done an excellent job explaining the rationale behind the reason to change to a "normally closed" switch (for enable) from the prior behavior with the IFI operator interface. Thanks!

This does mean, however, that a team always has to have their switch on hand in order to enable the robot.
__________________
Ken Streeter - Team 1519 - Mechanical Mayhem (Milford Area Youth Homeschoolers Enriching Minds)
2015 NE District Winners with 195 & 2067, 125 & 1786, 230 & 4908, and 95 & 1307
2013 World Finalists & Archimedes Division Winners with 33 & 469
2013 & 2012 North Carolina Regional Winners with teams 435 & 4828 and 1311 & 2642
2011, 2010, 2006 Granite State Regional Winners with teams 175 & 176, 1073 & 1058, and 1276 & 133
Team 1519 Video Gallery - including Chairman's Video, and the infamous "Speed Racer!"
  #14   Spotlight this post!  
Unread 08-10-2008, 16:28
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,709
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: E- Stop and The New FRC Control System

Quote:
Originally Posted by Ken Streeter View Post
This does mean, however, that a team always has to have their switch on hand in order to enable the robot.
Which is the entire point. Can't operate safely without a safety switch and all that.

An additional good safety system, if not necessarily for FRC robots, is the deadman switch. It's (usually) a 3-position switch that's only closed when squeezed half way. Released or gripped tightly, the switch is open and the robot should cease operation. The reasoning being that humans are likely to release something OR grip something tightly in a panic situation, but likely won't maintain a calm, light grip on something. Probably annoying to have an over excited driver kill your robot in the middle of a match with a death-grip.... but it might make a good training tool for encouraging the drivers to stay calm in practices.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #15   Spotlight this post!  
Unread 09-10-2008, 12:48
Mr. Freeman Mr. Freeman is offline
Put better title here.
AKA: Kellan
no team (CSM Robotics)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Colorado
Posts: 198
Mr. Freeman is a splendid one to beholdMr. Freeman is a splendid one to beholdMr. Freeman is a splendid one to beholdMr. Freeman is a splendid one to beholdMr. Freeman is a splendid one to beholdMr. Freeman is a splendid one to beholdMr. Freeman is a splendid one to behold
Re: E- Stop and The New FRC Control System

Seems to me like a switch that requires a light grip would be more of a pain in the neck than a safety feature. If you aren't trained to "click the button if something bad happens" and are incredibly likely to panic in the event of an emergency, you probably shouldn't be the one holding the e-stop switch.

I do like the fact the new behavior of the e-stop this year (NC). I've nearly been run over a couple of times due to the lack of an e-stop button.
__________________
"Time is an illusion, lunchtime doubly so."
-Douglas Adams
“Why is it that I can walk into Wal-Mart and buy boxes of bullets and black powder, but I can’t buy potassium perchlorate to do science because it can also be used to make explosives?”
-Theodore Gray
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
OpenCV and New Control System manderson5192 Programming 11 04-01-2009 16:11
FRC control system to show up as default in the portal BornaE General Forum 0 25-09-2008 17:00
new FRC control system? Jwxie Programming 2 30-06-2008 20:34
New Innovation FIRST control system and the dashboard archiver 2000 0 23-06-2002 22:15
UNFAIR ADVANTAGE for CDI and new control system archiver 2000 6 23-06-2002 22:13


All times are GMT -5. The time now is 05: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