blob: 3c179ed2e3e501e6747b953d9c2cef7b784ffd3e [file] [log] [blame]
Tyler Chatowf31da682017-01-22 01:39:40 +00001#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 Schrader996a2a22017-02-22 05:02:48 +00009#include "frc971/autonomous/base_autonomous_actor.h"
Tyler Chatowf31da682017-01-22 01:39:40 +000010#include "frc971/control_loops/drivetrain/drivetrain.q.h"
11#include "frc971/control_loops/drivetrain/drivetrain_config.h"
Tyler Chatowf31da682017-01-22 01:39:40 +000012
13namespace y2017 {
14namespace actors {
15using ::frc971::ProfileParameters;
16
Philipp Schrader996a2a22017-02-22 05:02:48 +000017class AutonomousActor : public ::frc971::autonomous::BaseAutonomousActor {
Tyler Chatowf31da682017-01-22 01:39:40 +000018 public:
Philipp Schrader996a2a22017-02-22 05:02:48 +000019 explicit AutonomousActor(::frc971::autonomous::AutonomousActionQueueGroup *s);
Tyler Chatowf31da682017-01-22 01:39:40 +000020
Philipp Schrader996a2a22017-02-22 05:02:48 +000021 bool RunAction(
22 const ::frc971::autonomous::AutonomousActionParams &params) override;
Tyler Chatowf31da682017-01-22 01:39:40 +000023 private:
Philipp Schrader996a2a22017-02-22 05:02:48 +000024 // TODO(phil): Implement this.
Tyler Chatowf31da682017-01-22 01:39:40 +000025};
26
Tyler Chatowf31da682017-01-22 01:39:40 +000027} // namespace actors
28} // namespace y2017
29
30#endif // Y2017_ACTORS_AUTONOMOUS_ACTOR_H_