blob: 9225a4945540cf2bd70e1877891dd0bd28db1d9a [file] [log] [blame]
Ravago Jones486de802021-05-19 20:47:55 -07001#ifndef Y2021_BOT3_ACTORS_AUTO_SPLINES_H_
2#define Y2021_BOT3_ACTORS_AUTO_SPLINES_H_
3
4#include "aos/events/event_loop.h"
5#include "frc971/control_loops/control_loops_generated.h"
6#include "frc971/control_loops/drivetrain/drivetrain_goal_generated.h"
7/*
8
9 The cooridinate system for the autonomous splines is the same as the spline
10 python generator and drivetrain spline systems.
11
12*/
13
Stephan Pleinesd99b1ee2024-02-02 20:56:44 -080014namespace y2021_bot3::actors {
Ravago Jones486de802021-05-19 20:47:55 -070015
16class AutonomousSplines {
17 public:
18 static flatbuffers::Offset<frc971::MultiSpline> BasicSSpline(
19 aos::Sender<frc971::control_loops::drivetrain::Goal>::Builder *builder);
20 static flatbuffers::Offset<frc971::MultiSpline> StraightLine(
21 aos::Sender<frc971::control_loops::drivetrain::Goal>::Builder *builder);
22};
23
Stephan Pleinesd99b1ee2024-02-02 20:56:44 -080024} // namespace y2021_bot3::actors
Ravago Jones486de802021-05-19 20:47:55 -070025
26#endif // Y2021_BOT3_ACTORS_AUTO_SPLINES_H_