Thread: Vex Programming
View Single Post
  #3   Spotlight this post!  
Unread 21-06-2005, 22:34
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,349
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Vex Programming

I have written a position control PID function using a pot for feedback. It models almost exactly what we will be using in FRC. Currently I am modifying the function to work with as many axis's as needed without having to duplicate the section of code for each axis. Just pass the arguments to it for each PWM you want to control. I've included a flag to indicate when the damping feature kicks in, more to prove it works than anything else.
Reply With Quote