Skip to content

made a couple of rumble patterns - #149

Open
BrodyKarr wants to merge 4 commits into
mainfrom
Create-complex-rumble-patterns-for-controllers
Open

made a couple of rumble patterns#149
BrodyKarr wants to merge 4 commits into
mainfrom
Create-complex-rumble-patterns-for-controllers

Conversation

@BrodyKarr

Copy link
Copy Markdown
Contributor

No description provided.

@BrodyKarr
BrodyKarr requested a review from a team as a code owner May 30, 2026 22:00
@BrodyKarr BrodyKarr linked an issue May 30, 2026 that may be closed by this pull request
@BrodyKarr
BrodyKarr enabled auto-merge (squash) May 30, 2026 22:00

@Wu-Fan-529 Wu-Fan-529 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

slectedRumble will always be "steady", you probably want a parameter

Comment thread src/main/java/com/frcteam3255/joystick/RumblePatterns.java Outdated
this.intensity = intensity;
}

public static RumblePatterns getRumblePattern(RumbleType rumbleType, double rumbleIntensity) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should not pass in rumble type and rumble intensity, but only selected rumble. rumble type and rumble intensity can just use the varibles in the class

Comment thread src/main/java/com/frcteam3255/joystick/RumblePatterns.java Outdated
import edu.wpi.first.wpilibj.Timer;

/** Add your docs here. */
public class RumblePatterns {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this class by itself is not that useful, especially when wpilib setRumble only takes RumbleType and double. you will need to cerate a function, or make rumble patterns extends from wpilib stuff and over write the function

@Wu-Fan-529 Wu-Fan-529 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lest a few comments

@TaylerUva

Copy link
Copy Markdown
Member

Create new classes extending RumblePattern and in SN_XboxController create new setRumble that take a rumble pattern

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create complex rumble patterns for controllers

3 participants