From 4fe851cc1d1f2e5d21684e24267d78c5e0299e36 Mon Sep 17 00:00:00 2001 From: Geonhee Date: Mon, 6 Sep 2021 20:46:28 +0900 Subject: [PATCH] Correct typos (#542) * Update cubic_spline_planner.py * Update rear_wheel_feedback.py --- PathPlanning/CubicSpline/cubic_spline_planner.py | 2 +- PathTracking/rear_wheel_feedback/rear_wheel_feedback.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PathPlanning/CubicSpline/cubic_spline_planner.py b/PathPlanning/CubicSpline/cubic_spline_planner.py index 7ec01d1f..d2ef8622 100644 --- a/PathPlanning/CubicSpline/cubic_spline_planner.py +++ b/PathPlanning/CubicSpline/cubic_spline_planner.py @@ -195,7 +195,7 @@ def main(): # pragma: no cover import matplotlib.pyplot as plt x = [-2.5, 0.0, 2.5, 5.0, 7.5, 3.0, -1.0] y = [0.7, -6, 5, 6.5, 0.0, 5.0, -2.0] - ds = 0.1 # [m] distance of each intepolated points + ds = 0.1 # [m] distance of each interpolated points sp = Spline2D(x, y) s = np.arange(0, sp.s[-1], ds) diff --git a/PathTracking/rear_wheel_feedback/rear_wheel_feedback.py b/PathTracking/rear_wheel_feedback/rear_wheel_feedback.py index 52b4a11a..ff72454f 100644 --- a/PathTracking/rear_wheel_feedback/rear_wheel_feedback.py +++ b/PathTracking/rear_wheel_feedback/rear_wheel_feedback.py @@ -12,7 +12,7 @@ import numpy as np from scipy import interpolate from scipy import optimize -Kp = 1.0 # speed propotional gain +Kp = 1.0 # speed proportional gain # steering control parameter KTH = 1.0 KE = 0.5