Go to Post Teams helping teams out is the lifeblood of FIRST. - Koko Ed [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 10-03-2005, 13:27
Collmandoman Collmandoman is offline
Post-A-Holic
no team
 
Join Date: Jan 2005
Rookie Year: 2000
Location: TEnNEssEe
Posts: 256
Collmandoman has a spectacular aura aboutCollmandoman has a spectacular aura aboutCollmandoman has a spectacular aura about
Question about human disable

Would I PID controlled arm still function when the pressurepad is deactivated?
  #2   Spotlight this post!  
Unread 10-03-2005, 13:41
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,507
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Re: Question about human disable

I doubt it. I believe the robot controller is put into disabe mode which makes it so nothing can operate.
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
  #3   Spotlight this post!  
Unread 10-03-2005, 14:32
Dave Scheck's Avatar
Dave Scheck Dave Scheck is offline
Registered User
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Feb 2003
Rookie Year: 2002
Location: Arlington Heights, IL
Posts: 574
Dave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond repute
Re: Question about human disable

My understanding was that when the pressure pad was deactivated, the disabled bit gets set. When that is set, the robot is disabled which causes the outputs of the RC are held at neutral (127). Your PID loop will continue to run, however, there will be no output to your motors. Be careful that your integral component doesn't wind up while you're disabled...that could make for some interesting results when the pad was reactivated
  #4   Spotlight this post!  
Unread 10-03-2005, 14:46
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Question about human disable

When the robot is disabled, Victors will go to neutral, and Spikes will turn off (both FWD and REV outputs go to ground). Note that this can easily cause undesired actions if you're using any Festo valves in your pneumatics!
  #5   Spotlight this post!  
Unread 10-03-2005, 16:53
ConKbot of Doom ConKbot of Doom is offline
Team Alumni
FRC #1184 (Cobra Robotics)
Team Role: Leadership
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Maryland
Posts: 153
ConKbot of Doom has a spectacular aura aboutConKbot of Doom has a spectacular aura aboutConKbot of Doom has a spectacular aura about
Re: Question about human disable

When it is disabled, is it really outputing neutral (127) to the victors, or is there no signal?
I know that with motor controllers it isn't really that big of a deal, but if there were say, a servo controlled latch for an arm. That could make for an interesting situation. Or servos for shifting transmissions...
  #6   Spotlight this post!  
Unread 10-03-2005, 20:20
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: Question about human disable

Quote:
Originally Posted by ConKbot of Doom
When it is disabled, is it really outputing neutral (127) to the victors, or is there no signal?
I know that with motor controllers it isn't really that big of a deal, but if there were say, a servo controlled latch for an arm. That could make for an interesting situation. Or servos for shifting transmissions...
It actually sets it to 127.

And to answer the original question:
The program continues to function, meaning your PID will still be working. However, any output is ignored by the RC. This should be fine though, because the errors will just accumulate and be corrected for when the disable is turned off.

If you're asking if you can still move the arm, the answer is no. Sorry.
__________________

  #7   Spotlight this post!  
Unread 10-03-2005, 23:30
Anthony Kesich's Avatar
Anthony Kesich Anthony Kesich is offline
Programmer Turned Engineer
AKA: SonKenshin
#1097 (Site 3 Engineernig)
Team Role: Leadership
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Sacramento, CA
Posts: 186
Anthony Kesich has a spectacular aura aboutAnthony Kesich has a spectacular aura about
Send a message via AIM to Anthony Kesich
Re: Question about human disable

If you're worried about the PID building up, you can disable your algorithm while the robot is disabled.

There is a bit called disabled_mode that is 0 of the robot is running and 1 if its disabled. If you want, you can tell the PID only to run if disabled_mode == 0, other wise, just leave it. This will keep your integral term from building up and making the arm be crazy.

Hope this helps.

-Tony K
__________________
C is screwing up my English--I'm ending all my sentences in semi-colons;

Horray for most things! -George Carlin

"Sure, I'll play rugby. Besides, I have a lot of experience running from really big guys who want to cream me." -Me, Freshman year
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
What are you going to do to your Human player? Kyle General Forum 80 20-02-2005 10:58
"Triple Play" Human Player Question xtremedarkness Rules/Strategy 22 21-01-2005 17:32
Question: Missing Tetras in Human Loading Zone? tribotec_ca88 Rules/Strategy 7 15-01-2005 15:26
[FVG]: Human Players Mike Ciance FIRST-related Organizations 6 21-06-2004 21:34


All times are GMT -5. The time now is 10:56.

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