Tyler Chatow | f31da68 | 2017-01-22 01:39:40 +0000 | [diff] [blame] | 1 | #ifndef Y2017_ACTORS_AUTONOMOUS_ACTOR_H_ |
| 2 | #define Y2017_ACTORS_AUTONOMOUS_ACTOR_H_ |
| 3 | |
| 4 | #include <chrono> |
| 5 | #include <memory> |
| 6 | |
| 7 | #include "aos/common/actions/actions.h" |
| 8 | #include "aos/common/actions/actor.h" |
Philipp Schrader | 996a2a2 | 2017-02-22 05:02:48 +0000 | [diff] [blame^] | 9 | #include "frc971/autonomous/base_autonomous_actor.h" |
Tyler Chatow | f31da68 | 2017-01-22 01:39:40 +0000 | [diff] [blame] | 10 | #include "frc971/control_loops/drivetrain/drivetrain.q.h" |
| 11 | #include "frc971/control_loops/drivetrain/drivetrain_config.h" |
Tyler Chatow | f31da68 | 2017-01-22 01:39:40 +0000 | [diff] [blame] | 12 | |
| 13 | namespace y2017 { |
| 14 | namespace actors { |
| 15 | using ::frc971::ProfileParameters; |
| 16 | |
Philipp Schrader | 996a2a2 | 2017-02-22 05:02:48 +0000 | [diff] [blame^] | 17 | class AutonomousActor : public ::frc971::autonomous::BaseAutonomousActor { |
Tyler Chatow | f31da68 | 2017-01-22 01:39:40 +0000 | [diff] [blame] | 18 | public: |
Philipp Schrader | 996a2a2 | 2017-02-22 05:02:48 +0000 | [diff] [blame^] | 19 | explicit AutonomousActor(::frc971::autonomous::AutonomousActionQueueGroup *s); |
Tyler Chatow | f31da68 | 2017-01-22 01:39:40 +0000 | [diff] [blame] | 20 | |
Philipp Schrader | 996a2a2 | 2017-02-22 05:02:48 +0000 | [diff] [blame^] | 21 | bool RunAction( |
| 22 | const ::frc971::autonomous::AutonomousActionParams ¶ms) override; |
Tyler Chatow | f31da68 | 2017-01-22 01:39:40 +0000 | [diff] [blame] | 23 | private: |
Philipp Schrader | 996a2a2 | 2017-02-22 05:02:48 +0000 | [diff] [blame^] | 24 | // TODO(phil): Implement this. |
Tyler Chatow | f31da68 | 2017-01-22 01:39:40 +0000 | [diff] [blame] | 25 | }; |
| 26 | |
Tyler Chatow | f31da68 | 2017-01-22 01:39:40 +0000 | [diff] [blame] | 27 | } // namespace actors |
| 28 | } // namespace y2017 |
| 29 | |
| 30 | #endif // Y2017_ACTORS_AUTONOMOUS_ACTOR_H_ |