View Single Post
  #3   Spotlight this post!  
Unread 13-11-2014, 21:47
randantor randantor is offline
Registered User
AKA: James Y
FRC #0624 (CRyptonite)
Team Role: Alumni
 
Join Date: Jun 2013
Rookie Year: 2012
Location: Katy, TX
Posts: 48
randantor is a glorious beacon of lightrandantor is a glorious beacon of lightrandantor is a glorious beacon of lightrandantor is a glorious beacon of lightrandantor is a glorious beacon of lightrandantor is a glorious beacon of light
Re: PID function to reduce drift

When we use a PID for driving a certain distance, we check for the encoder speed as well as the distance to be below a certain threshold before stopping the PID.

This keeps it from drifting past the setpoint at the end because the command won't finish until the robot is no longer moving.
Reply With Quote