View Single Post
  #7   Spotlight this post!  
Unread 12-02-2013, 10:53
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 588
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: PID Controller Code

Quote:
Originally Posted by Nathan Powell View Post
Hey thanks for the information, we did not realize what was under our noses; however, might you know how to also apply such information to a theoretical arm, and if said arm is to run autonomously, whether it can be run directly in autonomous mode or must be linked from the teleoperated component of the code?
There is some screen steps documentation here: http://wpilib.screenstepslive.com/s/...rs-pid-control and here http://wpilib.screenstepslive.com/s/...in-pid-control that might help.

If you look here: http://www.youtube.com/user/bradamiller there is a video on command based programming (one with and one without using RobotBuilder). In either one there are a few examples of writing code that will control an arm using PID control. The RobotBuilder version of the video shows how you can tune the PID controller using the SmartDashboard test mode widgets.

Brad
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote