driveToPoseCommand

fun driveToPoseCommand(targetPose: Pose2d): Command

Creates a command to drive to a specific pose using PathPlanner.

Return

A command that drives to the target pose.

Parameters

targetPose

The target pose to drive to.