Energiz3r / robodog

4 stars 2 forks source link

fully stop when momentum is zero (stand still) #2

Closed Energiz3r closed 1 month ago

Energiz3r commented 1 month ago

The robot should fully stop instead of trotting on the spot when stationary

Energiz3r commented 1 month ago

The previous code kept following the vertical axis of the animation bezier even though the scale of the horizontal axis was zero and caused no movement. Have interpolated the movement to go to a standing position when momentum is zero so the robot smoothly stops walking and stands still.