AForge.Robotics.Surveyor.SRV1.ControlMotors C# (CSharp) Méthode

ControlMotors() public méthode

Control SRV-1 robot's motors using predefined commands.

Controlling SRV-1 motors with this method is only available after at least one direct motor command is sent, which is done using StopMotors or RunMotors methods.

public ControlMotors ( MotorCommand command ) : void
command MotorCommand Motor command to send to the SRV-1 Blackfin robot.
Résultat void
        public void ControlMotors( MotorCommand command )
        {
            Send( new byte[] { (byte) command } );
        }