mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-19 00:41:41 +00:00
Bump wpilib versions to 2024 beta 1 (#947)
This commit is contained in:
@@ -53,11 +53,11 @@ class Robot : public frc::TimedRobot {
|
||||
// PID constants should be tuned per robot
|
||||
const double LINEAR_P = 0.1;
|
||||
const double LINEAR_D = 0.0;
|
||||
frc2::PIDController forwardController{LINEAR_P, 0.0, LINEAR_D};
|
||||
frc::PIDController forwardController{LINEAR_P, 0.0, LINEAR_D};
|
||||
|
||||
const double ANGULAR_P = 0.1;
|
||||
const double ANGULAR_D = 0.0;
|
||||
frc2::PIDController turnController{ANGULAR_P, 0.0, ANGULAR_D};
|
||||
frc::PIDController turnController{ANGULAR_P, 0.0, ANGULAR_D};
|
||||
|
||||
// Change this to match the name of your camera
|
||||
photonlib::PhotonCamera camera{"photonvision"};
|
||||
|
||||
Reference in New Issue
Block a user