From a049175fe0344cafff789e3eeea3675e0d79300c Mon Sep 17 00:00:00 2001 From: Emiel Steerneman Date: Mon, 31 Jul 2023 22:19:41 +0200 Subject: [PATCH] Squashed commit of the following: commit 2f7d77ef86151b341e178231a855ea5ea754e765 Merge: 5bf3fb85a e4f26a7b7 Author: Emiel Steerneman Date: Mon Jul 31 22:17:21 2023 +0200 Merge pull request #89 from RoboTeamTwente/update/headless-mode Make sure that robots drive without GUI commit e4f26a7b790892cf264dcf4d96db30ec5027b3cb Author: emiel steerneman Date: Mon Jul 31 00:06:14 2023 +0200 Make sure that robots drive without GUI --- roboteam_ai/src/interface/api/Output.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/roboteam_ai/src/interface/api/Output.cpp b/roboteam_ai/src/interface/api/Output.cpp index 5ea797a14..c6c365b0c 100644 --- a/roboteam_ai/src/interface/api/Output.cpp +++ b/roboteam_ai/src/interface/api/Output.cpp @@ -9,11 +9,11 @@ namespace rtt::ai::interface { // these values are default initialized here, but will be updated once mainWidget.cpp constructs the PID widget. -pidVals Output::numTreePID = pidVals(0.0, 0.0, 0.0); -pidVals Output::receivePID = pidVals(0.0, 0.0, 0.0); -pidVals Output::interceptPID = pidVals(0.0, 0.0, 0.0); -pidVals Output::keeperPID = pidVals(0.0, 0.0, 0.0); -pidVals Output::keeperInterceptPID = pidVals(0.0, 0.0, 0.0); +pidVals Output::numTreePID = Constants::standardNumTreePID(); +pidVals Output::receivePID = Constants::standardReceivePID(); +pidVals Output::interceptPID = Constants::standardInterceptPID(); +pidVals Output::keeperPID = Constants::standardKeeperPID(); +pidVals Output::keeperInterceptPID = Constants::standardKeeperInterceptPID(); rtt::Vector2 Output::markerPosition = {0, 0}; // initialize on middle of the field bool Output::useRefereeCommands = false;