View Single Post
  #6   Spotlight this post!  
Unread 22-07-2015, 13:29
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

The setpoint is just the value of the process variable that you would like to motor to turn to. If you are measuring motor rotation using an encoder, the encoder gives you degrees per second. You would then numerically integrate this (sum all of the values) to get degrees of displacement. The setpoint should be however many degrees of displacement you want your encoder to measure. (NOTE: this may be different from how many times the motor turns depending on your encoder setup)
__________________
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)