View Single Post
  #2   Spotlight this post!  
Unread 14-02-2013, 21:19
Meshbeard's Avatar
Meshbeard Meshbeard is offline
Previously of 422
AKA: Jonas
FRC #0190 (190)
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2006
Location: Richmond, VA
Posts: 25
Meshbeard is a name known to allMeshbeard is a name known to allMeshbeard is a name known to allMeshbeard is a name known to allMeshbeard is a name known to allMeshbeard is a name known to all
Re: Please Help with Encoder in C++!

https://github.com/wkunkel/422-robot...ms/Shooter.cpp

Here is our starting PID control system for our shooter. It has two wheels, with an encoder on each wheel. The encoder resolution is 256 ticks per revolution. This loop needs to be tuned (changing the P, I, and D constants), but it is functional starting code.