Manual Swerve Drive
controller
is a frc::XboxController
object
config
is a wom::SwerveBaseConfig
object (docs here)
XDrivebase
config
is a SwerveBaseConfig
object (docs here)
Follow Trajectory
config
is a SwerveBaseConfig
object (docs here)
path/to/trajectory.json
is the path to the trajectory file relative to the deploy directory
pathPlanner
is a wom::PathPlanner
object (docs here)
Simulated Swerve Drive
Methods
SetPath
Sets the path to follow
path
is the path to the trajectory file relative to the deploy directory
GetPose
Gets the pose of the robot
GetPose2d
Gets the pose of the robot (in 2d)