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

Make auto sequence work in sim #77

Open
3 tasks
jkleiber opened this issue Feb 10, 2025 · 1 comment
Open
3 tasks

Make auto sequence work in sim #77

jkleiber opened this issue Feb 10, 2025 · 1 comment
Assignees

Comments

@jkleiber
Copy link
Member

Summary
Auto in simulation skips the lineup state after the first try, so I suspect there is some stale state hanging around that is short circuiting the lineup state logic.

For AprilTags: I think issues in #72 related to not being able to see the tags are due to using the right camera for the left camera's job. We should add support for the left camera in sim in this ticket.

we will be using sim a lot in the coming days/weeks to prepare for auto, so let's make sure the sim is as accurate as possible.

Work Scope

  • Determine why the lineup state is being short circuited after the first score in auto
  • Add the left camera to sim to prove it works (we can also add it to the robot here if convenient)
  • Check that the apriltags are being used correctly in sim
@jkleiber jkleiber added this to the Mixed Autonomy milestone Feb 10, 2025
@linglejack06
Copy link
Member

@jkleiber lineup is only skipped for the first reef on red side. after testing, its just because the camera isnt seeing the april tag in front of it (so it's pushing back to joystick state)

i assume adding left camera to sim might fix this, but unsure why it isnt seeing the tag in the first place. when switching to blue alliance, the auto runs perfectly (with lineup happening at both locations)

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

No branches or pull requests

3 participants