ami-iit / bipedal-locomotion-framework

Suite of libraries for achieving bipedal locomotion on humanoid robots
https://ami-iit.github.io/bipedal-locomotion-framework/
BSD 3-Clause "New" or "Revised" License
136 stars 36 forks source link

Implement LinearSpline in Math component #782

Closed GiulioRomualdi closed 7 months ago

GiulioRomualdi commented 7 months ago

This PR implements the LinearSpline class in the math component, where LinearSpline is a piecewise linear function of the form.

s(t) = a_0 + a_1 t

where $t \in [0, T_i]$ and $T_i$ is the duration of the i-th polynomial.