Skip to content

Commit f7f1205

Browse files
committed
Add base of AutonomousActions
1 parent aca9d8e commit f7f1205

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Robot.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,9 @@ class Robot : public frc::TimedRobot {
223223
void AutonomousInit() {
224224
// Disabling Safety
225225
robotDrive.SetSafetyEnabled(false);
226+
226227
while (!autoActions.empty()) { autoActions.pop(); }
228+
227229
// Collect Options
228230
std::string targets = frc::DriverStation::GetInstance().GetGameSpecificMessage();
229231
char optionTarget = targets[0];

0 commit comments

Comments
 (0)