View Single Post
  #4   Spotlight this post!  
Unread 22-07-2015, 13:01
Ari423's Avatar
Ari423 Ari423 is offline
LabVIEW aficionado and robot addict
AKA: The guy with the yellow hat
FRC #5987 (Galaxia)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2012
Location: Haifa, Israel
Posts: 654
Ari423 has much to be proud ofAri423 has much to be proud ofAri423 has much to be proud ofAri423 has much to be proud ofAri423 has much to be proud ofAri423 has much to be proud ofAri423 has much to be proud ofAri423 has much to be proud ofAri423 has much to be proud of
Re: Generating Position Setpoints

Quote:
Originally Posted by martinrand View Post
...generating a position setpoint seems to be the way to go. PID can come in later to compensate for the resulting error between theoretical position and actual position (from the encoder).
PID will use a position setpoint to figure out where you want the motor to turn to. I guess you could use some other method to get close to your setpoint and then use a PID to get it exact (or at least closer), but I don't see the benefit if you have to make and tune a PID anyway. Maybe you can clarify.
__________________
2017-present: Mentor FRC 5987
2017-present: CSA for FIRST in Israel
2012-2016: Member FRC 423
2013: Programmer
2014: Head Programmer, Wiring
2015: Head Programmer, Wiring
2016: Captain, Head Programmer, Wiring, Manipulator, Chassis, CAD, Business, Outreach (basically everything)