Skip to content

Commit

Permalink
Troubleshoot Lag in Follower Arms (#23)
Browse files Browse the repository at this point in the history
* Troubleshoot Lag in Follower Arms

* Reviewed Changes

* Apply suggestions from code review

---------

Co-authored-by: lukeschmitt-tr <[email protected]>
  • Loading branch information
shantanuparab-tr and lukeschmitt-tr authored Sep 30, 2024
1 parent 932f386 commit 912d42f
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions docs/operation/lerobot_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,43 @@ Troubleshooting
.. warning::
If you encounter issues, follow these troubleshooting steps:


Lag Observed in Follower Arms
-----------------------------

If you notice lag in the follower arms, it's due to the safety settings, which are in place to prevent overshooting that could harm the robot.
These are designed to ensure safety for new users or when using untested policies.

Once you are comfortable with the kit and the trained policy, you can adjust or disable these safety settings by modifying the configuration.

Follow these steps:

#. Open the configuration file located at:

``lerobot/configs/robots/aloha.yaml``

#. Locate the following line in the configuration file:

.. code-block:: yaml
max_relative_target: 5 # Original value
#. Change the value of `max_relative_target` from `5` to `null` to disable the safety limit:

.. code-block:: yaml
:emphasize-lines: 5
# /!\ FOR SAFETY, READ THIS /!\
# `max_relative_target` limits the magnitude of the relative positional target vector for safety purposes.
# The default setting is 5 degrees for Aloha robot motors.
# Modify this value to null to remove the limit once you feel confident with the robot.
max_relative_target: null # Updated value
.. important::

We recommend starting by teleoperating the grippers (commenting out the rest of the motors in the YAML file).
Gradually enable additional motors until you can control both arms safely.

OpenCV Installation Issues (Linux)
----------------------------------

Expand Down

0 comments on commit 912d42f

Please sign in to comment.