From 1c52527f97d0607d15815c41881dad9aa662f794 Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Tue, 12 May 2015 12:29:15 +0300 Subject: [PATCH] Fixed KeyValue definition TAO is enabled, value is only float32 --- dsdl/uavcan/protocol/debug/1789.KeyValue.uavcan | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/dsdl/uavcan/protocol/debug/1789.KeyValue.uavcan b/dsdl/uavcan/protocol/debug/1789.KeyValue.uavcan index 5566c0b83a..369bb1cec7 100644 --- a/dsdl/uavcan/protocol/debug/1789.KeyValue.uavcan +++ b/dsdl/uavcan/protocol/debug/1789.KeyValue.uavcan @@ -2,7 +2,13 @@ # Generic named parameter (key/value pair). # -bool alignment -uint8[<=100] key +# +# Integers are exactly representable in the range (-2^24, 2^24) which is (-16'777'216, 16'777'216). +# +float32 value -float64[<=1] value +# +# Tail array optimization is enabled, so if key length does not exceed 4 characters, +# the whole message can fit into one CAN frame. +# +uint8[<=34] key