Skip to content

Vision (Basic) #3

@sillylittlerobots

Description

@sillylittlerobots

Since we are using photonvision, the setup for the robot-vision interface is quite simple.

https://docs.photonvision.org/en/latest/docs/integration/index.html - A really good guide, the whole documentation is what you are looking for

Requirements:

  • A function that gets a 2D pose from a known april tag
  • A function that can convert the 2D pose to an x and y displacement value for the top view of the field
  • A function that gives an orientation from an april tag

Steps:

  1. The physical setup for the photonvision system is Alec's responsibility at this point, so whoever works on this should discuss with him.
  2. Using the documentation linked and code examples, make functions that can do the 3 things above in a class.
    I've attached an example of this type of class.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions