Made SensorBase a utility class and renamed it to SensorUtil (#813)

This commit is contained in:
Tyler Veness
2018-05-23 20:22:30 -07:00
committed by Peter Johnson
parent ba93f79d8b
commit ecfe95383c
72 changed files with 210 additions and 240 deletions

View File

@@ -10,7 +10,8 @@
#include <memory>
#include "AnalogInput.h"
#include "SensorBase.h"
#include "ErrorBase.h"
#include "SmartDashboard/SendableBase.h"
#include "interfaces/Potentiometer.h"
namespace frc {
@@ -21,7 +22,9 @@ namespace frc {
* units you choose, by way of the scaling and offset constants passed to the
* constructor.
*/
class AnalogPotentiometer : public SensorBase, public Potentiometer {
class AnalogPotentiometer : public ErrorBase,
public SendableBase,
public Potentiometer {
public:
/**
* AnalogPotentiometer constructor.