Thread: Robot Scan Time
View Single Post
  #5   Spotlight this post!  
Unread 19-01-2016, 18:07
FancyGerald FancyGerald is offline
Registered User
FRC #3098
 
Join Date: Feb 2015
Location: Mi
Posts: 6
FancyGerald is an unknown quantity at this point
Re: Robot Scan Time

We want to have acceleration for our drive train.

My idea was to increase the speed of a motor at a constant rate multiplied by the scan time of the robot.

Code:
if(maxSpeed > currentSpeed)
{
    currentSpeed += ACCELERATION * SCANTIME;
}
Reply With Quote