View Single Post
  #1   Spotlight this post!  
Unread 12-02-2011, 10:40
SeanTeags's Avatar
SeanTeags SeanTeags is offline
Tigger
AKA: Sean
FRC #1403 (Cougar Robotics)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2008
Location: New Jersey
Posts: 4
SeanTeags is an unknown quantity at this point
Acceleration based on position

On this years robot we are using an Encoder to tell the Elevator that is placing the tubes the distance it's going up and down, We want the Elevator to slow down when it reaches X height/# of rotations of the motor AKA a Speed Curve. I have no idea how to code this I don't know how to approch this or where to start , if you have some sample code to help me get started that would be greatly appriciated.

-Thanks
Sean Teager
__________________
FIRST Team 1403 Cougar Robotics

2008,2009- Programmer
2010,2011- Programming Team Captain
2010,2011- Safety Captain
2010,2011- Drive Team
2012-Present -Mentor

Reply With Quote