From e9fa95721684e2f9a2caca9a0b1c9f1171aa9ed4 Mon Sep 17 00:00:00 2001 From: KyroVibe Date: Sat, 27 Jul 2024 02:06:55 -0600 Subject: [PATCH] Fixed the brain --- fission/src/mirabuf/MirabufSceneObject.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fission/src/mirabuf/MirabufSceneObject.ts b/fission/src/mirabuf/MirabufSceneObject.ts index 8af80e2cf4..2804f3ae1b 100644 --- a/fission/src/mirabuf/MirabufSceneObject.ts +++ b/fission/src/mirabuf/MirabufSceneObject.ts @@ -17,7 +17,6 @@ import { MiraType } from "./MirabufLoader" import IntakeSensorSceneObject from "./IntakeSensorSceneObject" import EjectableSceneObject from "./EjectableSceneObject" import Brain from "@/systems/simulation/Brain" -import WPILibBrain from "@/systems/simulation/wpilib_brain/WPILibBrain" import ScoringZoneSceneObject from "./ScoringZoneSceneObject" import { SceneOverlayTag } from "@/ui/components/SceneOverlayEvents" import { ProgressHandle } from "@/ui/components/ProgressNotificationData" @@ -153,7 +152,7 @@ class MirabufSceneObject extends SceneObject { // Simulation World.SimulationSystem.RegisterMechanism(this._mechanism) const simLayer = World.SimulationSystem.GetSimulationLayer(this._mechanism)! - this._brain = new WPILibBrain(this._mechanism) + this._brain = new SynthesisBrain(this._mechanism, this._assemblyName) simLayer.SetBrain(this._brain) // Intake