code clean up

This commit is contained in:
Atsushi Sakai
2019-02-03 20:04:10 +09:00
parent 74b8432497
commit 18a4a2e606
3 changed files with 51 additions and 9 deletions

View File

@@ -1,6 +1,3 @@
import cubic_spline_planner
import matplotlib.pyplot as plt
import math
"""
Path tracking simulation with rear wheel feedback steering control and PID speed control.
@@ -8,9 +5,17 @@ Path tracking simulation with rear wheel feedback steering control and PID speed
author: Atsushi Sakai(@Atsushi_twi)
"""
import matplotlib.pyplot as plt
import math
import numpy as np
import sys
sys.path.append("../../PathPlanning/CubicSpline/")
try:
import cubic_spline_planner
except:
raise
Kp = 1.0 # speed propotional gain
# steering control parameter