Package-level declarations

Types

Link copied to clipboard
abstract class Attachment(val name: String)

Base class for all attachments in the robot system.

Link copied to clipboard
sealed interface AttachmentState

Represents the state of an attachment.

Link copied to clipboard
open class CRServoAttachment(name: String, crServo: CRServo, direction: DcMotorSimple.Direction = DcMotorSimple.Direction.FORWARD) : Attachment

CRServoAttachment is an Attachment that controls a crServo.

Link copied to clipboard
open class CRServoWithPotentiometerAttachment(name: String, crServo: CRServo, potentiometer: AnalogInput, direction: DcMotorSimple.Direction) : CRServoAttachment
Link copied to clipboard
open class DcMotorAttachment(name: String, motor: DcMotor, idlePower: Double, maxPosition: Int, minPosition: Int = 0, direction: DcMotorSimple.Direction = DcMotorSimple.Direction.FORWARD) : Attachment

DcMotorAttachment is an Attachment that controls a motor.

Link copied to clipboard
open class ServoAttachment(name: String, servo: Servo, val direction: Servo.Direction = Servo.Direction.FORWARD) : Attachment

ServoAttachment is an Attachment that controls a servo.