View Single Post
  #2   Spotlight this post!  
Unread 10-01-2013, 09:08
Anupam Goli's Avatar
Anupam Goli Anupam Goli is offline
PCH Q&A co-founder/Scouting Mentor
AKA: noops
FRC #1648 (G3 Robotics)
Team Role: Mentor
 
Join Date: Dec 2010
Rookie Year: 2008
Location: Atlanta, Georgia
Posts: 1,242
Anupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond repute
Re: Switching between position PID (autonomous) and velocity PID (teleop)

I'd say that speed control in teleop is definitely useful, but mainly for a low speed and high speed setting, or if you want to have a smooth Drivetrain power curve. That smooth curve allows the driver to more smoothly drive instead of accidentally putting too much force and causing the wheels to slip.

In implementation, I think it would be simple to calculate velocity using the encoders, and have that as your actual, and use the input power and gearbox calculations for your value you want on the drivetrain, with the error being the difference in the wanted value and the actual value.
__________________
Team 1002: 2008-2012
Team 1648: 2012-2016
Georgia Tech Class of 2016