2
0
mirror of https://github.com/team2059/Dent synced 2024-12-28 21:02:30 -05:00
dent/Commands/Autonomous/Autonomous.h

45 lines
1.2 KiB
C
Raw Normal View History

2015-02-06 13:45:01 -05:00
#ifndef AUTONOMOUS_H
#define AUTONOMOUS_H
2015-02-07 12:32:46 -05:00
#include "Commands/CommandGroup.h"
#include "../../DentRobot.h"
2015-02-06 13:45:01 -05:00
#include "WPILib.h"
2015-03-01 17:19:00 -05:00
/**
* @brief The autonomous period of the robot
*
* Contains three sequences selectable from the SmartDashboard
* All sequences will wait for the SmartDashboard value "Auto Wait Time"
*
2015-03-01 17:19:00 -05:00
* Sequence 0: Used for testing only
*
* Sequence 1: Drives forward "Auto Zone Distance" at -0.8 power
*
* Sequence 2: Collects a tote, turns, then drives to the auto zone
*
* Sequence 3: Collects two or three totes then drives to auto zone
2015-03-22 14:29:07 -04:00
*
* Sequence 4: Collect one, two, or three totes, drive to Auto Zone, release totes
*
* Sequence 5: Same as auto 4, but navigate around bins (not implemented)
*
* Sequence 6: Collect 1 bin and 1 tote (not implemented)
*
* Sequence 7: Same as auto 4, then collect bin, drive to auto zone, release totes (not implemented)
*
* Sequence 8: Use rear elevator to move tote
*
* Sequence 9: Use rear elevator to move bin
2015-03-01 17:19:00 -05:00
*/
2015-02-06 13:45:01 -05:00
class Autonomous: public CommandGroup{
public:
2015-03-01 17:19:00 -05:00
/**
* @brief Constructs Autonomous
*
2015-03-23 10:52:02 -04:00
* @param seq The sequence to run (default: 0)
2015-03-01 17:19:00 -05:00
*/
2015-03-23 10:52:02 -04:00
Autonomous(int seq = 0);
2015-02-06 13:45:01 -05:00
};
#endif
2015-02-08 12:26:15 -05:00
// vim: ts=2:sw=2:et