Skip to content

hucebot/inria_lerobot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

inria_lerobot

License Python Version

Custom package based on lerobot. The package is used to control the arm So100, but we implement our own pipeline to control the robot, create the dataset and to train a policy.

Get Started

Prerequisites

The following dependencies are required to use this package:

  • Docker
  • NVIDIA Container Toolkit (if you are using an NVIDIA GPU)
  • LeRobot arm

Installation

From Docker

The easiest way to get started is to use the provided Docker image. You can find the Dockerfile in the docker folder. To build the image, run the following command:

sh build.sh

To run the development container, use the following command:

sh run.sh

Usage

Teleoperation

We prepare a script to teleoeprate the robot. You can use the following command to run the script:

python lerobot_control.py

It's important to note that the teleoperation it used the zero position as the one first detected. So the idea is tu put both arm in the same position and then run the script. The script will detect the zero position and use it as the reference to send the delta movement for each joint.

Record Dataset

We provide a script to record the dataset. The script will record the dataset in the dataset folder with the task_name as a subfolder. The dataset will be recorded in the following format:

python lerobot_control.py --dataset_path="Simple cross motion"

Where:

  • --dataset_task="Simple cross motion": This is the name of the task that will be used to create the subfolder in the dataset folder.

Replay Dataset

We provide a script to replay a specific episode of the dataset. The script will replay the dataset in the dataset folder with the task_name as a subfolder. The dataset will be replayed in the following format:

python lerobot_control.py --dataset_path="Simple cross motion" --replay_episode=00000

Where:

  • --dataset_task="Simple cross motion": This is the name of the task to be replayed.
  • --replay_episode=00000: This is the name of the episode to be replayed. The episode name is the same as the one used to record the dataset.

Trainning

TODO

Evaluation

TODO

About

Custom package to use lerobot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •