BCLab-UNM / SC2

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

Scoot obstacles #36

Closed Carter90 closed 4 years ago

Carter90 commented 4 years ago

DONE: Added DriveException, VisionException, VolatileException, ObstacleException, PathException, AbortException & TimeoutException classes. Raise exceptions for MoveResult.OBSTACLE_LASER and OBSTACLE_VOLATILE

abbypribis commented 4 years ago

Looks good - works on my machine: TO TEST: in iPython REPL after running rosrun ... :

from Scoot import VolatileException, ObstacleException try: scoot.drive(5) except ObstacleException: print("Nice try, trying to make me run into something") except VolatileException: print("Guess what I found")