Skip to content

Commit a714f2f

Browse files
committed
chore: improved readme and removed unused scripts
1 parent cfbcda3 commit a714f2f

File tree

9 files changed

+80
-608
lines changed

9 files changed

+80
-608
lines changed

examples/teleop/README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,29 @@ Finally, install [SimPub](https://github.com/intuitive-robots/SimPublisher) the
1515
pip install -r requirements.txt
1616
```
1717

18+
## Configuration
19+
20+
### Teleoperating in sim
21+
22+
1. go to [`quest_iris_dual_arm.py`](quest_iris_dual_arm.py) and set `ROBOT_INSTANCE = RobotPlatform.SIMULATION`
23+
24+
### Teleoperating a real robot
25+
Note that dual arm is only supported for a aloha like setup where the robot face each other (for more advanced setups you need to change the transformation between the robots yourself).
26+
1. put your robots into FCI mode
27+
2. go to [`quest_iris_dual_arm.py`](quest_iris_dual_arm.py), set `ROBOT_INSTANCE = RobotPlatform.HARDWARE` and set your IP addresses of your robots. Remove the left robot if you only have one.
28+
29+
30+
## Running
31+
1. make sure your computer and quest is in the same subnetwork and they can ping each other.
32+
2. start IRIS meta quest app on your quest (it should be located in the Library under "Unkown Sources" after installation)
33+
3. run the [`quest_align_frame.py`](quest_align_frame.py) script once. Navigate to the link printed on the top likly [http://127.0.0.1:7000](http://127.0.0.1:7000).
34+
- click scan
35+
- your meta quest should show up
36+
- click change name and type "RCSNode" and click ok
37+
- the script should now print a bunch of numbers (the controller poses)
38+
4. put on your quest (dont remove it until done with teleop, otherwise the axis might change and you need to recalibrate), you should see a white ball with coordinate axis somewhere in your room (red is x, green is y and blue is z)
39+
5. use the right controller to change the orientation of the coordinate axis to fit your right robot (for franka: x front, y left, z up)
40+
6. click the "teleportation scene" button on the still open website
41+
7. cancel the script
42+
8. start the teleoperation script [`quest_iris_dual_arm.py`](quest_iris_dual_arm.py) and enjoy.
43+

examples/teleop/quest.py

Lines changed: 0 additions & 281 deletions
This file was deleted.
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1+
from quest_iris_dual_arm import MQ3_ADDR, MySimPublisher, MySimScene
12
from simpub.xr_device.meta_quest3 import MetaQuest3
2-
from quest_iris_dual_arm import MySimPublisher, MySimScene, MQ3_ADDR
3-
43

54
MySimPublisher(MySimScene(), MQ3_ADDR)
65
reader = MetaQuest3("RCSNode")
76
while True:
87
data = reader.get_controller_data()
9-
print(data)
8+
print(data)

0 commit comments

Comments
 (0)