Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Led control using pwm #108

Merged
merged 24 commits into from
Feb 2, 2024
Merged

Led control using pwm #108

merged 24 commits into from
Feb 2, 2024

Conversation

derp00monsta
Copy link
Contributor

Hopefully this is shrimply good enough for a pr now. The LPI command has been made and has yet to be inegrated. An LedStrip class was also made.

derp00monsta and others added 21 commits January 24, 2024 17:17
Co-authored-by: AidenM <HHQB@users.noreply.github.com>
Co-authored-by: BredPerson <BredPerson@users.noreply.github.com>
Co-authored-by: Alexander Hamilton <a.hamilton72006@gmail.com>
Co-authored-by: ChadPad <PatribotsProgramming@users.noreply.github.com>
…ink to visualize it.

Co-authored-by: Alexander Hamilton <a.hamilton72006@gmail.com>
Co-authored-by: Hadizah454 <Hadizah454@users.noreply.github.com>
Co-authored-by: Tina H <derp00monsta@users.noreply.github.com>
Co-authored-by: rin-star <rin-star@users.noreply.github.com>
… hashmap to have values of Commands rather than strings

Co-authored-by: rin-star <rin-star@users.noreply.github.com>
Co-authored-by: BredPerson <BredPerson@users.noreply.github.com>
Co-authored-by: Tina H <derp00monsta@users.noreply.github.com>
Fixes #13

make buttons & alter the logic for the LPI

Co-authored-by: rin-star <rin-star@users.noreply.github.com>
Co-authored-by: Hadizah454 <Hadizah454@users.noreply.github.com>
Co-authored-by: BredPerson <BredPerson@users.noreply.github.com>
Co-authored-by: frighthunt <frighthunt@users.noreply.github.com>
Co-authored-by: rin-star <rin-star@users.noreply.github.com>
Co-authored-by: Hadizah454 <Hadizah454@users.noreply.github.com>
Co-authored-by: BredPerson <BredPerson@users.noreply.github.com>
Co-authored-by: frighthunt <frighthunt@users.noreply.github.com>
Co-authored-by: TyGagielo <TyGagielo@users.noreply.github.com>
also makes a wheel array for the SwerveDriveKinematics

Co-authored-by: Alexander Hamilton <a.hamilton72006@gmail.com>
…' color

Co-authored-by: Tina H <derp00monsta@users.noreply.github.com>
Co-authored-by: Jacob Hotz <Jacob1010-h@users.noreply.github.com>
Co-authored-by: rin-star <rin-star@users.noreply.github.com>
Co-authored-by: Alexander Hamilton <65139378+GalexY727@users.noreply.github.com>
Co-authored-by: Alexander Hamilton <a.hamilton72006@gmail.com>
Co-authored-by: Alexander Hamilton <a.hamilton72006@gmail.com>
Copy link
Member

@GalexY727 GalexY727 left a comment

Choose a reason for hiding this comment

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

Small changes needed, looks pretty good :)
Do you want to schedule this command when in RobotContainer's onDisabled is called? Or just when the robot initially starts? You don't have to do either, just think about it

src/main/java/frc/robot/Robot.java Outdated Show resolved Hide resolved
src/main/java/frc/robot/RobotContainer.java Outdated Show resolved Hide resolved
src/main/java/frc/robot/RobotContainer.java Show resolved Hide resolved
src/main/java/frc/robot/subsystems/LedStrip.java Outdated Show resolved Hide resolved
src/main/java/frc/robot/subsystems/LedStrip.java Outdated Show resolved Hide resolved
@derp00monsta derp00monsta self-assigned this Feb 1, 2024
@derp00monsta derp00monsta added enhancement New feature or request logic A logic problem or solution command A command on the robot that controls a subsystem labels Feb 1, 2024
@derp00monsta
Copy link
Contributor Author

@GalexY727 I think I fixed your comments?

@derp00monsta
Copy link
Contributor Author

O and why is LPI in a LED folder by itself? Can I remove the folder and just have the file directly belong to commands?

Co-authored-by: rin-star <rin-star@users.noreply.github.com>
Co-authored-by: frighthunt <frighthunt@users.noreply.github.com>
Copy link
Member

@GalexY727 GalexY727 left a comment

Choose a reason for hiding this comment

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

so good you know, itll surely work first try :D

@GalexY727 GalexY727 merged commit e1801d9 into main Feb 2, 2024
1 check passed
@GalexY727 GalexY727 deleted the led-control-using-pwm branch February 2, 2024 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command A command on the robot that controls a subsystem enhancement New feature or request logic A logic problem or solution
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

6 participants