Skip to content

Commit

Permalink
New attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
luca7084 committed Jul 21, 2023
1 parent b5e6046 commit 1f68ae7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 2 deletions.
Binary file modified rocket_twin/systems/control/controller/controller.fmu
Binary file not shown.
2 changes: 0 additions & 2 deletions rocket_twin/systems/control/controller_fmu.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import os
import time

from cosapp.base import System
from cosapp_fmu.FMUsystem import FMUSystem
Expand Down Expand Up @@ -79,7 +78,6 @@ def create_fmu(self, model_path, model_name):
os.chdir(fmu_path)
mod = ModelicaSystem(model_path, model_name)
fmu = mod.convertMo2Fmu()
time.sleep(20.0)
for filename in os.listdir(fmu_path):
if filename != (model_name + ".fmu"):
os.remove(filename)
Expand Down
Binary file not shown.

0 comments on commit 1f68ae7

Please sign in to comment.