From e3db984b59bdcd0001f566d76bb2cf35a3999683 Mon Sep 17 00:00:00 2001 From: mginoya Date: Sun, 11 Feb 2024 10:38:58 -0500 Subject: [PATCH] custom numeric data in xml is no longer a part of scene but rather agent --- alfredo/agents/A1/a1.xml | 14 ++++++++++++++ alfredo/agents/aant/aant.py | 2 +- alfredo/agents/aant/aant.xml | 14 ++++++++++++++ alfredo/scenes/flatworld/flatworld_A1_env.xml | 14 -------------- alfredo/tools/tXMLCompose.py | 3 +++ 5 files changed, 32 insertions(+), 15 deletions(-) diff --git a/alfredo/agents/A1/a1.xml b/alfredo/agents/A1/a1.xml index 3614f37..5cae861 100644 --- a/alfredo/agents/A1/a1.xml +++ b/alfredo/agents/A1/a1.xml @@ -1,5 +1,19 @@ + + + + + + + + + + + + + + diff --git a/alfredo/agents/aant/aant.py b/alfredo/agents/aant/aant.py index c911987..b6dac1a 100644 --- a/alfredo/agents/aant/aant.py +++ b/alfredo/agents/aant/aant.py @@ -57,7 +57,7 @@ def __init__(self, super().__init__(sys=sys, backend=backend, **kwargs) - print(sys) + print(self.sys.init_q) self._ctrl_cost_weight = ctrl_cost_weight self._use_contact_forces = use_contact_forces diff --git a/alfredo/agents/aant/aant.xml b/alfredo/agents/aant/aant.xml index 3864f6c..b35b3f2 100644 --- a/alfredo/agents/aant/aant.xml +++ b/alfredo/agents/aant/aant.xml @@ -1,5 +1,19 @@ + + + + + + + + + + + + + + diff --git a/alfredo/scenes/flatworld/flatworld_A1_env.xml b/alfredo/scenes/flatworld/flatworld_A1_env.xml index 0269e26..ef9dd55 100644 --- a/alfredo/scenes/flatworld/flatworld_A1_env.xml +++ b/alfredo/scenes/flatworld/flatworld_A1_env.xml @@ -10,20 +10,6 @@