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

Dev #35

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

Dev #35

wants to merge 278 commits into from

Conversation

Nummun14
Copy link
Member

No description provided.

Copy link
Member Author

@Nummun14 Nummun14 left a comment

Choose a reason for hiding this comment

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

started review

Copy link
Member

@levyishai levyishai left a comment

Choose a reason for hiding this comment

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

Mostly reviewed things that matter for the template

Copy link
Member Author

@Nummun14 Nummun14 left a comment

Choose a reason for hiding this comment

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

approved


public AlignToNoteCommand() {
addCommands(
getSetCurrentLEDColorCommand().asProxy(),
GeneralCommands.getContinuousConditionalCommand(getDriveWhileAligningToNoteCommand(), GeneralCommands.duplicate(CommandConstants.SELF_RELATIVE_DRIVE_COMMAND), this::hasTarget).asProxy(),
getSetCurrentLEDColorCommand(),
Copy link
Member

Choose a reason for hiding this comment

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

Why not proxy?

Copy link
Member

Choose a reason for hiding this comment

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

The function I'm calling runs it as a proxy

Copy link
Member

Choose a reason for hiding this comment

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

Okay
Is this fully tested?

@@ -71,6 +75,6 @@ else if (difference > tolerance)
}

private Pose2d getCurrentRobotPose() {
return RobotContainer.POSE_ESTIMATOR.getCurrentPose();
return RobotContainer.POSE_ESTIMATOR.getCurrentEstimatedPose();
Copy link
Member

Choose a reason for hiding this comment

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

this function seems rather useless

Copy link
Member

Choose a reason for hiding this comment

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

It cleans it up

Copy link
Member

Choose a reason for hiding this comment

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

It gives more ambiguity on where the pose is coming from
No need

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.

3 participants