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

Talon swerve changes #7

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open

Talon swerve changes #7

wants to merge 18 commits into from

Conversation

michaelx0281
Copy link

@michaelx0281 michaelx0281 commented Jan 11, 2025

You can now utilize Talons when case Talon is selected while building Drive. Tell me if there are any wonky things going on.

Additionally, vision changes may have accidentally been stashed and applied to this PR too. Please clear vision first or do as you please.

@michaelx0281 michaelx0281 requested a review from Yxhej January 11, 2025 16:20
src/main/java/org/sciborgs1155/robot/vision/Vision.java Outdated Show resolved Hide resolved

for (int j = 0; j < unread.size(); j++) {
var change = unread.get(j);
changes[i][j] = unread.get(j);
Copy link
Member

Choose a reason for hiding this comment

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

On second thought, this doesn't really work because we can't know the size of the unread results. This means that past changes might not be overriden, and we'll be displaying old data, which definitely isn't good.

Yeah... let's just use an ArrayList.

Copy link
Author

Choose a reason for hiding this comment

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

............so what i suggested initially.....

@Yxhej Yxhej requested a review from a team as a code owner January 28, 2025 20:51
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