Skip to content

Commit

Permalink
hopefully working math and controls (#17)
Browse files Browse the repository at this point in the history
* Update settings.gradle

forgot to import controls

* attempt 1

* ??? unsure what is broken, currently copying in entire wpilibinterface gradle to math

* thank you coach justin!

* attempt 2 package

* moving controls build, still not working

* copied wpiinterface build into math

* wip

* removed BuildConstants in math (it wasn't being used, sorry i forgot to delete it!)
  • Loading branch information
minhnguyenbhs authored Sep 4, 2024
1 parent 7ee8602 commit c3779a0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
File renamed without changes.
4 changes: 3 additions & 1 deletion controls/src/main/java/Tunable.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package coppercore.controls;

public interface Tunable {
public double getPosition(int slot);

Expand All @@ -14,4 +16,4 @@ public interface Tunable {
public void setMaxProfileProperties(double maxVelocity, double maxAcceleration, int slot);

public void runToPosition(double position, int slot);
}
}
2 changes: 2 additions & 0 deletions math/src/main/java/InterpolateDouble.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package coppercore.math;

import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ plugins {
}

rootProject.name = 'coppercore'
include('geometry', 'wpi_interface', 'math')
include('geometry', 'wpi_interface', 'math', 'controls')

0 comments on commit c3779a0

Please sign in to comment.