From fa78e6b8fb392baf0a8fdcdda9fad7c0383bd1ff Mon Sep 17 00:00:00 2001 From: Pedro Lamas Date: Wed, 18 Jan 2023 00:06:45 +0000 Subject: screws_tilt_adjust: status result as dictionary Signed-off-by: Pedro Lamas --- docs/Status_Reference.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'docs/Status_Reference.md') diff --git a/docs/Status_Reference.md b/docs/Status_Reference.md index ff6a30bc..ef947f5b 100644 --- a/docs/Status_Reference.md +++ b/docs/Status_Reference.md @@ -376,20 +376,17 @@ object: - `error`: Returns True if the most recent `SCREWS_TILT_CALCULATE` command included the `MAX_DEVIATION` parameter and any of the probed screw points exceeded the specified `MAX_DEVIATION`. -- `results`: A list of the probed screw locations. Each entry in - the list will be a dictionary containing the following keys: - - `name`: The name of the screw as specified in the config file. - - `x`: The X coordinate of the screw as specified in the config file. - - `y`: The Y coordinate of the screw as specified in the config file. +- `results[""]`: A dictionary containing the following keys: - `z`: The measured Z height of the screw location. - `sign`: A string specifying the direction to turn to screw for the necessary adjustment. Either "CW" for clockwise or "CCW" for - counterclockwise. The base screw will not have a `sign` key. + counterclockwise. - `adjust`: The number of screw turns to adjust the screw, given in the format "HH:MM," where "HH" is the number of full screw turns and "MM" is the number of "minutes of a clock face" representing a partial screw turn. (E.g. "01:15" would mean to turn the screw one and a quarter revolutions.) + - `is_base`: Returns True if this is the base screw. ## servo -- cgit v1.2.3-70-g09d2