-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpenvironment.g
79 lines (65 loc) · 1.91 KB
/
penvironment.g
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
world: { multibody: true }
# Table (base for the setup)
table (world): {
shape: ssBox, Q: "t(0 0 .6)", size: [2., 4., .2, .04], color: [.3, .3, .3]
fixed, contact, friction: .1
}
# Target (green base) attached to the table
target (table): {
shape: ssBox, Q: "t(0 1. .1)", size: [.6, .6, .1, .04], color: [.3, .6, .3, 1]
fixed
}
# Main ring frame on top of the target - now fixed to prevent changes
ring (target): {
Q: "t(0 0 0.07) d(120 1 1 1)"
joint : rigid
}
# Individual ring segments - also fixed and without mass to keep them stable
ring1(ring): {
shape: capsule, Q: "t(.12 0 0)", size: [.2, .015], color: [.6, .6, .6]
contact: 1
mass : 0.00005
}
ring2(ring): {
shape: capsule, Q: "t(-.12 0 0)", size: [.2, .015], color: [.6, .6, .6]
contact: 1
mass : 0.00005
}
ring3(ring): {
shape: capsule, Q: "t(0 0 -.1) d(90 0 1 0)", size: [.2, .015], color: [.6, .6, .6]
contact: 1
mass : 0.00005
}
ring4(ring): {
shape: capsule, Q: "t(0 0 .1) d(90 0 1 0)", size: [.2, .015], color: [.6, .6, .6]
contact: 1
mass : 0.00005
}
# Stick placed on the table, now fixed so it won't fall or roll
stick (table): {
shape: cylinder, Q: "t(0 -1 .30)", size: [.6, .02], color: [.6, .6, .6]
joint: rigid
contact: 1
friction: 1000
fixed
# No mass specified, so it's static
}
# Panda robotic arm attached to the table
Include: </home/yagz/rai_venv/robotics/rai-robotModels/scenarios/pandaSingle.g>
(table l_panda_base): { joint: rigid, Q: "t(0 1.8 .05) d(-90 0 0 1)" }
Edit panda_finger_joint1: { joint_active: false }
# 1 Overhead camera, looking straight down at
camera1(table): {
shape: marker, size:[0.1],
focalLength: 0.7,
width: 640, height: 360,
zRange:[0.3, 5.0],
Q: "t(0 -2 0.5) d(-90 1 0 0)"
}
camera2(table): {
shape: marker, size:[0.1],
focalLength: 0.7,
width: 640, height: 360,
zRange:[0.3, 5.0],
Q: "t(0 2 0.5) d(90 1 0 0)"
}