moteus_tool --read
moteus_tool has long served as the primary interface to moteus
controllers from the command line for provisioning and diagnostics,
especially so when used in headless environments where running a
graphical tool like tview is not an option. As anyone who has
debugged a moteus system from the command line can attest to, finding
the contents of diagnostic stream channels is annoying at best and
that is only if you know how to do it. In short, you have to use
--console, and then type some undocumented text incantations .
Thus a new feature in moteus_tool: the --read CHANNEL command line
flag, which reads a single instance of an arbitrary diagnostic channel
from the device, then prints it to the console as JSON formatted
structured data. Let’s check out what that looks like: