Package com.choreo.lib
Interface ChoreoControlFunction
-
- All Superinterfaces:
BiFunction<Pose2d,ChoreoTrajectoryState,ChassisSpeeds>
public interface ChoreoControlFunction extends BiFunction<Pose2d,ChoreoTrajectoryState,ChassisSpeeds>
This interface exists as a type alias. A ChoreoControlFunction has signature (Pose2d currentPose, ChoreoTrajectoryState referenceState)->ChassisSpeeds, where the function returns robot-relative ChassisSpeeds for the robot.
-
-
Method Summary
-
Methods inherited from interface java.util.function.BiFunction
andThen, apply
-
-