Skip to content

Commit 28652a2

Browse files
authored
Merge pull request #5 from intelligent-soft-robots/fwidmaier/vicon
Set floor and tennicam transform to match with Vicon
2 parents e2c7d74 + 355a8d3 commit 28652a2

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

config/pam_mujoco/models/robot_templates/pamy2/body_template.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
<site name="?id?_tendon_3_4_side_opposite_to_muscle" pos="0 0 0.0371" type="sphere" size=".01 0 0" rgba="1 0 0 0" />
138138
<site name="?id?_tendon_5_base_rot_point_of_contact" pos="-0.0371 0 0.36742" type="sphere" size=".02 0 0" rgba="1 1 1 0"/>
139139
<site name="?id?_tendon_6_base_rot_point_of_contact" pos="0.0371 0 0.36742" type="sphere" size=".02 0 0" rgba="1 1 1 0"/>
140-
<body pos="0 0 0.36742">
140+
<body pos="0 0 0.36742">
141141
<geom name="?id?_dummy_cylinder_for_tendon_wrapping_3" type = "cylinder" size="0.037 0.01" zaxis="0 1 0" rgba="1 0 0 0" mass="0.000001"/>
142142
<joint type="hinge" name="?id?_dof3" axis="0 1 0" frictionloss="7.7682" solreffriction="0.5" solimpfriction="0.65914" limited="true" range="-89.8 89.8" solreflimit="0.003" solimplimit="1"/>
143143
<geom type = "mesh" mesh="igus_move" rgba = "0.20 0.20 0.20 1.0" zaxis="0 0 -1" pos = "-0.04 0.0366 0.065" mass="0.03"/>
@@ -147,7 +147,7 @@
147147
<site name="?id?_tendon_7_base_rot_point_of_contact" pos="0 -0.0371 0" type="sphere" size=".02 0 0" rgba="1 1 1 0"/>
148148
<site name="?id?_tendon_8_base_rot_point_of_contact" pos="0 0.0371 0" type="sphere" size=".02 0 0" rgba="1 1 1 0"/>
149149
<body pos="0 0 -0.395">
150-
<geom name="?id?_dummy_cylinder_for_tendon_wrapping_4" type = "cylinder" size="0.037 0.01" rgba="1 0 0 0" mass="0.000001"/>
150+
<geom name="?id?_dummy_cylinder_for_tendon_wrapping_4" type = "cylinder" size="0.037 0.01" rgba="1 0 0 0" mass="0.000001"/>
151151
<joint type="hinge" name="?id?_dof4" axis="0 0 1" pos="0 0 0" frictionloss="111.9529" solreffriction="0.38711" solimpfriction="2.5699" limited="true" range="-89.8 89.8" solreflimit="0.003" solimplimit="1"/>
152152
<geom type = "cylinder" size="0.013 0.105" pos="0 0 0.54" zaxis="0 0 1" rgba="0.95 0.95 0.95 1.0" mass="0.11402"/>
153153
<geom name="?id?_racket_handle" type = "mesh" mesh="schlaeger_anbindung-igus_anbindung_extra-1" rgba="0.99 0.99 0.99 1" zaxis = "0 -1 0" pos ="-0.075 0.016 0.615" mass="0.02"/>

config/pam_mujoco/models/template.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<worldbody>
1919
<light diffuse="1.5 1.5 1.5" pos="0 0 8.0" dir="0 0 -1"/>
2020
<light directional="true" cutoff="60" exponent="1" diffuse="0.1 0.1 0.1" specular=".1 .1 .1" pos=".1 .2 1.3" dir="-.1 -.2 -1.3"/>
21-
<geom pos="0.0 0.0 0.0" name="floor" type="plane" size="3.0 3.0 0.01" rgba=".16 .15 0.20 0.9" solref="0.03 0.06"/>
21+
<geom pos="0.0 0.0 -2.115" name="floor" type="plane" size="3.0 3.0 0.01" rgba=".16 .15 0.20 0.9" solref="0.03 0.06"/>
2222

2323
<!-- bodies -->
2424

config/tennicam_client/config.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[transform]
2-
translation = [0.1058,3.1864,0.453]
3-
rotation = [0,0,0]
2+
translation = [0.385887, 0.185144, -0.425765]
3+
# extrinsic xyz Euler angles
4+
rotation = [0.00499201, -0.0156143, -0.0121934]
45
[server]
56
hostname = "rodau"
67
port = 7660

0 commit comments

Comments
 (0)