On April 14, we noticed that it is possible to forward NaN motor commands through the input supervisor, resulting in undesirable behavior on Cassie. This change triggers the soft-estop if any value in the motor commands is NaN.
We shouldn't be sending NaNs from our controllers anyway, but this acts as another safety check.
I also made minor refactoring to input supervisor to improve readability, open to feedback.
On April 14, we noticed that it is possible to forward NaN motor commands through the input supervisor, resulting in undesirable behavior on Cassie. This change triggers the soft-estop if any value in the motor commands is NaN.
We shouldn't be sending NaNs from our controllers anyway, but this acts as another safety check.
I also made minor refactoring to input supervisor to improve readability, open to feedback.
This change is![Reviewable](https://reviewable.io/review_button.svg)