Skip to content

Commit f2139d1

Browse files
committed
README: add teleop panel feature and usage example
1 parent 0dd1950 commit f2139d1

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Web-based MuJoCo viewer built on [Viser](https://github.com/nerfstudio-project/v
1717
- **Click-to-select** — click any geom to show its body name; label follows the object
1818
- **Visibility groups** — toggle MuJoCo geom groups on/off
1919
- **Granular GUI control** — show/hide simulation controls and visibility panel independently
20+
- **Teleop panel** — SE(3) gizmo + ghost hand for interactive arm control with collision feedback
2021
- **Multi-client** — multiple browser tabs viewing the same simulation
2122
- **Beautiful rendering** — three-point lighting, proper materials, transparency support
2223

@@ -114,6 +115,24 @@ viewer.add_panel(MyPanel())
114115
viewer.launch()
115116
```
116117

118+
### Teleop panel
119+
120+
```python
121+
from mj_viser import MujocoViewer, TeleopPanel
122+
from mj_manipulator.teleop import TeleopController
123+
124+
controller = TeleopController(arm, ctx)
125+
panel = TeleopPanel(
126+
arm=arm, controller=controller,
127+
model=model, data=data,
128+
gripper_body_prefix="ur5e/gripper/",
129+
arm_label="Right Arm",
130+
)
131+
viewer.add_panel(panel)
132+
viewer.launch()
133+
# Teleop tab: activate gizmo, drag to control arm, toggle gripper, record demos
134+
```
135+
117136
### Granular GUI control
118137

119138
```python

0 commit comments

Comments
 (0)