Interface IContinuousRotationServo
Continuous rotation servo abstraction
Assembly: ServoCore.dll
View Source
Declaration
public interface IContinuousRotationServo : IServo
Properties
CurrentDirection
Current direction
View Source
Declaration
RotationDirection CurrentDirection { get; }
CurrentSpeed
Current servo speed
View Source
Declaration
float CurrentSpeed { get; }
Methods
Rotate(RotationDirection, float)
Rotate to a direction
View Source
Declaration
void Rotate(RotationDirection direction, float speed)
Parameters
Type | Name | Description |
---|---|---|
Meadow.Foundation.Servos.RotationDirection | direction | The direction |
System.Single | speed | The rotation speed |
Stop()
Stop movement
View Source
Declaration
void Stop()