Class DCMotor
The role of this class is to emulate an axial DC Motor rotating on the Y axis (Up vector).
Implements
Inherited Members
NodeRuntime._parent
NodeRuntime._portList
NodeRuntime._queryPath
NodeRuntime._tickCPUTimeNs
NodeRuntime.Initialize(SystemGraphComponent)
NodeRuntime.Disable()
NodeRuntime.FixedUpdate()
NodeRuntime.InitializeDynamicPorts(SystemGraphComponent)
Namespace: Mechatronics.SensorSDK
Assembly: solution.dll
Syntax
[NodeCategory("Actuator", "DC Motor", NodeTick.Synchronous, (LifeCycle)0, 0, NodeMode.Standard, false)]
public class DCMotor : NodeRuntime, ITrajectoryGenerator
Fields
| Name | Description |
|---|---|
| angularDistance | |
| cw | |
| enable | |
| maxRPM | |
| objectToMoveBinding | A binding to the game object moved by the motor. |
| speedVariation | |
| timeConstant | |
| turnTime | |
| velocity |
Properties
| Name | Description |
|---|---|
| ObjectToMove | The game object moved by the motor. |
| suggestedTrajectoryCount | The suggested minimum number of points along the trajectory for accurate simulation. Must be at least as big as Trajectory.minTrajectoryCount. |
Methods
| Name | Description |
|---|---|
| ComposeTrajectory(Pose, Pose, float, List<Pose>) | Modifies the given ancestor trajectory by composing its own trajectory, evaluated uniformly in time. |
| Enable(ClockState) | Reset internal timers. |
| OnTick(double, double, ClockState, Signal) | Apply the DC Motor model. |