Class HapticController

java.lang.Object
frc.robot.commands.controls.HapticController

public class HapticController extends Object
  • Constructor Details

    • HapticController

      public HapticController(GenericHID controller)
  • Method Details

    • HapticTap

      public Command HapticTap(GenericHID.RumbleType type, double strength, double length)
      Trigger rumble on the controller for a specified amount of time.
      Parameters:
      type - rumble type
      strength - rumble strength (0 to 1)
      length - rumble time (seconds)
      Returns:
      command group (synchronous)