AllBot Library - Add Easing for servo movement

Hi,

I’ve been trying to implement some easing on the movement of the servos.

However I have not been succesfull.

I tried an overload method for the ::move function in the libary.

Can someone see what I have done wrong?

//void ALLBOT::move(int servo, int angle, int start, int duration)
BOT.move(hipFrontLeft,10,45,100);

// start: beginning value,angle: change in value, duration
void ALLBOT::move(int servo, int angle, int start, int duration)
{
for (int pos=start; pos<duration; pos++){
//move servo from 0 and 140 degrees forward
int moveValue = angle*(pos/=duration)pospos + start;
Serial.println(“moving to angle” + moveValue);
_servo[servo].move(moveValue);
_servo[servo].tick();
delay(15); //wait for the servo to move
}
//_servo[servo].move(angle);
}

Code is based on this Github code
Robot sketch just stops working.

Thanks in advance !