Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
rombie18 committed May 3, 2023
1 parent 13eddae commit 094e6a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Software/threads/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ def controller_add(self, joy):
def controller_remove(self, joy):
logging.debug('Controller disconnected: ', joy)
# Robot sould stop here or at least continue in a very slow safe mode
logging.warning('Controller disconnected, no controls available. Stopping for safety!')
self.stop_event.set()

def controller_process(self, key):
Expand Down

0 comments on commit 094e6a4

Please sign in to comment.