Skip to content

Commit

Permalink
Fix capitalization errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Shom770 committed Jan 20, 2024
1 parent a50122c commit 22c4d20
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/kotlin/org/team4099/lib/units/derived/Controller.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package org.team4099.lib.units.derived
import org.team4099.lib.units.Fraction
import org.team4099.lib.units.Product
import org.team4099.lib.units.UnitKey
import org.team4099.lib.units.Unitless
import org.team4099.lib.units.Value
import org.team4099.lib.units.Velocity
import org.team4099.lib.units.base.Ampere
Expand Down Expand Up @@ -256,7 +255,7 @@ inline val DerivativeGain<Velocity<Radian>, Ampere>.inAmpsPerRotationsPerMinuteP
get() = inAmpsPerRadiansPerSecondPerSecond / SECONDS_PER_MINUTE * RADIANS_PER_ROTATION


inline val Double.RadiansPerSecondPerRadiansPerSecond
inline val Double.radiansPerSecondPerRadiansPerSecond
get() = Value<Fraction<Velocity<Radian>, Velocity<Radian>>>(this)

inline val ProportionalGain<Meter, Velocity<Radian>>.inRadiansPerSecondPerMeter: Double
Expand Down Expand Up @@ -347,7 +346,7 @@ inline val DerivativeGain<Velocity<Radian>, Velocity<Radian>>.inRadiansPerSecond
get() = inRadiansPerSecondPerRadiansPerSecondPerSecond / SECONDS_PER_MINUTE * RADIANS_PER_ROTATION


inline val Double.MetersPerSecondPerMetersPerSecond
inline val Double.metersPerSecondPerMetersPerSecond
get() = Value<Fraction<Velocity<Meter>, Velocity<Meter>>>(this)

inline val ProportionalGain<Meter, Velocity<Meter>>.inMetersPerSecondPerMeter: Double
Expand Down

0 comments on commit 22c4d20

Please sign in to comment.