Skip to main content

Interface IDCMotor

Interface describing DC motors.

Assembly: Meadow.Contracts.dll
View Source
Declaration
public interface IDCMotor

Properties

Speed

The speed of the motor from -1 to 1.

View Source
Declaration
[Obsolete("Deprecated, please use `Power`.")]
float Speed { get; set; }

Power

The power applied to the motor, as a percentage between -1.0 and 1.0.

View Source
Declaration
float Power { get; set; }

IsNeutral

When true, the wheels spin "freely"

View Source
Declaration
bool IsNeutral { get; set; }