Ravago Jones | 486de80 | 2021-05-19 20:47:55 -0700 | [diff] [blame^] | 1 | #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 | |
| 14 | namespace y2021_bot3 { |
| 15 | namespace actors { |
| 16 | |
| 17 | class AutonomousSplines { |
| 18 | public: |
| 19 | static flatbuffers::Offset<frc971::MultiSpline> BasicSSpline( |
| 20 | aos::Sender<frc971::control_loops::drivetrain::Goal>::Builder *builder); |
| 21 | static flatbuffers::Offset<frc971::MultiSpline> StraightLine( |
| 22 | aos::Sender<frc971::control_loops::drivetrain::Goal>::Builder *builder); |
| 23 | }; |
| 24 | |
| 25 | } // namespace actors |
| 26 | } // namespace y2021_bot3 |
| 27 | |
| 28 | #endif // Y2021_BOT3_ACTORS_AUTO_SPLINES_H_ |