Turret

class Turret(hardwareMap: HardwareMap, motorName: String = Constants.HardwareNames.TURRET_MOTOR, motorRange: Pair<Double, Double> = -3 * PI / 2 to PI / 2) : HardwareComponent

Constructors

Link copied to clipboard
constructor(hardwareMap: HardwareMap, motorName: String = Constants.HardwareNames.TURRET_MOTOR, motorRange: Pair<Double, Double> = -3 * PI / 2 to PI / 2)

Types

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val name: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun autoTrack(pose: Pose, target: Pose)
Link copied to clipboard
fun gotoAngle(angle: Double, power: Double = 0.75)
Link copied to clipboard
open override fun init()
Link copied to clipboard
fun resetMotorPosition(resetTicks: Int = 0)
Link copied to clipboard
open fun update()