Skip to content

Commit 33820b6

Browse files
Update accelerometer implementation
1 parent 2b39aa7 commit 33820b6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

fission/src/systems/simulation/wpilib_brain/WPILibBrain.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ class WPILibBrain extends Brain {
577577
}
578578

579579
this.addSimInput(new SimGyroInput("Test Gyro[1]", this._mechanism))
580-
this.addSimInput(new SimAccelInput("ADXL362[4]", this._mechanism))
580+
this.addSimInput(new SimAccelInput("Test Accel[4]", this._mechanism))
581581
this.addSimInput(new SimDigitalInput("SYN DI[0]", () => random() > 0.5))
582582
this.addSimOutput(new SimDigitalOutput("SYN DO[1]"))
583583
this.addSimInput(new SimAnalogInput("SYN AI[0]", () => random() * 12))

simulation/SyntheSimJava/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ dependencies {
5454
implementation "edu.wpi.first.wpiutil:wpiutil-java:$WPI_Version"
5555
implementation "edu.wpi.first.hal:hal-java:$WPI_Version"
5656

57+
// NetworkTables
58+
implementation "edu.wpi.first.ntcore:ntcore-java:$WPI_Version"
59+
5760
// REVRobotics
5861
implementation "com.revrobotics.frc:REVLib-java:$REV_Version"
5962

0 commit comments

Comments
 (0)