Click or drag to resize

MotorAspectSetPositionVelocity Method

Sets the current position and velocity of the motor, subject to position limits.

Namespace:  Demo3D.Visuals.Motor
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 18.03.00
Syntax
C#
public void SetPositionVelocity(
	double position,
	double velocity
)

Parameters

position
Type: SystemDouble
The (signed) position for the motor.
velocity
Type: SystemDouble
The (signed) velocity for the motor.
Remarks
Note that the position of the motor cannot be locked. This function should be used cautiously, since it is not lockable and some components may assume that changes in the position obey the kinematics of the motor.
See Also