add # pragma: no cover

This commit is contained in:
Atsushi Sakai
2019-02-03 10:20:23 +09:00
parent f0b6b7a94d
commit af854d6d1a
25 changed files with 55 additions and 58 deletions

View File

@@ -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")