MotorConfig

@Serializable
data class MotorConfig(var name: String = "", var direction: DcMotorSimple.Direction = DcMotorSimple.Direction.FORWARD)

Constructors

Link copied to clipboard
constructor(name: String = "", direction: DcMotorSimple.Direction = DcMotorSimple.Direction.FORWARD)

Properties

Link copied to clipboard
var direction: DcMotorSimple.Direction
Link copied to clipboard

Functions

Link copied to clipboard
fun toDcMotor(hardwareMap: HardwareMap): DcMotor
Link copied to clipboard
fun toDcMotorEx(hardwareMap: HardwareMap): DcMotorEx