View Single Post
  #7   Spotlight this post!  
Unread 05-02-2012, 18:58
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Labview velocity PID

Quote:
Originally Posted by mhsrobotics3616 View Post
that's what confuses me. because joystick output would give me a setpoint between +- 100, how does the encoder correspond to that.
You would just need to scale the joystick and the encoder so that they both map to the same range, and would have the same value when the arm was at the commanded position. If it's an arm with a limited range of motion, you might want to use something that provides an absolute measure of the arm angle such as a potentiometer or magnetic sensor, instead of a relative-position measurement such as a quadrature encoder.
Reply With Quote