From 6180214702c6741543c5e7649528f702bae97a6f Mon Sep 17 00:00:00 2001 From: Nikhil Gajjar Date: Wed, 6 Mar 2024 16:30:17 -0500 Subject: [PATCH] changed to helper functions not autonomous --- include/OWL2/autonomous.hpp | 1 - include/OWL2/helper_functions.hpp | 5 +++++ include/main.h | 2 +- src/OWL2/{autonomous.cpp => helper_functions.cpp} | 0 4 files changed, 6 insertions(+), 2 deletions(-) delete mode 100644 include/OWL2/autonomous.hpp create mode 100644 include/OWL2/helper_functions.hpp rename src/OWL2/{autonomous.cpp => helper_functions.cpp} (100%) diff --git a/include/OWL2/autonomous.hpp b/include/OWL2/autonomous.hpp deleted file mode 100644 index 6f70f09..0000000 --- a/include/OWL2/autonomous.hpp +++ /dev/null @@ -1 +0,0 @@ -#pragma once diff --git a/include/OWL2/helper_functions.hpp b/include/OWL2/helper_functions.hpp new file mode 100644 index 0000000..c1e16ca --- /dev/null +++ b/include/OWL2/helper_functions.hpp @@ -0,0 +1,5 @@ +#pragma once +#include "OWL2/robot_config.hpp" +void wingLeftAuton(int time ); +void wingRightAuton(int time); +void intakeControlAuton(int speed, int time); \ No newline at end of file diff --git a/include/main.h b/include/main.h index 755a2c9..33afed5 100644 --- a/include/main.h +++ b/include/main.h @@ -47,7 +47,7 @@ #include "autons.hpp" #include "OWL2/robot_config.hpp" #include "OWL2/opcontrol.hpp" -#include "OWL2/autonomous.hpp" +#include "OWL2/helper_functions.hpp" /** * If you find doing pros::Motor() to be tedious and you'd prefer just to do * Motor, you can use the namespace with the following commented out line. diff --git a/src/OWL2/autonomous.cpp b/src/OWL2/helper_functions.cpp similarity index 100% rename from src/OWL2/autonomous.cpp rename to src/OWL2/helper_functions.cpp