Fixed Inappropriate Logical Expression (#945)

This commit is contained in:
Fabiha Tasneem
2023-12-03 19:12:00 +06:00
committed by GitHub
parent 331f0877f6
commit a141cf4180

View File

@@ -34,7 +34,7 @@ def main():
goal = (58, 56)
grid = get_occupancy_grid(arm, obstacles)
route = astar_torus(grid, start, goal)
if len(route) >= 0:
if route:
animate(grid, arm, route)