From ee69437a14aedbfab8e0642a60e3ca93b4340af3 Mon Sep 17 00:00:00 2001 From: Andreas Hergert <36455093+andreashergert1984@users.noreply.github.com> Date: Sun, 3 Jan 2021 21:56:43 +0100 Subject: [PATCH] added slow mode and detach time to servo (#896) * added doc * Update components/servo.rst Co-authored-by: Guillermo Ruffino * Update components/servo.rst Co-authored-by: Guillermo Ruffino * lint Co-authored-by: Andreas Hergert Co-authored-by: Guillermo Ruffino --- components/servo.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/servo.rst b/components/servo.rst index d5f0321bb..b125e6958 100644 --- a/components/servo.rst +++ b/components/servo.rst @@ -55,6 +55,9 @@ Advanced Options: - **restore** (*Optional*, boolean): Whether to restore the state of the servo motor at startup. This is useful if you have an absolute servo motor and it goes back to its 0 position at startup. Defaults to ``false``. +- **auto_detach_time** (*Optional*, :ref:`config-time`): The time after reaching the target value when the servo will be detached`, if set to zero, servo will not be detached. Defaults to ``0s``. +- **transition_length** (*Optional*, :ref:`config-time`): The time needed for a full movement (-1.0 to 1.0). This will effectively limit the speed of the servo, the larger the value, the slowest the servo will move. Defaults to `` 0s`` + This can slow down the servo to avoid loud noises or just make the movement not jerking. .. note::