align

public final static AlignSwerve align(Direction dir)

Creates an AlignSwerve command to align the robot in a specified direction.

Return

An AlignSwerve command that aligns the robot.

Parameters

dir

The direction in which to align the robot.