View Single Post
  #8   Spotlight this post!  
Unread 05-02-2017, 18:38
BitTwiddler's Avatar
BitTwiddler BitTwiddler is offline
electronics/programming mentor
AKA: Mr Tanguay
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Sierra Vista, AZ
Posts: 254
BitTwiddler is on a distinguished road
Re: We are trying to set up PID

We too are using PID this year and are having some luck with it for a change.
I've attached a couple of images of some helper VIs we created. The drive VI uses the NI LabView PID. We didn't have much luck controlling turns with it so we created our own PID using Proportional only. Seems to work pretty well too.
For driving we only use the encoders to tell us when to stop, the gyro works with PID to keep us going straight.
Attached Thumbnails
Click image for larger version

Name:	1726 PID.JPG
Views:	16
Size:	76.0 KB
ID:	21717  

Last edited by BitTwiddler : 05-02-2017 at 18:44. Reason: More info.
Reply With Quote