View Single Post
  #2   Spotlight this post!  
Unread 13-01-2015, 16:00
jman4747's Avatar
jman4747 jman4747 is offline
Just building robots
AKA: Josh
FRC #4080 (Team Reboot)
Team Role: CAD
 
Join Date: Apr 2013
Rookie Year: 2011
Location: Atlanta GA
Posts: 419
jman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond repute
Re: Using speed PID controlled mecanum with Holonomic Drive.vi

Quote:
Originally Posted by GuyM142 View Post
I know that, but I need help with adding PID control to normal controllers because the only examples I have seen use CAN.
You take the motor setting outputs from the Holonomic VI and multiply them by the max rpm value you will see from your encoders. Then wire the setting into the PID VI "set point" and the encoder rpm value into "process variable". The output range should be 1 to -1.
Attached Thumbnails
Click image for larger version

Name:	PID.PNG
Views:	90
Size:	11.1 KB
ID:	17836  
__________________
---------------------
Alumni, CAD Designer, machinist, and Mentor: FRC Team #4080

Mentor: Rookie FTC Team "EVE" #10458, FRC Team "Drewbotics" #5812

#banthebag
#RIBMEATS
#1620
Reply With Quote