Skip to content

Commit

Permalink
Fixed the brain
Browse files Browse the repository at this point in the history
  • Loading branch information
HunterBarclay committed Jul 27, 2024
1 parent 13ae57d commit e9fa957
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fission/src/mirabuf/MirabufSceneObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e9fa957

Please sign in to comment.