I know that direction can be changed with
.setSpeed(speed); ... //check input .setSpeed(-speed);
I need to slowly decelerate and accelerate backwards, so I have to use
.setAcceleration(200); ... .setMaxSpeed(speed); ... //check input .setMaxSpeed(-speed);
but documentation told that .setMaxSpeed argument Must be > 0.
So how to properly change direction with deceleration? Probably I have to use .moveTo with some very big values