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

Code Comments #7

Draft
wants to merge 1 commit into
base: Limelight
Choose a base branch
from
Draft

Code Comments #7

wants to merge 1 commit into from

Conversation

ArchdukeTim
Copy link
Member

No description provided.

@@ -52,6 +68,7 @@ private void configureBindings() {

//Positive x moves bot forwards and positive y moves bot to the left
driveSubsystem.setDefaultCommand(new RunCommand(() -> {
// Why do you need to check if teleop is enabled here?
Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah I think it's probably unecessary so I got rid of it

private final DriveSubsystem driveSubsystem = new DriveSubsystem();

// I think you should use the april tags and get the pose from that. Then you can have a command for every tag
Copy link
Contributor

Choose a reason for hiding this comment

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

I like the idea of using a command for each april tag, I was planning on adding that soon. I don't know how useful accessing the exact pose of the tags is though, because we don't want to move on top of them, we want to be some position next to them which could vary from tag to tag. The way I thought was best to do this was to have a position input that we adjust as needed for each tag command. Is there some benefit to using the april tag positions instead? I would think that we would need to still end up putting in arbitrary constants specifying how far away to be

@BenBerol
Copy link
Contributor

I've started to look through these, and I'll come back to them when I get the chance hopefully tomorrow

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.

2 participants