Package frc.robot.commands.controls
Class HapticController
java.lang.Object
frc.robot.commands.controls.HapticController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionHapticTap
(GenericHID.RumbleType type, double strength, double length) Trigger rumble on the controller for a specified amount of time.
-
Constructor Details
-
HapticController
-
-
Method Details
-
HapticTap
Trigger rumble on the controller for a specified amount of time.- Parameters:
type
- rumble typestrength
- rumble strength (0 to 1)length
- rumble time (seconds)- Returns:
- command group (synchronous)
-