mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-19 00:41:41 +00:00
fix cpp and java photoncamera names (#1230)
This commit is contained in:
@@ -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};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user