Closed Carter90 closed 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")
DONE: Added DriveException, VisionException, VolatileException, ObstacleException, PathException, AbortException & TimeoutException classes. Raise exceptions for MoveResult.OBSTACLE_LASER and OBSTACLE_VOLATILE