Make a Vision subsystem that uses Photonvision to detect a note on the ground in front of the robot. There should be a hasTarget method to check if a note is detected, a getNoteDistance method to return the approximate distance in m to the note, and a getNoteAngle method to return the yaw of the note in radians.
Make a Vision subsystem that uses Photonvision to detect a note on the ground in front of the robot. There should be a
hasTarget
method to check if a note is detected, agetNoteDistance
method to return the approximate distance in m to the note, and agetNoteAngle
method to return the yaw of the note in radians.