Click or drag to resize

MotionSolverTimeToAttainMaxSpeed Method

Determines the time to attain the maximum speed in the target direction given the specified motion profile.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public static double TimeToAttainMaxSpeed(
	MotorDirection targetDirection,
	MotionProfile profile,
	List<MotionEvent> events
)

Parameters

targetDirection
Type: Demo3D.VisualsMotorDirection
The target direction.
profile
Type: Demo3D.VisualsMotionProfile
The motion profile.
events
Type: System.Collections.GenericListMotionEvent
The list of motion events, which is to be populated.

Return Value

Type: Double
The time to attain the signed target speed.
See Also