Files
allwpilib/wpilibc/src/main/native/include/GyroBase.h
Tyler Veness 0ef9803363 Update copyright year to 2018 (#864)
Also fix a few files with incorrect line endings.
2018-01-02 11:20:21 -06:00

29 lines
899 B
C++

/*----------------------------------------------------------------------------*/
/* Copyright (c) 2008-2018 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
/*----------------------------------------------------------------------------*/
#pragma once
#include "PIDSource.h"
#include "SensorBase.h"
#include "interfaces/Gyro.h"
namespace frc {
/**
* GyroBase is the common base class for Gyro implementations such as
* AnalogGyro.
*/
class GyroBase : public Gyro, public SensorBase, public PIDSource {
public:
// PIDSource interface
double PIDGet() override;
void InitSendable(SendableBuilder& builder) override;
};
} // namespace frc