From e3a92f214d8fe2dd849f4250d151924ebc490f11 Mon Sep 17 00:00:00 2001 From: Oskar Weigl Date: Fri, 22 Mar 2019 22:56:30 -0700 Subject: [PATCH] add feedback command to ascii docs --- docs/ascii-protocol.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/ascii-protocol.md b/docs/ascii-protocol.md index 0c510fe6..3d20ba58 100644 --- a/docs/ascii-protocol.md +++ b/docs/ascii-protocol.md @@ -86,6 +86,29 @@ c motor current * `motor` is the motor number, `0` or `1`. * `current` is the desired current in A. +This command updates the watchdog timer for the motor. + +#### Request feedback +``` +f motor + +response: +pos vel +``` +* `f` for feedback +* `pos` is the encoder position in counts (float) +* `vel` is the encoder velocity in counts/s (float) + +#### Update motor watchdog +``` +u motor +``` +* `u` for /u/pdate. +* `motor` is the motor number, `0` or `1`. + +This command updates the watchdog timer for the motor, without changing any +setpoints. + #### Parameter reading/writing Not all parameters can be accessed via the ASCII protocol but at least all parameters with float and integer type are supported.