Update examples to use VictorSPX's rather then Sparks (#1521)

This commit is contained in:
Thad House
2018-12-31 13:45:09 -08:00
committed by Peter Johnson
parent 3635116049
commit c12d7729e3
32 changed files with 96 additions and 95 deletions

View File

@@ -8,7 +8,7 @@
#pragma once
#include <frc/AnalogPotentiometer.h>
#include <frc/Spark.h>
#include <frc/PWMVictorSPX.h>
#include <frc/commands/PIDSubsystem.h>
/**
@@ -40,7 +40,7 @@ class Wrist : public frc::PIDSubsystem {
void UsePIDOutput(double d) override;
private:
frc::Spark m_motor{6};
frc::PWMVictorSPX m_motor{6};
// Conversion value of potentiometer varies between the real world and
// simulation