blob: 9225a4945540cf2bd70e1877891dd0bd28db1d9a [file] [log] [blame]
#ifndef Y2021_BOT3_ACTORS_AUTO_SPLINES_H_
#define Y2021_BOT3_ACTORS_AUTO_SPLINES_H_
#include "aos/events/event_loop.h"
#include "frc971/control_loops/control_loops_generated.h"
#include "frc971/control_loops/drivetrain/drivetrain_goal_generated.h"
/*
The cooridinate system for the autonomous splines is the same as the spline
python generator and drivetrain spline systems.
*/
namespace y2021_bot3::actors {
class AutonomousSplines {
public:
static flatbuffers::Offset<frc971::MultiSpline> BasicSSpline(
aos::Sender<frc971::control_loops::drivetrain::Goal>::Builder *builder);
static flatbuffers::Offset<frc971::MultiSpline> StraightLine(
aos::Sender<frc971::control_loops::drivetrain::Goal>::Builder *builder);
};
} // namespace y2021_bot3::actors
#endif // Y2021_BOT3_ACTORS_AUTO_SPLINES_H_