mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[hal, wpilib] Remove SPI support (#7678)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include <frc/ADXRS450_Gyro.h>
|
||||
#include <frc/AnalogGyro.h>
|
||||
#include <frc/Encoder.h>
|
||||
#include <frc/controller/ProfiledPIDController.h>
|
||||
#include <frc/controller/SimpleMotorFeedforward.h>
|
||||
@@ -68,7 +68,7 @@ class Drive : public frc2::SubsystemBase {
|
||||
DriveConstants::kRightEncoderPorts[1],
|
||||
DriveConstants::kRightEncoderReversed};
|
||||
|
||||
frc::ADXRS450_Gyro m_gyro;
|
||||
frc::AnalogGyro m_gyro{0};
|
||||
|
||||
frc::ProfiledPIDController<units::radians> m_controller{
|
||||
DriveConstants::kTurnP,
|
||||
|
||||
Reference in New Issue
Block a user