1) Connect the limelight(Glubo)/camera to your computer(box) and open photonvision (10.9.30.30 for Glubo).
2) Scroll to the bottom of “Settings” and turn “Run network table servers” on (Should say one connect device on the left side by the cloud if you have one camera connected).
NOTE: remember to turn back off before running on the robot.
3) In OdometryUtil, make sure CONNECTED_PHOTOVISION_CAMERA is set to true and PHOTON_NETWORK_SERVER has the correct IP address.
3) In OdometryUtil, make sure CONNECTED_PHOTOVISION_CAMERA is set to true and PHOTON_NETWORK_SERVER has the correct IP address.
4) Take the camera to the practice field, or somewhere with properly measured/spaced April tags.
5) Open AdvantageScope and run simulation. (Use the 3d field or Odometry window).
6) The robot should appear on the AdvantageScope field where the camera is relative to the April tags.