Go to Post You can learn just as much from building a small robot as you can from a large bot because all of the key concepts are the same. - Greg Needel [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
  #6   Spotlight this post!  
Unread 06-04-2011, 13:57
mesamb1's Avatar
mesamb1 mesamb1 is offline
Registered User
AKA: Sam Bacon
FRC #1466 (Webb Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2004
Location: Knoxville
Posts: 93
mesamb1 is just really nicemesamb1 is just really nicemesamb1 is just really nicemesamb1 is just really nice
Re: Would Someone mind looking over my autonomous.

I sympathize with your clean code and the NI rep. I make all of my students clean up their code so often they complain labview is more about being organized then knowing computes(but with good comments they can fine problems right away ) .

Our team did PID controllers for giggles this season. I am a C.S. and Math person working with a professional automation engineering mentor, so nerdy enough to read the NI manual on PID. The controller actually wants a percent. It just the difference between set point, and process variables(there is more then that, but it is a little more complicated then you can explain over a forum). I dont think it will help your drive issues, but if you send the PID a percent and give it a range between 100 to -100 then divide by 100 you will get a much better motor curve.

How did you go about setting your PID gains?

Please combine those three sets of loops, there is no reason you should separate them, and your timing becomes precise, and since your not driving off of floor sensors then you need that to be right!

The variables could cause the sporadic driving. I do not think they are, but what will save you a lot of trouble is if you place the arm movement part in a subvi. then call the subvi with the the two set points that you want in the arcade drive loop(the subvi will make your telop cleaner too!!)

As a member of the smoky mountain planning committee I hope you had a great time!! thanks for coming to Knoxville!

Last edited by mesamb1 : 06-04-2011 at 13:59. Reason: misspelling
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


All times are GMT -5. The time now is 20:54.

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