Set motor's tilt value.
Namespace:
AForge.Video.KinectAssembly: AForge.Video.Kinect (in AForge.Video.Kinect.dll) Version: 2.2.4.0 (2.2.4.0)
Syntax
C# |
---|
public void SetMotorTilt( int angle ) |
Parameters
- angle
- Type: System..::.Int32
Tilt value to set, [-31, 30] degrees.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentOutOfRangeException | Motor tilt has to be in the [-31, 31] range. |
AForge..::.DeviceErrorException | Some error occurred with the device. Check error message. |