Skip to content

Commit

Permalink
Update car.py (AtsushiSakai#957)
Browse files Browse the repository at this point in the history
Changed comment at line 62 and 64
  • Loading branch information
nivid26 authored Dec 19, 2023
1 parent 7cca7aa commit b2f866a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PathPlanning/HybridAStar/car.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ def rectangle_check(x, y, yaw, ox, oy):
rx, ry = converted_xy[0], converted_xy[1]

if not (rx > LF or rx < -LB or ry > W / 2.0 or ry < -W / 2.0):
return False # no collision
return False # collision

return True # collision
return True # no collision


def plot_arrow(x, y, yaw, length=1.0, width=0.5, fc="r", ec="k"):
Expand Down

0 comments on commit b2f866a

Please sign in to comment.