MotionSolverTimeToAttainMaxSpeed Method |
Determines the time to attain the maximum speed in the target direction given the
specified motion profile.
Namespace: Demo3D.VisualsAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntaxpublic static double TimeToAttainMaxSpeed(
MotorDirection targetDirection,
MotionProfile profile,
List<MotionEvent> events
)
Parameters
- targetDirection MotorDirection
- The target direction.
- profile MotionProfile
- The motion profile.
- events ListMotionEvent
- The list of motion events, which is to be populated.
Return Value
DoubleThe time to attain the signed target speed.
See Also