Skip to main content

Interface IAngularServo

Represents an angular servo interface, extending the basic servo interface with additional properties and methods for controlling angular position.

Assembly: Meadow.Contracts.dll​
View Source​
Declaration
public interface IAngularServo : IServo

Properties​

Angle​

Gets the current angle of the servo.

View Source​
Declaration
Angle Angle { get; }

MinimumAngle​

Gets the minimum angle that the servo can rotate to.

View Source​
Declaration
Angle MinimumAngle { get; }

MaximumAngle​

Gets the maximum angle that the servo can rotate to.

View Source​
Declaration
Angle MaximumAngle { get; }

Methods​

RotateTo(Angle)​

Rotates the servo to the specified angle.

View Source​
Declaration
void RotateTo(Angle angle)
Parameters​
TypeNameDescription
Meadow.Units.AngleangleThe target angle to rotate to.