BCLab-UNM / SC2

Swarmathon Team Code for the NASA Space Challenge 2 Competition
MIT License
2 stars 0 forks source link

Filter out (0, 0, -100) vol pose in list in get_closest_vol_pose in Scoot.py #83

Closed Carter90 closed 3 years ago

Carter90 commented 4 years ago

Filter out (0, 0, -100) vol pose in list in get_closest_vol_pose in Scoot.py

Instead of removing the vol from the list they just put it deep(100m) down under ground the problem is we only look at x & y for finding the closest vol so right now if the rover was near the center it would go after that(nonexistent) volatile instead.

Simple list comprehension just need to do it.

Carter90 commented 3 years ago

Not an issue for the finals