/*----------------------------------------------------------------------------*/ /* 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