Added telemetry monitoring and sample visualization Python script

This commit is contained in:
Daniel Lovell
2024-09-14 15:00:35 -07:00
parent 37c3e1c0a9
commit d152c8a559
8 changed files with 250 additions and 26 deletions

View File

@@ -36,9 +36,6 @@ public class Hydra70 : Missile {
}
public void SpawnSubmunitions() {
Debug.Log("Spawning submunitions");
// print the callstack
Debug.Log(new System.Diagnostics.StackTrace().ToString());
List<Missile> submunitions = new List<Missile>();
switch (_agentConfig.submunitions_config.agent_config.missile_type) {
case MissileType.MICROMISSILE:
@@ -50,7 +47,6 @@ public class Hydra70 : Missile {
convertedConfig.initial_state.velocity = GetComponent<Rigidbody>().velocity;
Missile submunition = SimManager.Instance.CreateMissile(convertedConfig);
submunitions.Add(submunition);
Debug.Log("Created submunition");
}
break;
}