View Single Post
  #4   Spotlight this post!  
Unread 08-03-2016, 14:06
cjl2625's Avatar
cjl2625 cjl2625 is offline
apel py
AKA: Cory Lynch
FRC #2067 (Apple Pi)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Guilford, CT
Posts: 412
cjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to behold
Re: Heading PID tips

Quote:
Originally Posted by Jared Russell View Post
1) Figure out what the minimum required output is to get the robot to turn at all. If the PID output is less than this magnitude, output this magnitude (with the same sign as the PID output).
Wouldn't this cause oscillations, if the output switches between positive and negative of this magnitude?

As a related idea that I had, I wonder if it would make sense to find some magnitude where the robot almost turns (but is still stopped) and add it to the PID output. Maybe it would simulate low friction or something.
__________________
Head Programmer / Driver