Méthode | Description | |
---|---|---|
MotorState ( ) : System |
Initializes a new instance of the MotorState class.
|
|
MotorState ( int power, int turnRatio, MotorMode mode, MotorRegulationMode regulation, MotorRunState runState, int tachoLimit ) : System |
Initializes a new instance of the MotorState class.
|
public MotorState ( int power, int turnRatio, MotorMode mode, MotorRegulationMode regulation, MotorRunState runState, int tachoLimit ) : System | ||
power | int | Power, [-100, 100]. |
turnRatio | int | Turn ratio, [-100, 100]. |
mode | MotorMode | Mode (bit field). |
regulation | MotorRegulationMode | Regulation mode. |
runState | MotorRunState | Run state. |
tachoLimit | int | The value determines motor's run limit. |
Résultat | System |