-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
:( i couldnt make robot map work heres some miscelaneous changes
- Loading branch information
1 parent
6c37666
commit d707d65
Showing
4 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#pragma once | ||
|
||
#include <frc/TimedRobot.h> | ||
|
||
#include "RobotMap.h" | ||
|
||
class Robot : public frc::TimedRobot { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
#pragma once | ||
|
||
#include "Wombat.h" | ||
|
||
#include <frc/XboxController.h> | ||
|
||
#include "Wombat.h" | ||
|
||
struct RobotMap { | ||
struct Controllers { | ||
frc::XboxController driver = frc::XboxController(0); | ||
frc::XboxController coDriver = frc::XboxController(1); | ||
frc::XboxController driver = frc::XboxController(0); | ||
frc::XboxController coDriver = frc::XboxController(1); | ||
frc::XboxController testController = frc::XboxController(2); | ||
}; | ||
Controllers controllers; | ||
|
||
struct Swerve { | ||
|
||
}; | ||
Swerve swerve; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters