Manipulation of Qwerk robotics board.
Namespace:
AForge.Robotics.TeRKAssembly: AForge.Robotics.TeRK (in AForge.Robotics.TeRK.dll) Version: 2.2.5.0 (2.2.5.0)
Syntax
C# |
---|
[ObsoleteAttribute("The class is deprecated.")] public class Qwerk |
Remarks
The class allows to manipulate with Qwerk robotics board developed by Charmed Labs and supported by TeRK project. Using this class it is possible to get access to different Qwerk's services, like digital inputs and outputs, motors and servos, analog inputs, on-board LEDs, video camera, etc.


Sample usage:

Qwerk qwerk = new Qwerk( ); // connect to Qwerk qwerk.Connect( "192.168.0.5" ); // turn off all on-board LEDs qwerk.GetLedsService( ).SetLedsState( Qwerk.LedState.Off ); // get digital output service Qwerk.DigitalOut outputs = qwerk.GetDigitalOutService( ); // set all digital outputs to disabled state outputs.SetOutputs( false ); // enable zero output outputs.SetOutput( 0, true ); // get state of all analog inputs short[] inputs = qwerk.GetAnalogInService( ).GetInputs( ); // get state of all digital inputs bool[] inputs = qwerk.GetDigitalInService( ).GetInputs( );