lighting_msgs

Summary

lighting_msgs
Version:

0.1.1

Description:

The lighting_msgs package

Maintainers:
  • Alan Meekins <alan DOT meekins AT gmail DOT com>
Licenses:
  • BSD
Urls:
Authors:
  • Alan Meekins <alan DOT meekins AT gmail DOT com>
BuildDepends:
BuildtoolDepends:
 
BuildExportDepends:
 
ExecDepends:

Types

Message types

lighting_msgs/DmxDevice
Field:
string name             # Instance name
string desc_name        # Device description name
DmxAddress address      # Instance base DMX address
string[] fields         # Fields to set
DmxValue[] values       # Field values, must be same size as fields
lighting_msgs/DmxFrame
Field:
DmxValue[] values
DmxEasing[] easings
uint32 delayMs
uint32 durationMs
lighting_msgs/DmxStatus
Field:
  • frameRate (int16) –
  • command_count (int16) –
int16 frameRate
int16 command_count
lighting_msgs/DmxCommand
Constant:
  • DISPLAY (int8):0
  • PLAY (int8):1
  • STOP (int8):2
  • REMOVE (int8):3
  • STORE (int8):4
  • LOAD (int8):5
Field:
int8 DISPLAY=0     # Immediatly display frames, ignores name
int8 PLAY=1        # Start playback of named command
int8 STOP=2        # Stop playback of named command if supplied, stops all running commands if name is empty
int8 REMOVE=3      # Remove stored frame with supplied name. Empty name removes all stored frames
int8 STORE=4       # Store the supplied frames, non-empty name is required
int8 LOAD=5        # Load stored command from disk

int8 action
string name
DmxFrame[] layers
bool loop
string next
lighting_msgs/DmxValue
Field:
  • universe (uint32) –
  • offset (uint32) –
  • data[] (uint8) –
uint32 universe
uint32 offset
uint8[] data
lighting_msgs/DmxEasing
Field:
Constant:
  • Linear (uint8):0
  • InQuad (uint8):1
  • OutQuad (uint8):2
  • InOutQuad (uint8):3
  • OutInQuad (uint8):4
  • InCubic (uint8):5
  • OutCubic (uint8):6
  • InOutCubic (uint8):7
  • OutInCubic (uint8):8
  • InQuart (uint8):9
  • OutQuart (uint8):10
  • InOutQuart (uint8):11
  • OutInQuart (uint8):12
  • InQuint (uint8):13
  • OutQuint (uint8):14
  • InOutQuint (uint8):15
  • OutInQuint (uint8):16
  • InSine (uint8):17
  • OutSine (uint8):18
  • InOutSine (uint8):19
  • OutInSine (uint8):20
  • InExpo (uint8):21
  • OutExpo (uint8):22
  • InOutExpo (uint8):23
  • OutInExpo (uint8):24
  • InCirc (uint8):25
  • OutCirc (uint8):26
  • InOutCirc (uint8):27
  • OutInCirc (uint8):28
  • InElastic (uint8):29
  • OutElastic (uint8):30
  • InOutElastic (uint8):31
  • OutInElastic (uint8):32
  • InBack (uint8):33
  • OutBack (uint8):34
  • InOutBack (uint8):35
  • OutInBack (uint8):36
  • InBounce (uint8):37
  • OutBounce (uint8):38
  • InOutBounce (uint8):39
  • OutInBounce (uint8):40
  • Custom (uint8):45
DmxValue[] start
DmxValue[] end
uint32 delayMs
uint32 durationMs
uint8 curve

#Easing curve types
uint8 Linear = 0
uint8 InQuad = 1
uint8 OutQuad = 2
uint8 InOutQuad = 3
uint8 OutInQuad = 4
uint8 InCubic = 5
uint8 OutCubic = 6
uint8 InOutCubic = 7
uint8 OutInCubic = 8
uint8 InQuart = 9
uint8 OutQuart = 10
uint8 InOutQuart = 11
uint8 OutInQuart = 12
uint8 InQuint = 13
uint8 OutQuint = 14
uint8 InOutQuint = 15
uint8 OutInQuint = 16
uint8 InSine = 17
uint8 OutSine = 18
uint8 InOutSine = 19
uint8 OutInSine = 20
uint8 InExpo = 21
uint8 OutExpo = 22
uint8 InOutExpo = 23
uint8 OutInExpo = 24
uint8 InCirc = 25
uint8 OutCirc = 26
uint8 InOutCirc = 27
uint8 OutInCirc = 28
uint8 InElastic = 29
uint8 OutElastic = 30
uint8 InOutElastic = 31
uint8 OutInElastic = 32
uint8 InBack = 33
uint8 OutBack = 34
uint8 InOutBack = 35
uint8 OutInBack = 36
uint8 InBounce = 37
uint8 OutBounce = 38
uint8 InOutBounce = 39
uint8 OutInBounce = 40
uint8 Custom = 45
lighting_msgs/DmxAddress
Field:
  • universe (uint32) –
  • offset (uint32) –
uint32 universe
uint32 offset

Service types

lighting_msgs/create_dmx_device
Field (Request):
 
Field (Response):
 
  • error (string) –
DmxDevice device
---
string error
lighting_msgs/device_list
Field (Response):
 
---
DmxDevice[] devices
lighting_msgs/dmx_command
Field (Request):
 
DmxCommand command
---
lighting_msgs/set_pixelmap
Field (Request):
 
  • device_name (string) –
  • mapping (string) –
Field (Response):
 
  • topic (string) –
  • error (string) –
string device_name
string mapping
---
string topic
string error