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

Update robot position from vision (when AprilTag is seen) #13

Open
numerator opened this issue Jan 29, 2023 · 1 comment
Open

Update robot position from vision (when AprilTag is seen) #13

numerator opened this issue Jan 29, 2023 · 1 comment
Assignees

Comments

@numerator
Copy link

No description provided.

@numerator
Copy link
Author

Next steps for Wed 2/15:

  • extract X, Y, and yaw(?) values from limelight/botpose
  • convert X and Y to inches, figure out if yaw needs to be converted (e.g., degrees to radians or vice versa)
  • write converted values to
    • smart_dashboard(sp?)/botPoseX
    • smart_dashboard(sp?)/botPoseY
    • smart_dashboard(sp?)/botPoseYaw
  • Also read the correct value from limelight/?? to determine whether the limelight has a valid tag or not

Update swerveometer so that
IF the limelight has a valid tag THEN it resets the bot's pose estimate (the x, y, rotation values the robot thinks it currently has) to the limelight values (note: if the limelight does NOT see a tag, the pose estimate should NOT be updated from vision--it would instead be updated by the swervometer's odometry)

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

4 participants