From 3b48e6234e049a8d8f1528bf92ad99d007908e8b Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Fri, 12 Jan 2024 14:43:52 +0200 Subject: [PATCH] Add FluxGrip types (#6) --- zubax/fluxgrip/Feedback.0.1.dsdl | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 zubax/fluxgrip/Feedback.0.1.dsdl diff --git a/zubax/fluxgrip/Feedback.0.1.dsdl b/zubax/fluxgrip/Feedback.0.1.dsdl new file mode 100644 index 0000000..e2bf1f7 --- /dev/null +++ b/zubax/fluxgrip/Feedback.0.1.dsdl @@ -0,0 +1,21 @@ +# Zubax EPM status feedback message. +# This type is a structural subtype of uavcan.primitive.scalar.Bit. + +bool magnetized +# True if the magnet is currently turned on. +# The value is a best guess if remagnetization is currently in progress. + +int3 remagnetization_state +# -1 -- the magnet is being demagnetized (turning off). +# 0 -- the magnet is idle. +# +1 -- the magnet is being magnetized (turning on). + +void4 + +@assert _offset_ == {8} + +uint24[2] cycles_on_off +# The number of magnetization and demagnetization cycles commenced, respectively, since the device was powered on. +# The values are incremented immediately at the commencement of the cycle. + +@extent 63 * 8