|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#6
|
|||
|
|||
|
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;
}
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|