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

Loki shooter + Coral Funnel Subsystem #1

Merged
merged 17 commits into from
Feb 3, 2025
Merged

Conversation

Material-Energy
Copy link
Contributor

No description provided.

Material-Energy and others added 13 commits January 28, 2025 18:25
Co-authored-by: Calvin Ye <cye2007@users.noreply.github.com>
Co-authored-by: Jerry Jiang <JerryJiang531@users.noreply.github.com>
Co-authored-by: LinAndy10 <LinAndy10@users.noreply.github.com>
Co-authored-by: Weifen Chen <WennieC@users.noreply.github.com>
Co-authored-by: Rahul Deb <rahuldeb.usa@gmail.com>
only calls set rpm at the end
Moved the shooter rpm commands to the abstract class
… targetRPM

Co-authored-by: Calvin Ye <cye2007@users.noreply.github.com>
Co-authored-by: sixuanl <sixuanl@users.noreply.github.com>
Co-authored-by: ryanyu32 <ryanyu32@users.noreply.github.com>
Co-authored-by: metereel <Material-Energy@users.noreply.github.com>
Co-authored-by: LinAndy10 <LinAndy10@users.noreply.github.com>
Co-authored-by: Weifen Chen <WennieC@users.noreply.github.com>
Co-authored-by: Rahul Deb <rahuldeb.usa@gmail.com>
Readded stopping functionality back to funnel default command

renamed changeState to runState in default command for clarity

removed this in all methods

changed detectCurrentSpike to private

@Override
public void initialize(){
if (shooter.hasAlgae()){
Copy link
Contributor

Choose a reason for hiding this comment

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

remove algae scoring front/back


// Set values later
public interface Shooter {
int MOTOR = 0;
Copy link
Contributor

Choose a reason for hiding this comment

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

shooter = rename to receiver port
funnel = rename to IR

public interface Settings {}
public interface Settings {
public interface Shooter {
SmartNumber ALGAE_FRONT_SPEED = new SmartNumber("Algae Target Speed", 1);
Copy link
Contributor

Choose a reason for hiding this comment

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

no algae front/back needed


public interface Funnel {
SmartNumber MOTOR_SPEED = new SmartNumber("Funnel Speed", 0.0);
double BB_DEBOUNCE = 0.0;
Copy link
Contributor

Choose a reason for hiding this comment

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

rename to ir debounce

Copy link
Contributor

@k4limul k4limul left a comment

Choose a reason for hiding this comment

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

look at comments

Material-Energy and others added 2 commits February 3, 2025 17:32
Changed motorBeam on shooter to receiver

Changed motorBeam on funnel to ir

Removed front and back shooting for algae, changed to just shooting

Fixed bug where coral acquired in the wrong direction
@k4limul
Copy link
Contributor

k4limul commented Feb 3, 2025

GG

@k4limul k4limul closed this Feb 3, 2025
@k4limul k4limul reopened this Feb 3, 2025
@k4limul k4limul merged commit 4cc37ab into main Feb 3, 2025
1 check passed
@k4limul k4limul deleted the se/coral-shooter-funnel branch February 3, 2025 23:41
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.

4 participants