fix cpp and java photoncamera names (#1230)

This commit is contained in:
DeltaDizzy
2024-02-11 03:27:25 -06:00
committed by GitHub
parent 3738e7821b
commit 9653c46bdb
2 changed files with 4 additions and 4 deletions

View File

@@ -39,8 +39,8 @@ class Robot : public frc::TimedRobot {
void TeleopPeriodic() override;
private:
// Change this to match the name of your camera
photon::PhotonCamera camera{"photonvision"};
// Change this to match the name of your camera as shown in the web UI
photon::PhotonCamera camera{"YOUR_CAMERA_NAME_HERE"};
// PID constants should be tuned per robot
frc::PIDController controller{.1, 0, 0};