SubZero Common
Common library components for an FRC CommandRobot
Loading...
Searching...
No Matches
subzero::InputUtils Namespace Reference

Classes

struct  DeadzoneAxes
 

Functions

DeadzoneAxes CalculateCircularDeadzone (double x, double y, double deadzoneDistance)
 Remaps x/y inputs to a combined value before applying a deadzone.
 

Function Documentation

◆ CalculateCircularDeadzone()

DeadzoneAxes subzero::InputUtils::CalculateCircularDeadzone ( double x,
double y,
double deadzoneDistance )

Remaps x/y inputs to a combined value before applying a deadzone.

Parameters
x
y
deadzoneDistance
Returns
DeadzoneAxes

Definition at line 21 of file InputUtils.h.