Skip to content

AutoClimb State Machine#193

Open
SyntaxBreak wants to merge 13 commits into
mainfrom
make_auto_climb_logic
Open

AutoClimb State Machine#193
SyntaxBreak wants to merge 13 commits into
mainfrom
make_auto_climb_logic

Conversation

@SyntaxBreak
Copy link
Copy Markdown
Contributor

Liveshare wrote with @DannyPomeranian

@DannyPomeranian DannyPomeranian force-pushed the make_auto_climb_logic branch from aeaa27c to f508e21 Compare March 1, 2026 06:14
Comment thread components/climber.py Outdated
Comment thread controllers/autoclimber.py Outdated
@DannyPomeranian DannyPomeranian force-pushed the make_auto_climb_logic branch 2 times, most recently from f37a51d to 84c076a Compare March 1, 2026 10:01
Comment thread controllers/autoclimber.py
@SyntaxBreak SyntaxBreak linked an issue Mar 1, 2026 that may be closed by this pull request
@SyntaxBreak SyntaxBreak marked this pull request as draft March 1, 2026 11:35
Copy link
Copy Markdown
Contributor

@LucienMorey LucienMorey left a comment

Choose a reason for hiding this comment

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

more tings I meant to review last night

Comment thread utilities/game.py Outdated
Comment thread utilities/game.py Outdated
Comment thread controllers/autoclimber.py
@SyntaxBreak SyntaxBreak marked this pull request as ready for review March 1, 2026 22:39
@SyntaxBreak SyntaxBreak force-pushed the make_auto_climb_logic branch from 67368f7 to 32b3c68 Compare March 2, 2026 07:58
Comment thread controllers/autoclimber.py
Comment thread utilities/game.py Outdated
Comment thread controllers/autoclimber.py Outdated
Comment thread utilities/game.py
Comment thread utilities/game.py Outdated
Comment thread controllers/autoclimber.py Outdated
Comment thread utilities/game.py Outdated
Comment thread utilities/game.py Outdated
Comment thread utilities/game.py
@DannyPomeranian
Copy link
Copy Markdown
Contributor

@auscompgeek @LucienMorey are the checks failing because I am not injecting the climber state machine into auto properly?

@Alexander-Mironenko

This comment was marked as off-topic.

@Alexander-Mironenko

This comment was marked as off-topic.

@auscompgeek
Copy link
Copy Markdown
Member

auscompgeek commented Mar 5, 2026

are the checks failing because I am not injecting the climber state machine into auto properly?

What's confusing about the error message to you @DannyPomeranian?

FAILED tests/pyfrc_test.py::test_disabled - magicbot.inject.MagicInjectError: Component Spin while forward for 3m has variable autoclimber (type <class 'controllers.autoclimber.AutoClimber'>), which is absent from robot

@DannyPomeranian
Copy link
Copy Markdown
Contributor

are the checks failing because I am not injecting the climber state machine into auto properly?

What's confusing about the error message to you @DannyPomeranian?

FAILED tests/pyfrc_test.py::test_disabled - magicbot.inject.MagicInjectError: Component Spin while forward for 3m has variable autoclimber (type <class 'controllers.autoclimber.AutoClimber'>), which is absent from robot

@auscompgeek is it because im not making an instance of the auto state machine in robotpy?

@DannyPomeranian DannyPomeranian force-pushed the make_auto_climb_logic branch from da1633e to 1b3c7a1 Compare March 5, 2026 08:22
@DannyPomeranian
Copy link
Copy Markdown
Contributor

nvm its the radio access point naming problem all over again 🤦

@DannyPomeranian
Copy link
Copy Markdown
Contributor

ICH BIN SEHR DUMM

@thedropbears thedropbears deleted a comment from greptile-apps Bot Mar 5, 2026
@thedropbears thedropbears deleted a comment from greptile-apps Bot Mar 5, 2026
@SyntaxBreak
Copy link
Copy Markdown
Contributor Author

SyntaxBreak commented Mar 6, 2026

ICH BIN SEHR DUMM

ja du bist ein dummkopf

Comment thread controllers/autoclimber.py Outdated
Comment thread utilities/game.py
@DannyPomeranian DannyPomeranian force-pushed the make_auto_climb_logic branch from d0cf526 to 46e33a7 Compare March 8, 2026 11:29
Comment thread utilities/game.py
Comment thread utilities/game.py
Comment thread utilities/game.py
Comment thread utilities/game.py Outdated
@LHowe-a11y LHowe-a11y force-pushed the make_auto_climb_logic branch 4 times, most recently from 6ac1dd2 to 3e1d271 Compare March 10, 2026 08:57
@LHowe-a11y LHowe-a11y requested a review from auscompgeek March 10, 2026 09:04
Comment thread utilities/game.py Outdated
return Translation2d(FIELD_LENGTH - t.x, t.y)


def rotational_flip_translation2d(t: Translation2d):
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think this should just be the implementation of field_flip_translation2d. If necessary field_flip_rotation2d should also be fixed :)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The field flip method is used as is (or as was, just a flip over the y-axis, or opposite side of the field lengthways) by other points, do you think that these can be changed also?

Although, actually, if they worked on the previous method they would have been halfway through the y-axis of the field anyway so it would work either way.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

As in if you've fixed a real bug here, then the buggy field_flip_translation2d should be replaced.

@LHowe-a11y LHowe-a11y force-pushed the make_auto_climb_logic branch from 81fc757 to ff201c1 Compare March 10, 2026 21:42
@DannyPomeranian
Copy link
Copy Markdown
Contributor

oops davo dont eat me it was a mouse slip

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.

Automate the climb sequence for both auto and endgame

7 participants