Skip to content

Commit 35e0914

Browse files
committed
Update robot model
1 parent c6cac91 commit 35e0914

File tree

3 files changed

+84
-29
lines changed

3 files changed

+84
-29
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,5 @@
6565

6666
# JupyterLite
6767
jupyterlite_config = "jupyterlite_config.json"
68-
jupyterlite_contents = ["robotLite.urdf"]
68+
jupyterlite_contents = ["robot.urdf"]
6969
jupyterlite_dir = "."

docs/robot.urdf

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
<?xml version="1.0"?>
2+
<robot name="robot">
3+
4+
<link name="base_link">
5+
<visual>
6+
<geometry>
7+
<sphere radius="0.5"/>
8+
</geometry>
9+
<origin rpy="0 0 0" xyz="0 0 0"/>
10+
<material name="blue"/>
11+
</visual>
12+
</link>
13+
14+
<joint name="shoulder" type="revolute">
15+
<parent link="base_link"/>
16+
<child link="humerus"/>
17+
<origin rpy="0 0 0" xyz="0 0 0"/>
18+
<axis xyz="1 0 0"/>
19+
<limit effort="1000.0" lower="-3.14" upper="3.14" velocity="0.5"/>
20+
</joint>
21+
22+
<link name="humerus">
23+
<visual>
24+
<geometry>
25+
<cylinder length="2.5" radius="0.25"/>
26+
</geometry>
27+
<origin rpy="0 0 0" xyz="0 0 1.25"/>
28+
<material name="purple"/>
29+
</visual>
30+
</link>
31+
32+
<joint name="elbow" type="revolute">
33+
<parent link="humerus"/>
34+
<child link="ulna"/>
35+
<origin rpy="0 0 0" xyz="0 0 0"/>
36+
<axis xyz="0 0 1"/>
37+
<limit effort="1000.0" lower="-3.14" upper="3.14" velocity="0.5"/>
38+
</joint>
39+
40+
<link name="ulna">
41+
<visual>
42+
<geometry>
43+
<cylinder length="0.6" radius="0.3"/>
44+
</geometry>
45+
<origin rpy="1.570796 0 0" xyz="0 0 2.5"/>
46+
<material name="pink"/>
47+
</visual>
48+
</link>
49+
50+
<joint name="wrist" type="prismatic">
51+
<parent link="ulna"/>
52+
<child link="ossa"/>
53+
<origin rpy="0 0 0" xyz="0 0 0"/>
54+
<axis xyz="0 1 0"/>
55+
<limit effort="1000.0" lower="-1.5" upper="1.5" velocity="0.5"/>
56+
</joint>
57+
58+
<link name="ossa">
59+
<visual>
60+
<geometry>
61+
<box size="0.25 3 0.25"/>
62+
</geometry>
63+
<origin rpy="0 0 0" xyz="0 0 2.5"/>
64+
<material name="yellow"/>
65+
</visual>
66+
</link>
67+
68+
<material name="yellow">
69+
<color rgba="1 0.83 0 1"/>
70+
</material>
71+
72+
<material name="blue">
73+
<color rgba="0.18 0.16 0.31 1"/>
74+
</material>
75+
76+
<material name="pink">
77+
<color rgba="0.85 0.01 0.41 1"/>
78+
</material>
79+
80+
<material name="purple">
81+
<color rgba="0.51 0.01 0.39 1"/>
82+
</material>
83+
</robot>

docs/robotLite.urdf

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)