// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #pragma once #include #include #include #include "subsystems/Drivetrain.h" class TeleopArcadeDrive : public frc2::CommandHelper { public: TeleopArcadeDrive(Drivetrain* subsystem, std::function xaxisSpeedSupplier, std::function zaxisRotateSupplier); void Execute() override; private: Drivetrain* m_drive; std::function m_xaxisSpeedSupplier; std::function m_zaxisRotateSupplier; };