Emotion Mockup Controller: acceleration/deceleration calculation is not complete yet
Hi,
The modifications added in 64842a72 do not provide a complete integration of acceleration/deceleration phases. At least the following issues can be identified:
-
Acceleration and deceleration times are not considered when determining the movement duration/end
end_t
. -
Deceleration phase is not taken into account in the calculation of the position.
-
The special case where the movement is so short that the nominal speed is never reached should be covered.
-
Deceleration should be also taken into account when the movement is stopped.
Cheers
Alejandro