How do you implement PP OTF generation with PhotonVision

I would like to be able to move to a spot on the field (Like speaker, source, amp) from anywhere on the field when holding a button. I was looking into PP on the fly path generation, and I understand how to generate the path based on the example given by pathplanner, but something I was wondering how to make getting your current pose more accurate, potentially using PhotonVision, and how to get the right coordinates of the spots on the field.

Another team I talked to mentioned getting your location on the field using multiple cameras (We have a Limelight 3 and 2) and using them to look at apriltags to get the current location of your robot, and using the locations of april tags as the coordinates for the locations we want to go to.

I feel like I simultaneously both have an idea on how to go about this and have no idea how to go about this, so I was wondering if anyone had any examples or a good tutorial that can help with this

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.