-
Notifications
You must be signed in to change notification settings - Fork 268
/
Copy pathconst.py
44 lines (41 loc) · 1.5 KB
/
const.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
from pyrep.robots.arms.jaco import Jaco
from pyrep.robots.arms.mico import Mico
from pyrep.robots.arms.panda import Panda
from pyrep.robots.arms.sawyer import Sawyer
from pyrep.robots.arms.ur5 import UR5
from pyrep.robots.end_effectors.baxter_gripper import BaxterGripper
from pyrep.robots.end_effectors.jaco_gripper import JacoGripper
from pyrep.robots.end_effectors.mico_gripper import MicoGripper
from pyrep.robots.end_effectors.panda_gripper import PandaGripper
from pyrep.robots.end_effectors.robotiq85_gripper import Robotiq85Gripper
colors = [
('red', (1.0, 0.0, 0.0)),
('maroon', (0.5, 0.0, 0.0)),
('lime', (0.0, 1.0, 0.0)),
('green', (0.0, 0.5, 0.0)),
('blue', (0.0, 0.0, 1.0)),
('navy', (0.0, 0.0, 0.5)),
('yellow', (1.0, 1.0, 0.0)),
('cyan', (0.0, 1.0, 1.0)),
('magenta', (1.0, 0.0, 1.0)),
('silver', (0.75, 0.75, 0.75)),
('gray', (0.5, 0.5, 0.5)),
('orange', (1.0, 0.5, 0.0)),
('olive', (0.5, 0.5, 0.0)),
('purple', (0.5, 0.0, 0.5)),
('teal', (0, 0.5, 0.5)),
('azure', (0.0, 0.5, 1.0)),
('violet', (0.5, 0.0, 1.0)),
('rose', (1.0, 0.0, 0.5)),
('black', (0.0, 0.0, 0.0)),
('white', (1.0, 1.0, 1.0)),
]
# Arms from PyRep need to be modified to include a wrist camera.
# Currently, only the arms/grippers below are supported.
SUPPORTED_ROBOTS = {
'panda': (Panda, PandaGripper, 7),
'jaco': (Jaco, JacoGripper, 6),
'mico': (Mico, MicoGripper, 6),
'sawyer': (Sawyer, BaxterGripper, 7),
'ur5': (UR5, Robotiq85Gripper, 6),
}