From 0c708766e13a167e5afe4a96ea6d4527c74a3e56 Mon Sep 17 00:00:00 2001 From: Guillaume Jacquenot Date: Fri, 3 Jan 2020 14:01:47 +0100 Subject: [PATCH] :pencil: Removed unused class attribute in quintic_polynomials_planner.py --- .../quintic_polynomials_planner.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/PathPlanning/QuinticPolynomialsPlanner/quintic_polynomials_planner.py b/PathPlanning/QuinticPolynomialsPlanner/quintic_polynomials_planner.py index 406dbc1e..e7c744d1 100644 --- a/PathPlanning/QuinticPolynomialsPlanner/quintic_polynomials_planner.py +++ b/PathPlanning/QuinticPolynomialsPlanner/quintic_polynomials_planner.py @@ -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