Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Troubleshoot Lag in Follower Arms #23

Merged
merged 3 commits into from
Sep 30, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions docs/operation/lerobot_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,41 @@ 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:

1. Open the configuration file located at:
lukeschmitt-tr marked this conversation as resolved.
Show resolved Hide resolved

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

2. Locate the following line in the configuration file:
lukeschmitt-tr marked this conversation as resolved.
Show resolved Hide resolved

.. code-block:: yaml

max_relative_target: 5 # Original value

3. Change the value of `max_relative_target` from `5` to `null` to disable the safety limit:
lukeschmitt-tr marked this conversation as resolved.
Show resolved Hide resolved

.. 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.

lukeschmitt-tr marked this conversation as resolved.
Show resolved Hide resolved

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

Expand Down