Skip to content

Commit

Permalink
add swerve drive to RobotContainer header per #11
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbrownmsm committed Dec 27, 2022
1 parent 60a2d43 commit 3b0fe4f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/include/RobotContainer.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
#include "hardware/HardwareInterface.h"
#include "io/DrivetrainIO.h"
#include "subsystems/Drivetrain.h"
#include "io/SwerveDriveIO.h"
#include "subsystems/SwerveDrive.h"
#include "io/IntakeIO.h"
#include "subsystems/Intake.h"

Expand Down Expand Up @@ -44,14 +46,17 @@ class RobotContainer {

// Hardware I/O interfaces
std::shared_ptr<DrivetrainIO> drivetrain_io_;
std::shared_ptr<DrivetrainIO> swerve_drive_io_;
std::shared_ptr<IntakeIO> intake_io_;

// Robot software interfaces.
std::shared_ptr<DrivetrainSoftwareInterface> drivetrain_sw_;
std::shared_ptr<DrivetrainSoftwareInterface> swerve_drive_sw_;
std::shared_ptr<IntakeSoftwareInterface> intake_sw_;

// Subsystems
std::shared_ptr<Drivetrain> drivetrain_;
std::shared_ptr<Drivetrain> swerve_drive_;
std::shared_ptr<Intake> intake_;

// Commands
Expand Down

0 comments on commit 3b0fe4f

Please sign in to comment.