Skip to content

Commit

Permalink
Update teleoperation.md
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneT2000 committed Mar 7, 2024
1 parent ef65695 commit 613ae0c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docs/source/user_guide/data_collection/teleoperation.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,22 @@ Limitations: Limited to only solving less dynamical tasks with two-finger grippe

To start the system you can specify an environment id with `-e` and run
```bash
python -m mani_skill2.examples.interactive_teleop.py -e "PickCube-v1"
python -m mani_skill2.examples.teleoperation.interactive_panda -e "StackCube-v1"
```

<video preload="auto" controls="True" width="100%">
<source src="/_static/videos/teleop-stackcube-demo.mp4" type="video/mp4">
</video>

You can then drag the end-effector of the robot arm around to any position and rotation and press "n" on the keyboard to generate a trajectory to that place (done via motion planning). Each time the system will also print the current info about whether the task is solved or not.

You can press "g" to toggle the gripper to be closing or opening.

To finish collecting one trajectory and to move on to another, simply press "c" which will save the last trajectory.

To stop data collection press "q" to quit.
To stop data collection press "q" to quit. This will then save the trajectory data to your `demos/teleop/<env_id>` folder. In addition it will generate videos of your demos after and put them in the same folder, you can stop this by pressing CTRL+C to stop the script.

You can always press "h" to bring up a help menu describing the keyboard commands
You can always press "h" to bring up a help menu describing the keyboard commands.

<!-- TODO (stao): discuss checkpointing method, help button -->

Expand Down

0 comments on commit 613ae0c

Please sign in to comment.