Skip to content

Commit f347540

Browse files
authored
Merge pull request #181 from jonzamora/main
Adjust SO100 joint limits to match real robot's physical constraints.
2 parents c50e93e + 309a39d commit f347540

File tree

4 files changed

+27
-21
lines changed

4 files changed

+27
-21
lines changed

trs_so_arm100/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,10 @@
22

33
All notable changes to this model will be documented in this file.
44

5+
## [09/06/2025]
6+
- Adjusted joint limits to match real robot's physical constraints.
7+
- Changed primary color of robot to white.
8+
- Added rest position keyframe.
9+
510
## [25/11/2024]
611
- Initial release.

trs_so_arm100/scene.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<mujoco model="so_arm100 scene">
22
<include file="so_arm100.xml"/>
33

4-
<statistic center="0 -0.2 0.1" extent="0.4"/>
4+
<statistic center="0.1 -0.01 0.05" extent="0.5"/>
55

66
<visual>
77
<headlight diffuse="0.6 0.6 0.6" ambient="0.3 0.3 0.3" specular="0 0 0"/>
88
<rgba haze="0.15 0.25 0.35 1"/>
9-
<global azimuth="140" elevation="-30"/>
9+
<global azimuth="45" elevation="-20"/>
1010
</visual>
1111

1212
<asset>
@@ -20,4 +20,4 @@
2020
<light pos="0 0 1.5" dir="0 0 -1" directional="true"/>
2121
<geom name="floor" size="0 0 0.05" type="plane" material="groundplane"/>
2222
</worldbody>
23-
</mujoco>
23+
</mujoco>

trs_so_arm100/so_arm100.png

-268 KB
Loading

trs_so_arm100/so_arm100.xml

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<option cone="elliptic" impratio="10"/>
55

66
<asset>
7-
<material name="orange" rgba="1.0 0.331 0.0 1.0" specular="0.1" shininess="0.1"/>
8-
<material name="black" rgba="0.1 0.1 0.1 1.0" specular="0.1" shininess="0.1"/>
7+
<material name="white" rgba="1 1 1 1"/>
8+
<material name="black" rgba="0.1 0.1 0.1 1"/>
99

1010
<mesh name="Base" file="Base.stl"/>
1111
<mesh name="Base_Motor" file="Base_Motor.stl"/>
@@ -30,33 +30,33 @@
3030
<default>
3131
<default class="so_arm100">
3232
<joint frictionloss="0.1" armature="0.1"/>
33-
<position kp="50" dampratio="1" forcerange="-35 35" ctrlrange="-3.14158 3.14158"/>
33+
<position kp="50" dampratio="1" forcerange="-3.5 3.5"/>
3434
<default class="Rotation">
35-
<joint axis="0 1 0" range="-2.2 2.2"/>
35+
<joint axis="0 1 0" range="-1.92 1.92"/>
3636
</default>
3737
<default class="Pitch">
38-
<joint axis="1 0 0" range="-3.14158 0.2"/>
38+
<joint axis="1 0 0" range="-3.32 0.174"/>
3939
</default>
4040
<default class="Elbow">
41-
<joint axis="1 0 0" range="0 3.14158"/>
41+
<joint axis="1 0 0" range="-0.174 3.14"/>
4242
</default>
4343
<default class="Wrist_Pitch">
44-
<joint axis="1 0 0" range="-2.0 1.8"/>
44+
<joint axis="1 0 0" range="-1.66 1.66"/>
4545
</default>
4646
<default class="Wrist_Roll">
47-
<joint axis="0 1 0" range="-3.14158 3.14158"/>
47+
<joint axis="0 1 0" range="-2.79 2.79"/>
4848
</default>
4949
<default class="Jaw">
50-
<joint axis="0 0 1" range="-0.2 2.0"/>
50+
<joint axis="0 0 1" range="-0.174 1.75"/>
5151
</default>
5252
<default class="visual">
53-
<geom type="mesh" contype="0" conaffinity="0" density="0" group="2" material="orange"/>
53+
<geom type="mesh" contype="0" conaffinity="0" density="0" group="2" material="white"/>
5454
<default class="motor_visual">
5555
<geom material="black"/>
5656
</default>
5757
</default>
5858
<default class="collision">
59-
<geom group="3" type="mesh"/>
59+
<geom group="3" type="mesh" material="white"/>
6060
<default class="finger_collision">
6161
<geom type="box" solimp="2 1 0.01" solref="0.01 1" friction="1 0.005 0.0001"/>
6262
</default>
@@ -131,19 +131,20 @@
131131
</worldbody>
132132

133133
<actuator>
134-
<position class="Rotation" name="Rotation" joint="Rotation"/>
135-
<position class="Pitch" name="Pitch" joint="Pitch"/>
136-
<position class="Elbow" name="Elbow" joint="Elbow"/>
137-
<position class="Wrist_Pitch" name="Wrist_Pitch" joint="Wrist_Pitch"/>
138-
<position class="Wrist_Roll" name="Wrist_Roll" joint="Wrist_Roll"/>
139-
<position class="Jaw" name="Jaw" joint="Jaw"/>
134+
<position class="Rotation" name="Rotation" joint="Rotation" inheritrange="1"/>
135+
<position class="Pitch" name="Pitch" joint="Pitch" inheritrange="1"/>
136+
<position class="Elbow" name="Elbow" joint="Elbow" inheritrange="1"/>
137+
<position class="Wrist_Pitch" name="Wrist_Pitch" joint="Wrist_Pitch" inheritrange="1"/>
138+
<position class="Wrist_Roll" name="Wrist_Roll" joint="Wrist_Roll" inheritrange="1"/>
139+
<position class="Jaw" name="Jaw" joint="Jaw" inheritrange="1"/>
140140
</actuator>
141141

142142
<contact>
143143
<exclude body1="Base" body2="Rotation_Pitch"/>
144144
</contact>
145145

146146
<keyframe>
147-
<key name="home" qpos="0 -1.57079 1.57079 1.57079 -1.57079 0" ctrl="0 -1.57079 1.57079 1.57079 -1.57079 0"/>
147+
<key name="home" qpos="0 -1.57 1.57 1.57 -1.57 0" ctrl="0 -1.57 1.57 1.57 -1.57 0"/>
148+
<key name="rest" qpos="0 -3.32 3.11 1.18 0 -0.174" ctrl="0 -3.32 3.11 1.18 0 -0.174"/>
148149
</keyframe>
149150
</mujoco>

0 commit comments

Comments
 (0)