KMPServo
class KMPServo @JvmOverloads constructor( name: String, constraints: MotionConstraints, epsilon: Double = 0.01) : KDevice<Servo> , Periodic
Content copied to clipboard
Motion profiled servo. Follows a position curve generated by MotionProfile.generateTrapezoidal
Parameters
name
hardware configuration name
constraints
motion constraints that generate the profile
epsilon
allowed error when the servo will stop moving
Constructors
Link copied to clipboard
fun KMPServo( name: String, constraints: MotionConstraints, epsilon: Double = 0.01)
Content copied to clipboard