From d219411d670268ebb05b83136e2d90a514fbf340 Mon Sep 17 00:00:00 2001
From: rachelmoan <moanrachel516@gmail.com>
Date: Sun, 5 Jan 2025 14:20:38 -0600
Subject: [PATCH] move optimizer into controllers folder

---
 guided_mrmp/controllers/mpc.py             | 2 +-
 guided_mrmp/controllers/multi_mpc.py       | 2 +-
 guided_mrmp/{ => controllers}/optimizer.py | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename guided_mrmp/{ => controllers}/optimizer.py (100%)

diff --git a/guided_mrmp/controllers/mpc.py b/guided_mrmp/controllers/mpc.py
index 91edd90..e9d5cb9 100644
--- a/guided_mrmp/controllers/mpc.py
+++ b/guided_mrmp/controllers/mpc.py
@@ -1,6 +1,6 @@
 import numpy as np
 import casadi as ca
-from guided_mrmp.optimizer import Optimizer
+from guided_mrmp.controllers.optimizer import Optimizer
 
 class MPC:
     def __init__(self, model, T, DT, state_cost, final_state_cost, input_cost, input_rate_cost, settings):
diff --git a/guided_mrmp/controllers/multi_mpc.py b/guided_mrmp/controllers/multi_mpc.py
index 2df9829..f589655 100644
--- a/guided_mrmp/controllers/multi_mpc.py
+++ b/guided_mrmp/controllers/multi_mpc.py
@@ -1,6 +1,6 @@
 import numpy as np
 import casadi as ca
-from guided_mrmp.optimizer import Optimizer
+from guided_mrmp.controllers.optimizer import Optimizer
 
 np.seterr(divide="ignore", invalid="ignore")
 
diff --git a/guided_mrmp/optimizer.py b/guided_mrmp/controllers/optimizer.py
similarity index 100%
rename from guided_mrmp/optimizer.py
rename to guided_mrmp/controllers/optimizer.py
-- 
GitLab