Click or drag to resize

VariableSpeedMotor Class

A simple motor with basic variable speed control.
Inheritance Hierarchy
SystemObject
  Demo3D.Visuals.MotorVariableSpeedMotor

Namespace:  Demo3D.Visuals.Motor
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public sealed class VariableSpeedMotor

The VariableSpeedMotor type exposes the following members.

Constructors
  NameDescription
Public methodVariableSpeedMotor
Initializes a new instance of the VariableSpeedMotor class
Top
Properties
  NameDescription
Public propertyApplyInitialStateOnReset
Whether the InitialState (as configured) should be applied on reset.
Public propertyInitialState
The initial state, which is applied on reset if ApplyInitialStateOnReset is set to true.
Public propertyMaxAcceleration
The (unsigned) maximum acceleration.
Public propertyMaxDeceleration
The (unsigned) maximum deceleration.
Public propertyMaxPosition
The (signed) maximum position.
Public propertyMinPosition
The (signed) minimum position.
Public propertyTargetVelocity
The (signed) target velocity.
Top
Methods
  NameDescription
Public methodEvaluate
The state of the motor at the specified time.
Public methodInitialize
Applies the initialization state if specified.
Public methodReset
Resets the motor.
Public methodSetMaxAcceleration
Sets the maximum acceleration to the specified value at the specified time.
Public methodSetMaxDeceleration
Sets the maximum deceleration to the specified value at the specified time.
Public methodSetMaxPosition
Sets the maximum position to the specified value at the specified time.
Public methodSetMinPosition
Sets the minimum position to the specified value at the specified time.
Public methodSetPosition
Sets the position to the specified value at the specified time.
Public methodSetTargetVelocity
Sets the target velocity to the specified value at the specified time.
Top
Remarks
The motor doesn't expose any IO and is intended to be controlled by a controller. It is the controller that should expose any necessary IO for the purpose of controlling the motor.
See Also