Class in Zendir.Classes | Inherits from Message
Declaration
class MotorMessage;Description
The Motor message contains information about the motor’s operating state, including speed, torque, current, voltage, and back-EMF values.
Properties
| Declared | Description |
|---|---|
| BackEmf | The back-EMF voltage generated by the motor |
| Current | The armature current flowing through the motor |
| Enabled | A flag for whether this motor is enabled.If false, the motor is bypassed. |
| Speed | The motor speed in radians per second |
| TorqueElectromagnetic | The electromagnetic torque produced by the motor (T_e = Kt * i) |
| TorqueShaft | The shaft torque available after friction losses |
| Voltage | The voltage across the motor terminals |