View Single Post
  #6   Spotlight this post!  
Unread 11-02-2015, 19:41
cad321 cad321 is offline
Jack of all trades, Master of none
AKA: Brian Wagg
FRC #2386 (Trojans)
Team Role: Alumni
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Burlington, Ontario
Posts: 323
cad321 is just really nicecad321 is just really nicecad321 is just really nicecad321 is just really nice
Re: Pd loop autonomous

To clarify the original post, we have been using a custom class for PID at the moment however were only using P and D. When we named it we just called it a PD Loop to avoid confusion amongst our team. At the moment we can make our robot drive a certain distance and stop, but that's it. We can make one clear movement such as drive forward 90inches however are struggling on how to write the logic to allow us to drive 90inches and when we have driven 90 inches, lower an arm (without saying wait X amount of time, then do such and such).

The reason we're using a custom class for our PID is because we have had issues in the past with the included libraries and have used our class without trouble before.

We can upload our code tomorrow once we have access to our robot/equipment again.
Reply With Quote