Fix the circular joystick implementation which had a discontinuity when transitioning through the deadzone radius.
Motivation and Context
Similar to #229 we should not have discontinuities when moving through the output range. This PR ensures that all values within the output range are possible, whereas before any value within the output range whose magnitude was less than the deadzone radius would be clipped and impossible.
How has this been tested?
Building and running on a device with a joystick and validating that the deadzone for the joystick still works, but values less than the deadzone radius are possible outputs.
Screenshots (if appropriate, e.g. schematic, board, console logs, lab pictures):
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update
[ ] Hardware (schematic, board, system design) change
[x] Software change
Checklist:
[ ] My change requires a change to the documentation.
[ ] I have added / updated the documentation related to this change via either README or WIKI
Software
[ ] I have added tests to cover my changes.
[ ] I have updated the .github/workflows/build.yml file to add my new test to the automated cloud build github action.
[x] All new and existing tests passed.
[x] My code follows the code style of this project.
Description
Motivation and Context
Similar to #229 we should not have discontinuities when moving through the output range. This PR ensures that all values within the output range are possible, whereas before any value within the output range whose magnitude was less than the deadzone radius would be clipped and impossible.
How has this been tested?
Building and running on a device with a joystick and validating that the deadzone for the joystick still works, but values less than the deadzone radius are possible outputs.
Screenshots (if appropriate, e.g. schematic, board, console logs, lab pictures):
Types of changes
Checklist:
Software
.github/workflows/build.yml
file to add my new test to the automated cloud build github action.