GoToPosition

class GoToPosition(val swerveAuto: SwerveAuto, desiredPosition: FieldPosition, val desiredVelocity: Vector2 = Vector2(0.0, 0.0)) : CommandBase

Constructors

Link copied to clipboard
constructor(swerveAuto: SwerveAuto, pos: Vector2, desiredEndVelocity: Vector2 = Vector2(0.0, 0.0))
constructor(swerveAuto: SwerveAuto, desiredPosition: FieldPosition, desiredVelocity: Vector2 = Vector2(0.0, 0.0))

Functions

Link copied to clipboard
fun addRequirements(vararg p0: Subsystem)
Link copied to clipboard
open fun alongWith(vararg p0: Command): ParallelCommandGroup
Link copied to clipboard
open fun andThen(vararg p0: Command): SequentialCommandGroup
open fun andThen(p0: Runnable, vararg p1: Subsystem): SequentialCommandGroup
Link copied to clipboard
open fun asProxy(): ProxyCommand
Link copied to clipboard
open fun beforeStarting(p0: Command): SequentialCommandGroup
open fun beforeStarting(p0: Runnable, vararg p1: Subsystem): SequentialCommandGroup
Link copied to clipboard
open fun cancel()
Link copied to clipboard
open fun deadlineWith(vararg p0: Command): ParallelDeadlineGroup
Link copied to clipboard
open override fun end(int: Boolean)
Link copied to clipboard
open override fun execute()
Link copied to clipboard
open fun finallyDo(p0: BooleanConsumer): WrapperCommand
Link copied to clipboard
open fun getInterruptionBehavior(): Command.InterruptionBehavior
Link copied to clipboard
open override fun getName(): String
Link copied to clipboard
open override fun getRequirements(): MutableSet<Subsystem>
Link copied to clipboard
open fun getSubsystem(): String
Link copied to clipboard
open fun handleInterrupt(p0: Runnable): WrapperCommand
Link copied to clipboard
open fun hasRequirement(p0: Subsystem): Boolean
Link copied to clipboard
open fun ignoringDisable(p0: Boolean): WrapperCommand
Link copied to clipboard
open override fun initialize()
Link copied to clipboard
open override fun initSendable(p0: SendableBuilder)
Link copied to clipboard
open override fun isFinished(): Boolean
Link copied to clipboard
open fun isScheduled(): Boolean
Link copied to clipboard
open fun perpetually(): PerpetualCommand
Link copied to clipboard
open fun raceWith(vararg p0: Command): ParallelRaceGroup
Link copied to clipboard
open fun repeatedly(): RepeatCommand
Link copied to clipboard
Link copied to clipboard
open fun schedule()
Link copied to clipboard
open override fun setName(p0: String)
Link copied to clipboard
open fun setSubsystem(p0: String)
Link copied to clipboard
open fun unless(p0: BooleanSupplier): ConditionalCommand
Link copied to clipboard
open fun until(p0: BooleanSupplier): ParallelRaceGroup
Link copied to clipboard
open fun withInterrupt(p0: BooleanSupplier): ParallelRaceGroup
Link copied to clipboard
open fun withInterruptBehavior(p0: Command.InterruptionBehavior): WrapperCommand
Link copied to clipboard
open fun withName(p0: String): WrapperCommand
Link copied to clipboard
open fun withTimeout(p0: Double): ParallelRaceGroup

Properties

Link copied to clipboard
Link copied to clipboard