Click or drag to resize

VariableSpeedMotorSetTargetVelocity Method

Sets the target velocity to the specified value at the specified time.

Namespace: Demo3D.Visuals.Motor
Assembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntax
C#
public void SetTargetVelocity(
	double value,
	double time
)

Parameters

value  Double
The new value for the (signed) target velocity.
time  Double
The time at which the target velocity is changed.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException Thrown if the time specified is earlier than the current time on the motor.
Remarks
This method advances the time on the motor.
See Also