You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WebCoder49 edited this page Dec 11, 2023
·
3 revisions
🛞 Using Encoders to Control Motor Position
Encoders are sensors that get the position of a motor in "counts"; there are a certain number of counts per second for each motor that can be found on the REV website and have to be adjusted for gear ratios.
Here is a page for how to code motors using encoders. It is useful for driving drivetrains certain distances (although should not be used by itself here as it does not take into account the robot slipping) and for moving arms to certain heights.)