View Single Post
  #4   Spotlight this post!  
Unread 05-05-2016, 17:15
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,026
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Set Motor position with Encoder?

Quote:
Originally Posted by team-4480 View Post
I want to be able to control our PG71 with the included encoder with servo like control.
Yes, you can do that with the hardware you described, but you'll have to have a reference position. If you always boot the robot with the mechanism in a known position (like against a hard stop), that can be your reference. That reference can be any value you choose.

Then you need to do what's called "closed-loop position control".

Most teams use a PID closed-loop controller for this. Try searching for those keywords and you'll get lots of relevant hits.



Last edited by Ether : 05-05-2016 at 17:22.
Reply With Quote