forked from heronarts/LXStudio-P4
-
Notifications
You must be signed in to change notification settings - Fork 0
Motor Control
Trip Vest edited this page May 22, 2018
·
2 revisions
Motor controllers will (likely) be configured to accept simply desired position from LX. The motor controller control algorithms will handle:
- Homing upon startup
- Protection from catastrophic failure
- Some level of smoothing and damping to produce aesthetic motor movements
0-255 Byte
0 = Home Position = Bloom totally folded (for protection against wind upon startup )
255 = Bloom totally open
For a given hub:
Universe 16
Channel 1 = Byte for Desired Absolute Linear Position
- Each bloom will be modeled as a dummy RGBA pixel in LX.
- The desired position state will be stored in the RED byte.
- LX will load the Desired Position data into Universe 16, Channel 1 of the SACNDatagram of the corresponding PixLite.
- LX will output this information every frame, likely at 60 frames / second.
PixLite will be configured to pass through Universe 16, Channel 1 to its physical DMX Output.
[INSERT IMAGE ADVATEK CONFIGURATION]
The Motor Controller will be attached to the PixLite's physical DMX Output. It's control firmware will use the byte at Universe 16, Channel 1 to drive the motor to the desired position.
The actuation distance is roughly 32", giving about 1/8" control resolution.