more smooth accel is possible using sinusoidal ramp.
(6) Movimento robots Arduino sinusoidale (PARTE 1) - sinusoidal movement (part 1) - Ricette da Maker - YouTube
In AZURITBER it's use like that:
(6) Movimento robots Arduino sinusoidale (PARTE 1) - sinusoidal movement (part 1) - Ricette da Maker - YouTube
In AZURITBER it's use like that:
Code:
//Sinus accel
angleCorresp = map(millis() - stateStartTime, 0, accelDurationLeft, 0, 89);
leftSpeed = PwmLeftSpeed * sin(radians(angleCorresp)); //convert degree to radians