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: 18.03.00
Syntaxpublic 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:
DoubleThe time to attain the signed target speed.
See Also