Add docstrings

This commit is contained in:
Simon Alibert
2025-05-11 12:45:22 +02:00
parent 64303781c2
commit 307823bc8d
6 changed files with 102 additions and 1 deletions

View File

@@ -11,6 +11,17 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""
Helper to find the USB port associated with your MotorsBus.
Example:
```shell
python -m lerobot.find_port
```
"""
import os
import time
from pathlib import Path
@@ -51,5 +62,4 @@ def find_port():
if __name__ == "__main__":
# Helper to find the USB port associated with your MotorsBus.
find_port()