View Single Post
  #5   Spotlight this post!  
Unread 12-01-2014, 21:21
Aaron.Graeve Aaron.Graeve is offline
Registered User
FRC #1477 (Texas Torque)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: College Station, Texas
Posts: 103
Aaron.Graeve is a name known to allAaron.Graeve is a name known to allAaron.Graeve is a name known to allAaron.Graeve is a name known to allAaron.Graeve is a name known to allAaron.Graeve is a name known to all
Re: Labview Autonomous Help!

PID is a general control loop for getting a physical action to a particular point. By using a sensor on the moving part, the code compares the current position of the part to where it is supposed to be (the error), how long the part is taking to get there (the cumulative sum of the error), and how quickly the part is moving (the derivative of the error with respect to time) and uses these to calculate a new value for the controlling motor to be powered. For an closed-loop autonomous drivetrain, you would almost certainly need to use an encoder on the wheels (two really, one for each side so the robot goes relatively straight). There are many papers published here on Chief Delphi and all over the net about this. Since the loop is updating many times a second, it can very quickly adjust to changing conditions or resistance. Control loops are, in my opinion, the biggest difference programming-wise between good and great teams. You may find them useful even in teleop if there is a mechanism that needs to be held at a particular angle.

Message me if you have any more questions.
__________________

2016:
Alamo, Bayou, and Lone Star Regional FTAA
2015:
Dallas, Alamo, Bayou, and Lone Star Regional FTAA
2014:
Alamo, Dallas, and Lone Star Regional FTAA
Alamo Regional Robot Inspector
2013:
Einstein Champion and 2013 World Champion (Thanks 1241 & 610), Galileo Division Champion, Razorback Regional Winner, Alamo Regional Semifinalist, Bayou Regional Semifinalist, Lone Star Regional Quarterfinialist
2012:
Curie Division Semifinalist, Lone Star Regional Finalist, Bayou Regional Winner, Alamo Regional Winner
Reply With Quote