Merge pull request #267 from Gjacquenot/patch-3

📝 Removed unused class attribute in quintic_polynomials_planner
This commit is contained in:
Atsushi Sakai
2020-01-04 09:40:50 +09:00
committed by GitHub

View File

@@ -26,14 +26,7 @@ class QuinticPolynomial:
def __init__(self, xs, vxs, axs, xe, vxe, axe, T):
# calc coefficient of quinic polynomial
self.xs = xs
self.vxs = vxs
self.axs = axs
self.xe = xe
self.vxe = vxe
self.axe = axe
# calc coefficient of quintic polynomial
self.a0 = xs
self.a1 = vxs
self.a2 = axs / 2.0