Closed mciantyre closed 4 years ago
Demo below shows that, at startup, we command 0% throttle (50% duty cycle). We command different throttle percentages for the four outputs, and we show that the commands are respected. At the end, we press the SPACE bar to command 0% throttle, and we observe the expected 50% duty cycle.
The PR changes the behavior of the SPACE bar in the
pwm-control
example. Pressing the SPACE bar resets the outputs to 0% throttle, not 0% duty cycle. We move the kill switch to the\
key. Pressing the kill switch will set the duty cycles to 0%, then blocks the event loop. We'll be required to reset the system if we press the kill switch.Closes #5