Go to Post When teams work together to design things rather than going it alone, you can really come up with magnificent machines. - JesseK [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 17-04-2012, 21:24
ahartnet's Avatar
ahartnet ahartnet is offline
Registered User
AKA: Andrew Hartnett
FRC #5414 (Pearadox)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2005
Location: Houston, Texas
Posts: 206
ahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond repute
periodic tasks behaving differently in autonomous vs teleop (labview)

Hi all!

We've been messing with autonomous (in labview) and have come across something that we're not sure how to handle. We have a PID vi (supplied by FIRST I believe) in our periodic tasks portion of the code, and it works great for teleop. But for some reason, it behaves differently when we're in autonomous mode, and the shooter oscillates/is unstable/has a much larger steady state error.

All we do in autonomous is set our set point (wheel speed rpm desired) and look at a shared variable saying if the rpm is close enough to the desired to shoot. We also have the while loop in autonomous running at the same frequency as the while loop with the pid in periodic tasks. Lastly, we've confirmed that gains are all set correctly as defaults.

Any thoughts on causes? Or fixes? I think tomorrow we may just create an additional pid in autonomous and have a different set of gains, but that's really a band-aid I would think, there must be something I'm not taking into consideration.

Thanks!
 


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 20:10.

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