mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
25 lines
639 B
C
25 lines
639 B
C
|
|
// 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 <frc2/command/CommandPtr.h>
|
||
|
|
#include <frc2/command/button/CommandXboxController.h>
|
||
|
|
|
||
|
|
#include "Constants.h"
|
||
|
|
#include "subsystems/Drive.h"
|
||
|
|
|
||
|
|
class SysIdRoutineBot {
|
||
|
|
public:
|
||
|
|
SysIdRoutineBot();
|
||
|
|
|
||
|
|
frc2::CommandPtr GetAutonomousCommand();
|
||
|
|
|
||
|
|
private:
|
||
|
|
void ConfigureBindings();
|
||
|
|
frc2::CommandXboxController m_driverController{
|
||
|
|
constants::oi::kDriverControllerPort};
|
||
|
|
Drive m_drive{};
|
||
|
|
};
|