Skip to main content

Interface IContinuousRotationServo

Continuous rotation servo abstraction

Assembly: ServoCore.dll
View Source
public interface IContinuousRotationServo : IServo

Properties

CurrentDirection

Current direction

View Source
RotationDirection CurrentDirection { get; }

CurrentSpeed

Current servo speed

View Source
float CurrentSpeed { get; }

Methods

Rotate(RotationDirection, float)

Rotate to a direction

View Source
void Rotate(RotationDirection direction, float speed)
Parameters
TypeNameDescription
Meadow.Foundation.Servos.RotationDirectiondirectionThe direction
System.SinglespeedThe rotation speed

Stop()

Stop movement

View Source
void Stop()