LouKordos / walking_controller

The main walking controller code for the Bipedal Robot.
13 stars 2 forks source link

Implement graceful program exit by catching CTRL + C #83

Closed LouKordos closed 3 years ago

LouKordos commented 3 years ago

This PR introduces a handler for CTRL + C to prevent suddenly killing any running threads. The PR will help in fixing #80 by making IO asynchronous, which in turn requires an exit handler to synchronize IO again in order to avoid log corruption.

This fixes #8 .