Go to Post "Mother nature does not give partial credit" -Woodie Flowers, Kickoff 2003 - TerryDolan [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 18-02-2009, 08:46
LVMastery LVMastery is offline
LabVIEW Educator and Mentor
AKA: Ben Zimmer
FRC #0843 (Wildcats)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Toronto
Posts: 47
LVMastery has much to be proud ofLVMastery has much to be proud ofLVMastery has much to be proud ofLVMastery has much to be proud ofLVMastery has much to be proud ofLVMastery has much to be proud ofLVMastery has much to be proud ofLVMastery has much to be proud of
Re: So, honestly, who's still programming?

Quote:
Originally Posted by PhilBot View Post
1629 is still tweaking. Something that annoys me about our code is that I run a pid loop for the wheels (in periodic tasks) and during the disabled period, any latent movement causes the pid to burp when restarted.

Wondering the best way to reset the pids and ramp functions during disable.
One thing I would consider is using the reinitialize input of the PID Control Input Filter.vi and PID.VI itself. You could use a global to send an enabled boolean from the main loop which is true when teleop is enabled and false when disabled. Or,

As an aside, and for all of the people asking about Joystick Functions: there is a fantastic function inside the OpenG Library called Boolean Trigger. It will output a momentary boolean high when the input value has a rising (and/or falling edge) which makes trapping a change of state a lot easier.

Naturally ( ) I have a TipJar entry discussing the OpenG library and how to install it: http://www.lvmastery.com/TipJar2008-03-13

Ben
__________________
Ben Zimmer
Enable Education
www.EnableEducation.com
www.FRCMastery.com
email: ben@enabletc.com
Phone/Fax: (905) 864-1858
Toll Free: (877) 872-4619
Reply With Quote
 


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
Who's still alive?? I am!! AdamT Chit-Chat 7 15-12-2004 22:08
Who's Blue? Who's Red? WebWader125 General Forum 22 08-03-2004 22:24


All times are GMT -5. The time now is 21:38.

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