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: 15.0.2.11458
Syntax
C#
public void SetTargetVelocity(
	double value,
	double time
)

Parameters

value
Type: SystemDouble
The new value for the (signed) target velocity.
time
Type: SystemDouble
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