Device fault text decoding

Here’s a short followup tview feature in the same vein as the recently announced fault monitoring. For various not-too-important technical reasons, the diagnostic method moteus uses to report faults in servo_stats.fault does not include a text shorthand like most other enumerations do. That means that users are constantly confronted with things like fault=33, or fault=39. Unless they are lucky and know to look in the relevant section of the reference, this doesn’t do a whole lot of good.

In the spirit of adding small amounts of moteus specific logic into tview to make everyone’s life easier, as of moteus-gui version 0.3.93, tview now performs client side decoding of those fault (and limit reasons). This applies both in the tree view and in the status bar updates that recently started appearing in the bottom of the tview window. The text itself is not too special, but hopefully will be much more useful than just a bare number.

Good luck!