Flywheel

class Flywheel(hardwareMap: HardwareMap, motorName: String = Constants.HardwareNames.FLYWHEEL) : HardwareComponent

Constructors

Link copied to clipboard
constructor(hardwareMap: HardwareMap, motorName: String = Constants.HardwareNames.FLYWHEEL)

Properties

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

Functions

Link copied to clipboard
fun estimateVelocity(targetDistance: Double, targetHeight: Double): Double
fun estimateVelocity(pose: Pose, target: Pose, targetHeight: Double): Double
Link copied to clipboard
open override fun init()
Link copied to clipboard
open override fun update()