Méthode | Description | |
---|---|---|
Motors ( AForge.Robotics.TeRK.Qwerk qwerk ) |
Initializes a new instance of the Qwerk.Motors class.
|
|
SetMotorVelocity ( int motor, int velocity ) : void |
Set velocity of specified motor. The method sets specified motor's velocity, which is measured in ticks per second. "Ticks" is a made-up term, which does not depend on specific motor, but is an unknown in distance and rotation (see Qwerk documentation for details). |
|
StopMotor ( int motor ) : void |
Stop specified motor.
|
|
StopMotors ( ) : void |
Stop all motors.
|
Méthode | Description | |
---|---|---|
CreateCommand ( ) : TeRK.MotorCommand | ||
ExecuteCommand ( TeRK command ) : void |
public Motors ( AForge.Robotics.TeRK.Qwerk qwerk ) | ||
qwerk | AForge.Robotics.TeRK.Qwerk | Reference to |
public SetMotorVelocity ( int motor, int velocity ) : void | ||
motor | int | Motor to set velocity for, [0, |
velocity | int | Velocity to set. |
Résultat | void |
public StopMotor ( int motor ) : void | ||
motor | int | Motor to stop, [0, |
Résultat | void |