mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[wpimath] Make ExponentialProfile.State mutable (#6138)
It was already mutable in the C++ ExponentialProfile and TrapezoidProfile in both languages.
This commit is contained in:
@@ -113,9 +113,11 @@ public class ExponentialProfile {
|
||||
}
|
||||
|
||||
public static class State {
|
||||
public final double position;
|
||||
public double position;
|
||||
|
||||
public final double velocity;
|
||||
public double velocity;
|
||||
|
||||
public State() {}
|
||||
|
||||
/**
|
||||
* Construct a state within an exponential profile.
|
||||
|
||||
Reference in New Issue
Block a user