Skip to content

Commit

Permalink
Add FluxGrip types (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-kirienko authored Jan 12, 2024
1 parent 32c4792 commit 3b48e62
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions zubax/fluxgrip/Feedback.0.1.dsdl
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3b48e62

Please sign in to comment.