Click or drag to resize

IWinchControlmotorCurrentSpeed Property

Current speed of the motor spindle.

Namespace:  KASAPIv2
Assembly:  KAS-API-v2 (in KAS-API-v2.dll) Version: KAS API v2
Syntax
C#
float motorCurrentSpeed { get; }
Request Example View Source

Property Value

Type: Single
The speed in meters per second.
Remarks

This is the speed at which the cable is being extended or retracted at the current moment. The actual speed of the motor can differ from what was set via the control methods (e.g. SetMotor(Single)) due to there is some inertia momentum. Negative speed means the cable is being retracted, and the positive speed means the cable is being extended.

The motor speed is always trying to match the motorTargetSpeed. Depending on the part's implementation and settings, some time may be needed to actually have the match.

See Also