fix code for coveralls

This commit is contained in:
Atsushi Sakai
2019-02-02 16:51:00 +09:00
parent 1119587b15
commit 4880986bb5
24 changed files with 122 additions and 122 deletions

View File

@@ -159,7 +159,7 @@ def dwa_control(x, u, config, goal, ob):
return u, traj
def plot_arrow(x, y, yaw, length=0.5, width=0.1):
def plot_arrow(x, y, yaw, length=0.5, width=0.1): # pragma: no cover
plt.arrow(x, y, length * math.cos(yaw), length * math.sin(yaw),
head_length=width, head_width=width)
plt.plot(x, y)