Skip to content

Conversation

@linglejack06
Copy link
Contributor

  • lineup will stop running if any field centric speeds are passed to the robot with greater than 0 velocity (angular, vx, or vy)

@linglejack06 linglejack06 self-assigned this Mar 12, 2025
@linglejack06
Copy link
Contributor Author

**

joystickOverride.mov

**

@linglejack06 linglejack06 requested review from aidnem and jkleiber March 12, 2025 15:29
@linglejack06
Copy link
Contributor Author

@jkleiber @aidnem aiden mentioned this was something we wanted so i went ahead and added it and attached sim proof so we can merge. pretty simple change

@linglejack06
Copy link
Contributor Author

@aidenm someone review????

@jkleiber
Copy link
Contributor

@linglejack06 @aidnem why do we need this? Can't the driver just stop lineup by letting go of the score button?

I'm worried that adding this will result in us accidentally canceling lineup in teleop. I don't recall this being an issue but maybe I need to talk to Oliver about what they want

@linglejack06
Copy link
Contributor Author

I think if we were to stop pressing scote trigger, the elevator would go down right @aidnem

So this allows over riding lineup while still having ability to manual score. Without having to enter manual mode

@jkleiber
Copy link
Contributor

I see, thanks for the explanation

Would like to test this on the robot before merging tbh. I think the code looks fine though

@jkleiber
Copy link
Contributor

In shop testing report: this does not work

The robot no longer aligns and auto scores randomly into the ground. I think that very small joystick movements are kicking us out of lineup and then for some reason that causes a score once the scoring subsystem is in position

We need a cleaner implementation that waits for driver manual score if this scenario happens

@linglejack06
Copy link
Contributor Author

Ok that's weird, just lmk how you'd like it to be setup and I'll update

@linglejack06
Copy link
Contributor Author

In shop testing report: this does not work

The robot no longer aligns and auto scores randomly into the ground. I think that very small joystick movements are kicking us out of lineup and then for some reason that causes a score once the scoring subsystem is in position

We need a cleaner implementation that waits for driver manual score if this scenario happens

Issue with scoring makes sense, drive lined up gets set to true when we exit lineup. Maybe joystick headband is too little as to alignment cancelling without desiring it too

@aidnem
Copy link
Contributor

aidnem commented Mar 15, 2025

@linglejack06 maybe we could just set is drive lined up to whether or not it's actually lined up on exit instead. Also maybe having a wider dead band on joysticks for leaving lineup would be good.

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.

5 participants