upkie 9.0.0
Open-source wheeled biped robots
Loading...
Searching...
No Matches

◆ handle_interrupts()

const bool & handle_interrupts ( )

Redirect interrupts to setting a global interrupt boolean.

Direct interrupts (e.g.

Returns
Reference to the interrupt boolean.

Ctrl-C) to a boolean flag.

Returns
Reference to a boolean flag, which is initially false and becomes true the first time an interruption is caught.