Pusher

class Pusher(servo: Servo) : ServoAttachment

Pusher is a ServoAttachment that controls a servo used to push artifacts into the launcher.

Parameters

servo

The servo used for pushing artifacts

Constructors

Link copied to clipboard
constructor(servo: Servo)

Properties

Link copied to clipboard
val direction: Servo.Direction
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val state: StateFlow<AttachmentState>

Functions

Link copied to clipboard
fun goTo(target: ServoPosition): Action
fun goTo(target: Double): Action
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun push(): Action

Pushes an artifact into the launcher.

Link copied to clipboard
Link copied to clipboard
fun retract(): Action

Retracts the pusher.

Link copied to clipboard
open fun stop()
Link copied to clipboard
context(telemetry: Telemetry)
open override fun update()