MotorGroup

class MotorGroup(val leader: MotorEx, val followers: MotorEx) : Controllable

A MotorGroup is a collection of MotorExs that are all controlled by a single encoder (connected to the leader motor)

Parameters

leader

the MotorEx with the encoder that will be used

followers

any other motors to control

Constructors

Link copied to clipboard
constructor(leaderName: String, vararg names: String)
constructor(leader: MotorEx, vararg followers: MotorEx)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override var currentPosition: Double
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var power: Double
Link copied to clipboard
open override var velocity: Double