From 161d26fa83b7d14aa05c1e6bb67ae3e7e3dffc4a Mon Sep 17 00:00:00 2001 From: ary Date: Wed, 18 Oct 2023 18:39:41 -0400 Subject: [PATCH] update everything --- RELENTLESS/src/main.cpp | 3 +++ RELENTLESS/src/superstructure.cpp | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/RELENTLESS/src/main.cpp b/RELENTLESS/src/main.cpp index a9df491..89fcad7 100644 --- a/RELENTLESS/src/main.cpp +++ b/RELENTLESS/src/main.cpp @@ -66,6 +66,7 @@ void opcontrol() { Available Options: RENU, RIA, CHRIS */ + if (currentuser == RENU) { chassis.tank_control(); renu_control(); @@ -75,6 +76,8 @@ void opcontrol() { } else if (currentuser == CHRIS) { chassis.arcade_standard(ary::SPLIT, ary::DEFAULT); renu_control(); + } else { + renu_control(); } pros::delay(ary::util::DELAY_TIME); diff --git a/RELENTLESS/src/superstructure.cpp b/RELENTLESS/src/superstructure.cpp index 2da7ff3..35bd9e7 100644 --- a/RELENTLESS/src/superstructure.cpp +++ b/RELENTLESS/src/superstructure.cpp @@ -209,12 +209,11 @@ namespace superstruct { /* Handle respective controls */ - + void renu_control() { cataControl(RENU_PTO_TOGGLE, RENU_CATA_CONTROL); - wingsControl(); + wingsControlSingle(RENU_WING_CONTROL); intakeControl(RENU_INTAKE_CONTROL); - } void ria_control() {