-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
44 changed files
with
426 additions
and
101 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,3 +1,7 @@ | ||
*.o | ||
bin | ||
wpilib | ||
CMakeCache.txt | ||
CMakeFiles | ||
cmake_install.cmake | ||
vision |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#include "CollectTote.h" | ||
#include "../../DentRobot.h" | ||
#include "AutoDrive.h" | ||
#include "../Collector/RollIn.h" | ||
CollectTote::CollectTote(){ | ||
AddParallel(new AutoDrive(1.0, -0.75, 0.0)); | ||
AddSequential(new RollIn(1.0)); | ||
} | ||
// vim: ts=2:sw=2:et |
File renamed without changes.
6 changes: 3 additions & 3 deletions
6
Commands/Collector/ReleaseTote.cpp → Commands/Autonomous/ReleaseTote.cpp
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,9 +1,9 @@ | ||
#include "ReleaseTote.h" | ||
#include "../../DentRobot.h" | ||
#include "RollOut.h" | ||
#include "../Autonomous/AutoDrive.h" | ||
#include "AutoDrive.h" | ||
#include "../Collector/RollOut.h" | ||
ReleaseTote::ReleaseTote(){ | ||
AddParallel(new RollOut()); | ||
AddParallel(new AutoDrive(0.5, 0.75)); | ||
AddParallel(new AutoDrive(0.5, 0, 0.75)); | ||
} | ||
// vim: ts=2:sw=2:et |
File renamed without changes.
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
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#include "BinCloseArms.h" | ||
#include "../../DentRobot.h" | ||
#include "../../OI.h" | ||
BinCloseArms::BinCloseArms() : Command("BinCloseArms"){ | ||
} | ||
void BinCloseArms::Initialize(){ | ||
//Should never need to use this | ||
SetTimeout(0.5); | ||
} | ||
void BinCloseArms::Execute(){ | ||
DentRobot::pneumatics->SetOpen(true); | ||
} | ||
bool BinCloseArms::IsFinished(){ | ||
return true; | ||
} | ||
void BinCloseArms::End(){ | ||
} | ||
void BinCloseArms::Interrupted(){ | ||
End(); | ||
} | ||
// vim: ts=2:sw=2:et |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#ifndef BINCLOSEARMS_H | ||
#define BINCLOSEARMS_H | ||
|
||
#include "Commands/Command.h" | ||
#include "WPILib.h" | ||
|
||
class BinCloseArms: public Command{ | ||
public: | ||
BinCloseArms(); | ||
void Initialize(); | ||
void Execute(); | ||
bool IsFinished(); | ||
void End(); | ||
void Interrupted(); | ||
}; | ||
|
||
#endif | ||
// vim: ts=2:sw=2:et |
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
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#include "BinOpenArms.h" | ||
#include "../../DentRobot.h" | ||
#include "../../OI.h" | ||
BinOpenArms::BinOpenArms() : Command("BinOpenArms"){ | ||
} | ||
void BinOpenArms::Initialize(){ | ||
//Should never need to use this | ||
SetTimeout(0.5); | ||
} | ||
void BinOpenArms::Execute(){ | ||
DentRobot::pneumatics->SetOpen(true); | ||
} | ||
bool BinOpenArms::IsFinished(){ | ||
return true; | ||
} | ||
void BinOpenArms::End(){ | ||
} | ||
void BinOpenArms::Interrupted(){ | ||
End(); | ||
} | ||
// vim: ts=2:sw=2:et |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#ifndef BINOPENARMS_H | ||
#define BINOPENARMS_H | ||
|
||
#include "Commands/Command.h" | ||
#include "WPILib.h" | ||
|
||
class BinOpenArms: public Command{ | ||
public: | ||
BinOpenArms(); | ||
void Initialize(); | ||
void Execute(); | ||
bool IsFinished(); | ||
void End(); | ||
void Interrupted(); | ||
}; | ||
|
||
#endif | ||
// vim: ts=2:sw=2:et |
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.