From d4689c16166d6c9a43148f3f51f3ba4938a2ab05 Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Mon, 28 Apr 2014 23:36:07 +0400 Subject: [PATCH] Hardpoint DSDL types --- dsdl/uavcan/equipment/hardpoint/700.Command.uavcan | 7 +++++++ dsdl/uavcan/equipment/hardpoint/701.Status.uavcan | 9 +++++++++ 2 files changed, 16 insertions(+) create mode 100644 dsdl/uavcan/equipment/hardpoint/700.Command.uavcan create mode 100644 dsdl/uavcan/equipment/hardpoint/701.Status.uavcan diff --git a/dsdl/uavcan/equipment/hardpoint/700.Command.uavcan b/dsdl/uavcan/equipment/hardpoint/700.Command.uavcan new file mode 100644 index 0000000000..aaa9ef0251 --- /dev/null +++ b/dsdl/uavcan/equipment/hardpoint/700.Command.uavcan @@ -0,0 +1,7 @@ +# +# Generic cargo holder/hardpoint command. +# If multiple holders are present and each of them must be controlled separately, unicast transfers should be used. +# + +# May be interpreted as a binary command (0 - release, 1+ - hold) or bitmask +uint16 command diff --git a/dsdl/uavcan/equipment/hardpoint/701.Status.uavcan b/dsdl/uavcan/equipment/hardpoint/701.Status.uavcan new file mode 100644 index 0000000000..a40c71e9a1 --- /dev/null +++ b/dsdl/uavcan/equipment/hardpoint/701.Status.uavcan @@ -0,0 +1,9 @@ +# +# Generic cargo holder/hardpoint status. +# + +float16 cargo_weight # Newton +float16 cargo_weight_variance # Negative if not equipped for weight measurement + +# Meaning is the same as for command field in the Command message +uint16 status