mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-30 18:13:33 +08:00
DSDL messages in uavcan.equpment.*
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
#
|
||||
# Nodes that are capable of making noise (e.g. ESC) should obey.
|
||||
# Use case: pre-arm warning sound, error indication.
|
||||
#
|
||||
|
||||
float16 frequency # Hz
|
||||
float16 duration # Sec
|
||||
@@ -0,0 +1,5 @@
|
||||
#
|
||||
# Lights control command.
|
||||
#
|
||||
|
||||
SingleLightCommand[<=32] commands
|
||||
@@ -0,0 +1,9 @@
|
||||
#
|
||||
# Nested type.
|
||||
# RGB color in 5-6-5 16-bit palette.
|
||||
# Monocolor lights should interpret this as brightness setpoint: from zero (0, 0, 0) to full brightness (31, 63, 31).
|
||||
#
|
||||
|
||||
uint5 red
|
||||
uint6 green
|
||||
uint5 blue
|
||||
@@ -0,0 +1,8 @@
|
||||
#
|
||||
# Nested type.
|
||||
# Controls single light source, color of monochrome.
|
||||
#
|
||||
|
||||
uint8 light_id
|
||||
|
||||
RGB565 color # Monocolor lights should interpret this as brightness
|
||||
Reference in New Issue
Block a user