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

Added default command for LEDSubsystem #66

Merged
merged 26 commits into from
Apr 2, 2024

Conversation

Jetblackdragon
Copy link
Contributor

Added command that turns on a blue light when note is in the index and a green light when the note is aligned.

Added command that turns on a blue light when note is in the index and a green light when the note is aligned.
Copy link

@bobtseattle bobtseattle left a comment

Choose a reason for hiding this comment

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

Some cleanup, and making sure logic / tolerance is what we need it to be?

fixed some logic errors and did a spotless run
merge conflict
conflicts
Had a duplicate at speed method so removed the new one.
bobtseattle
bobtseattle previously approved these changes Feb 24, 2024
Copy link

@bobtseattle bobtseattle left a comment

Choose a reason for hiding this comment

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

LGTM. We can add other color options in a different PR.

@kirbt
Copy link
Contributor

kirbt commented Feb 26, 2024

It might be useful to add an LED color for communicating to the drivers that the robot's intake is off

Copy link
Member

@jamesdooley4 jamesdooley4 left a comment

Choose a reason for hiding this comment

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

LEDs aren't planned to be installed on the robot this week, so it'd be best to hold off on this until after the Glacier Peak competition.

@iamawesomecat
Copy link
Contributor

LEDs aren't planned to be installed on the robot this week, so it'd be best to hold off on this until after the Glacier Peak competition.

Do we want to close it until then?

@TAKBS2412 TAKBS2412 marked this pull request as draft February 29, 2024 19:50
@TAKBS2412
Copy link
Contributor

LEDs aren't planned to be installed on the robot this week, so it'd be best to hold off on this until after the Glacier Peak competition.

Do we want to close it until then?

I've converted it into a draft for now.

Added color to check if intake is on or not and added a end command to disable the leds
Spotless
Fixed bugs
spotless
Fixed methods that used outdated motors
Added parameter for led command
enabled led subsystem
TAKBS2412
TAKBS2412 previously approved these changes Mar 16, 2024
Copy link

@bobtseattle bobtseattle left a comment

Choose a reason for hiding this comment

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

It would be good to make sure there is ambiguity between the state of robot and LEDs.

New violet color to check if feeder sensor sees a note.
@Jetblackdragon Jetblackdragon marked this pull request as ready for review March 19, 2024 00:48
Changed isIntakeOn method to only check for intaking and not also rejecting
bobtseattle
bobtseattle previously approved these changes Mar 19, 2024
Copy link

@bobtseattle bobtseattle left a comment

Choose a reason for hiding this comment

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

LGTM - We can deal with back intake during testing. Though, should deal with failing formatting failures.

Copy link
Member

@jamesdooley4 jamesdooley4 left a comment

Choose a reason for hiding this comment

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

Need to re-enable auto

@Jetblackdragon Jetblackdragon merged commit ee0b43d into robototes:main Apr 2, 2024
2 checks passed
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.

6 participants