Companion

object Companion

Functions

Link copied to clipboard
fun withLimelight(swerveDrive: SwerveDrive, limelight: LimeModule, translationSpeed: () -> Double = { 0.0 }, strafeSpeed: () -> Double = { 0.0 }): AlignToTarget

Creates an AlignToTarget command using a Limelight.

Link copied to clipboard
fun withPhoton(swerveDrive: SwerveDrive, photonModule: PhotonModule, translationSpeed: () -> Double = { 0.0 }, strafeSpeed: () -> Double = { 0.0 }): AlignToTarget

Creates an AlignToTarget command using a PhotonVision camera.