Skip to content

Commit e102918

Browse files
committed
Fixed Inappropriate Logical Expression
1 parent 0dc6ab4 commit e102918

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ArmNavigation/arm_obstacle_navigation/arm_obstacle_navigation_2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def main():
3434
goal = (58, 56)
3535
grid = get_occupancy_grid(arm, obstacles)
3636
route = astar_torus(grid, start, goal)
37-
if len(route) >= 0:
37+
if route:
3838
animate(grid, arm, route)
3939

4040

0 commit comments

Comments
 (0)