mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-02-11 03:55:19 -05:00
add # pragma: no cover
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
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,10 +11,6 @@ author: Atsushi Sakai(@Atsushi_twi)
|
||||
import sys
|
||||
sys.path.append("../../PathPlanning/CubicSpline/")
|
||||
|
||||
import math
|
||||
import matplotlib.pyplot as plt
|
||||
import cubic_spline_planner
|
||||
|
||||
|
||||
Kp = 1.0 # speed propotional gain
|
||||
# steering control parameter
|
||||
@@ -202,7 +201,7 @@ def main():
|
||||
# Test
|
||||
assert goal_flag, "Cannot goal"
|
||||
|
||||
if show_animation:
|
||||
if show_animation: # pragma: no cover
|
||||
plt.close()
|
||||
plt.subplots(1)
|
||||
plt.plot(ax, ay, "xb", label="input")
|
||||
|
||||
Reference in New Issue
Block a user