Package com.ctre.phoenix6.swerve.utility
Class WheelForceCalculator.Feedforwards
java.lang.Object
com.ctre.phoenix6.swerve.utility.WheelForceCalculator.Feedforwards
- Enclosing class:
- WheelForceCalculator
Wheel force feedforwards to apply to a swerve drivetrain.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFeedforwards(int numModules) Constructs a new set of wheel force feedforwards. -
Method Summary
-
Field Details
-
x_newtons
The X component of the forces in Newtons. -
y_newtons
The Y component of the forces in Newtons.
-
-
Constructor Details
-
Feedforwards
Constructs a new set of wheel force feedforwards.- Parameters:
numModules- The number of swerve modules
-