Skip to content
Doug Wegscheid edited this page Feb 19, 2022 · 1 revision
  • new RumbleCommand(RumbleSubsystem subsystem, Hand hand, Double intensity, Double duration)

    • RumbleSubsystem subsystem: Which controller to rumble. Either Robot.rumbleSubsystemDriver or Robot.rumbleSubsystemOperator
    • Hand hand: Which side of the controller to rumble. Either Hand.LEFT, Hand.RIGHT, or Hand.BOTH
    • Double intensity: How hard to rumble the controller. Between 0.1 and 1.0
    • Double duration: How long the controller will rumble in seconds
  • new RumbleCommand(RumbleSubsystem subsystem, Double intensity, Double duration)

    • RumbleSubsystem subsystem: Which controller to rumble. Either Robot.rumbleSubsystemDriver or Robot.rumbleSubsystemOperator
    • Double intensity: How hard to rumble the controller. Between 0.1 and 1.0
    • Double duration: How long the controller will rumble in seconds
    • Hand hand defaults to Hand.BOTH
  • new RumbleCommand(RumbleSubsystem subsystem)

    • RumbleSubsystem subsystem: Which controller to rumble. Either Robot.rumbleSubsystemDriver or Robot.rumbleSubsystemOperator
    • Hand hand defaults to Hand.BOTH
    • Double intensity defaults to 1.0
    • Double duration defaults to 1.0
  • new RumbleCommand(RumbleSubsystem subsystem, Hand hand, Double intensity)

    • RumbleSubsystem subsystem: Which controller to rumble. Either Robot.rumbleSubsystemDriver or Robot.rumbleSubsystemOperator
    • Hand hand: Which side of the controller to rumble. Either Hand.LEFT, Hand.RIGHT, or Hand.BOTH
    • Double intensity: How hard to rumble the controller. Between 0.1 and 1.0
    • This command should ONLY be used with the promise of interrupting it with .cancel()
  • new RumbleCommand(RumbleSubsystem subsystem, Boolean disabled) (NOT PREFERRED)

    • RumbleSubsystem subsystem: Which controller to disable/enable rumble for
    • Boolean disabled: Which state to set the controller to
    • This command will stop any and all rumble from happening on the controller until it's enabled

Clone this wiki locally