Update embodiment metadata and ArmBot paths
Browse files- README.md +8 -0
- arms/ArmBot/README.md +0 -86
- arms/ArmBot/example_mujoco.xml +0 -334
- arms/ArmBot/manifest.json +0 -68
- arms/ArmBot/meshes/arm_visual.obj +0 -3
- arms/ArmBot/meshes/collision/arm_block.obj +0 -3
- arms/ArmBot/meshes/collision/joint_block.obj +0 -3
- arms/ArmBot/meshes/gripper_adapter.obj +0 -3
- arms/ArmBot/meshes/joint0_visual.mtl +0 -11
- arms/ArmBot/meshes/joint0_visual.obj +0 -3
- arms/ArmBot/meshes/joint1_visual.mtl +0 -11
- arms/ArmBot/meshes/joint1_visual.obj +0 -3
- arms/ArmBot/meshes/original/joint_0.obj +0 -3
- arms/ArmBot/meshes/original/joint_1.obj +0 -3
- arms/ArmBot/meshes/original/joint_motor.obj +0 -3
- grippers/gloria_m/manifest.json +1 -1
README.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Embodiment viewer
|
| 2 |
|
| 3 |
Asset sources and license terms are listed in [LICENSE_ASSETS.md](LICENSE_ASSETS.md).
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: BYORobotSim Embodiments
|
| 3 |
+
tags:
|
| 4 |
+
- robotics
|
| 5 |
+
- simulation
|
| 6 |
+
- urdf
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
# Embodiment viewer
|
| 10 |
|
| 11 |
Asset sources and license terms are listed in [LICENSE_ASSETS.md](LICENSE_ASSETS.md).
|
arms/ArmBot/README.md
DELETED
|
@@ -1,86 +0,0 @@
|
|
| 1 |
-
# ArmBot Module Visualization Assets
|
| 2 |
-
|
| 3 |
-
This directory contains visual mesh assets for the modular robot system used in
|
| 4 |
-
the workspace editor and simulation serializers.
|
| 5 |
-
|
| 6 |
-
## Module Types
|
| 7 |
-
|
| 8 |
-
### CAD Source and Export
|
| 9 |
-
|
| 10 |
-
The canonical source files are FreeCAD documents in `~/Downloads/ArmBot3D`.
|
| 11 |
-
Run the following from the repository root to recreate the mesh files after
|
| 12 |
-
changing the CAD source:
|
| 13 |
-
|
| 14 |
-
```sh
|
| 15 |
-
printf "exec(compile(open('tools/export_armbot_cad.py').read(), 'tools/export_armbot_cad.py', 'exec'))\n" | freecadcmd -c
|
| 16 |
-
```
|
| 17 |
-
|
| 18 |
-
The exporter centers every part on its module frame, converts FreeCAD
|
| 19 |
-
millimetres to metres, and writes OBJ.
|
| 20 |
-
|
| 21 |
-
The CAD joint is deliberately divided across the two physical links:
|
| 22 |
-
|
| 23 |
-
- `joint_0.obj` and `joint_motor.obj` belong to the stationary `root` link.
|
| 24 |
-
- `joint_1.obj` belongs to the rotating `moving` link.
|
| 25 |
-
|
| 26 |
-
This preserves the revolute kinematics. The 10 cm voxel lattice remains the
|
| 27 |
-
design and mounting grid, while simulation lays out visual and collision meshes
|
| 28 |
-
from the measured CAD bounds so joined ArmBot modules meet at their actual
|
| 29 |
-
mating faces.
|
| 30 |
-
|
| 31 |
-
The supplied motor CAD contains one disconnected terminal subassembly. The
|
| 32 |
-
exporter omits it because its placement is not constrained to the motor body.
|
| 33 |
-
|
| 34 |
-
`meshes/original/Gripper_Adapter.FCStd` is the canonical gripper-to-block
|
| 35 |
-
interface. Its exported `gripper_adapter.obj` is metre-scaled with its block
|
| 36 |
-
mounting plane at local z = 0 and its gripper plane at local z = 10 mm. The
|
| 37 |
-
`gloria_m` profile uses it as a fixed link between the terminal block and
|
| 38 |
-
the gripper base; the profile rotates this interface to the selected gripper
|
| 39 |
-
mount face.
|
| 40 |
-
|
| 41 |
-
### Arm Modules
|
| 42 |
-
- **Color**: RGB(0.92, 0.93, 0.94) - light gray/off-white (#EBEDEF)
|
| 43 |
-
- **Geometry**: Grid of FreeCAD arm cells, each within a 10cm cube with:
|
| 44 |
-
- Cell size: 10cm grid unit
|
| 45 |
-
- Visual envelope: approximately 84mm per side
|
| 46 |
-
- Surface details and edge treatment defined by the CAD model
|
| 47 |
-
- Multi-cell arms use the 84mm CAD pitch in the engine, so their faces touch
|
| 48 |
-
without visual or collision gaps
|
| 49 |
-
|
| 50 |
-
### Joint Modules (Revolute/JointUnit)
|
| 51 |
-
- **Joint color**: RGB(0.44, 0.47, 0.51) - medium gray (#707882)
|
| 52 |
-
- **Shaft color**: RGB(0.22, 0.24, 0.27) - dark gray (#383D45)
|
| 53 |
-
- **Geometry**: `Joint-0`, CyberGear motor, and `Joint-1` CAD components.
|
| 54 |
-
- The root housing is oriented with its motor cavity facing the moving half.
|
| 55 |
-
- The motor interface on `Joint-1` faces the root housing.
|
| 56 |
-
- CAD housing offsets use their measured faces, so the two parts meet at the
|
| 57 |
-
hinge plane with no visible gap. External attachments are placed from the
|
| 58 |
-
matching CAD-envelope faces rather than the 10cm lattice centers.
|
| 59 |
-
- The motor is centered inside the root housing's mounting cavity and assigned
|
| 60 |
-
to the root link.
|
| 61 |
-
|
| 62 |
-
### Axial Joint Modules
|
| 63 |
-
- **Colors**: Same as revolute joints
|
| 64 |
-
- **Geometry**: Two half-height blocks with Z-axis rotation
|
| 65 |
-
- Lower block: 10cm × 10cm × 5cm, at z = -2.5cm
|
| 66 |
-
- Upper block: 10cm × 10cm × 5cm, at z = +2.5cm
|
| 67 |
-
- Shaft: Cylinder radius 9mm, length 4.8cm
|
| 68 |
-
- Border radius: 8mm
|
| 69 |
-
|
| 70 |
-
### Swing Joint Modules
|
| 71 |
-
- **Colors**: Same as other joints
|
| 72 |
-
- **Geometry**: Triangular prism blocks
|
| 73 |
-
- Isosceles right triangle cross-section
|
| 74 |
-
- Visual scaled to 95% of collision geometry
|
| 75 |
-
- Shaft: Cylinder radius 8mm, length 10cm along Y axis
|
| 76 |
-
|
| 77 |
-
## Mesh Format
|
| 78 |
-
|
| 79 |
-
All meshes use the rounded box procedural generation from `byorobotsim/sim/model/meshes.py`:
|
| 80 |
-
- Vertices and faces are computed deterministically
|
| 81 |
-
- Bevel segments: 3
|
| 82 |
-
- Consistent winding order for proper lighting
|
| 83 |
-
|
| 84 |
-
## Usage in Editor
|
| 85 |
-
|
| 86 |
-
The workspace editor (`tools/workspace_editor`) uses these specifications to render robot modules in the 3D preview. The actual simulation uses the same geometry definitions from `byorobotsim/sim/model/design.py`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
arms/ArmBot/example_mujoco.xml
DELETED
|
@@ -1,334 +0,0 @@
|
|
| 1 |
-
<mujoco model="world_box_reference">
|
| 2 |
-
<!-- 本文件统一使用米、千克、秒和弧度作为单位。 -->
|
| 3 |
-
<compiler angle="radian" autolimits="true"/>
|
| 4 |
-
<option timestep="0.002" integrator="implicitfast" gravity="0 0 -9.81"/>
|
| 5 |
-
|
| 6 |
-
<visual>
|
| 7 |
-
<headlight ambient="0.35 0.35 0.35"
|
| 8 |
-
diffuse="0.75 0.75 0.75"
|
| 9 |
-
specular="0.2 0.2 0.2"/>
|
| 10 |
-
<global azimuth="135" elevation="-25"/>
|
| 11 |
-
</visual>
|
| 12 |
-
|
| 13 |
-
<asset>
|
| 14 |
-
<texture name="floor_grid"
|
| 15 |
-
type="2d"
|
| 16 |
-
builtin="checker"
|
| 17 |
-
width="512"
|
| 18 |
-
height="512"
|
| 19 |
-
rgb1="0.82 0.84 0.87"
|
| 20 |
-
rgb2="0.94 0.95 0.97"/>
|
| 21 |
-
<material name="floor_material"
|
| 22 |
-
texture="floor_grid"
|
| 23 |
-
texrepeat="8 8"
|
| 24 |
-
texuniform="true"
|
| 25 |
-
reflectance="0.05"/>
|
| 26 |
-
</asset>
|
| 27 |
-
|
| 28 |
-
<!--
|
| 29 |
-
CyberGear 参数元数据,仅供控制程序读取或作为模型说明,不会自动改变 MuJoCo 动力学。
|
| 30 |
-
机械输出端参数来自《CyberGear微电机使用说明书》:
|
| 31 |
-
额定转矩 4 N·m,峰值转矩 12 N·m;
|
| 32 |
-
额定转速 240 rpm = 25.133 rad/s;
|
| 33 |
-
空载转速 296 rpm = 30.997 rad/s;
|
| 34 |
-
运控协议速度范围 ±30 rad/s,位置编码范围 ±4π rad;
|
| 35 |
-
减速比 7.75:1,电机总质量 0.317 kg。
|
| 36 |
-
手册没有给出转子惯量、粘性阻尼、库仑摩擦和回差,不能在此凭空填写。
|
| 37 |
-
-->
|
| 38 |
-
<custom>
|
| 39 |
-
<numeric name="cybergear_rated_voltage_v" data="24"/>
|
| 40 |
-
<numeric name="cybergear_min_voltage_v" data="16"/>
|
| 41 |
-
<numeric name="cybergear_max_voltage_v" data="28"/>
|
| 42 |
-
<numeric name="cybergear_rated_torque_nm" data="4"/>
|
| 43 |
-
<numeric name="cybergear_peak_torque_nm" data="12"/>
|
| 44 |
-
<numeric name="cybergear_rated_speed_rad_s" data="25.132741"/>
|
| 45 |
-
<numeric name="cybergear_no_load_speed_rad_s" data="30.997048"/>
|
| 46 |
-
<numeric name="cybergear_command_speed_limit_rad_s" data="30"/>
|
| 47 |
-
<numeric name="cybergear_protocol_position_limit_rad" data="12.566371"/>
|
| 48 |
-
<numeric name="cybergear_rated_current_a" data="6.5"/>
|
| 49 |
-
<numeric name="cybergear_peak_current_a" data="23"/>
|
| 50 |
-
<numeric name="cybergear_torque_constant_nm_a" data="0.87"/>
|
| 51 |
-
<numeric name="cybergear_reduction_ratio" data="7.75"/>
|
| 52 |
-
<numeric name="cybergear_total_mass_kg" data="0.317"/>
|
| 53 |
-
<numeric name="cybergear_encoder_counts_per_rev" data="16384"/>
|
| 54 |
-
<!-- 以下两项为仿真初始估计值,不是说明书标称参数。 -->
|
| 55 |
-
<numeric name="cybergear_estimated_frictionloss_nm" data="0.12"/>
|
| 56 |
-
<numeric name="cybergear_estimated_damping_nm_s_rad" data="0.010"/>
|
| 57 |
-
</custom>
|
| 58 |
-
|
| 59 |
-
<worldbody>
|
| 60 |
-
<light name="main_light" pos="1 -1 2" dir="-1 1 -2"/>
|
| 61 |
-
<camera name="overview"
|
| 62 |
-
pos="1.4 -1.4 1.0"
|
| 63 |
-
xyaxes="0.707 0.707 0 -0.333 0.333 0.882"/>
|
| 64 |
-
|
| 65 |
-
<!--
|
| 66 |
-
plane 的前两个 size 数值表示可视区域在 X、Y 方向上的半尺寸。
|
| 67 |
-
此处显示为约 6 m × 6 m 的地面,但物理碰撞平面是无限大的。
|
| 68 |
-
plane 的默认法向为 +Z,因此 pos 的 Z=0 表示地面位于世界坐标 Z=0。
|
| 69 |
-
-->
|
| 70 |
-
<geom name="floor"
|
| 71 |
-
type="plane"
|
| 72 |
-
pos="0 0 0"
|
| 73 |
-
size="3 3 0.1"
|
| 74 |
-
material="floor_material"
|
| 75 |
-
friction="1.0 0.01 0.001"/>
|
| 76 |
-
|
| 77 |
-
<!--
|
| 78 |
-
固定底座的实际尺寸:
|
| 79 |
-
0.30 m × 0.25 m × 0.08 m
|
| 80 |
-
box 的 size 使用各方向的半尺寸:
|
| 81 |
-
0.15 m × 0.125 m × 0.04 m
|
| 82 |
-
将几何中心放在 Z=0.04,可使底座底面正好落在 Z=0 的地面上。
|
| 83 |
-
-->
|
| 84 |
-
<geom name="fixed_base"
|
| 85 |
-
type="box"
|
| 86 |
-
pos="0 0 0.02"
|
| 87 |
-
size="0.3 0.3 0.022"
|
| 88 |
-
rgba="0.25 0.30 0.38 1"
|
| 89 |
-
friction="0.9 0.01 0.001"/>
|
| 90 |
-
|
| 91 |
-
<!--
|
| 92 |
-
这是一个边长为 0.10 m、带自由关节的立方体。
|
| 93 |
-
仿真开始后,它会从 Z=0.60 m 的位置下落并与地面碰撞。
|
| 94 |
-
-->
|
| 95 |
-
<body name="falling_cube" pos="0.45 0 0.60">
|
| 96 |
-
<freejoint/>
|
| 97 |
-
<geom name="falling_cube_geom"
|
| 98 |
-
type="box"
|
| 99 |
-
size="0.084 0.084 0.084"
|
| 100 |
-
mass="1.0"
|
| 101 |
-
rgba="0.90 0.25 0.15 1"/>
|
| 102 |
-
</body>
|
| 103 |
-
|
| 104 |
-
<!--
|
| 105 |
-
link1 是固定立柱,不设置 joint,因此与世界坐标系刚性连接。
|
| 106 |
-
底座顶面高度:0.02 + 0.022 = 0.042 m。
|
| 107 |
-
link1 的完整高度:0.084 × 2 = 0.168 m。
|
| 108 |
-
link1 的 body 原点放在底座顶面,几何中心向上偏移 0.084 m,
|
| 109 |
-
因此 link1 的底面与底座顶面正好贴合。
|
| 110 |
-
-->
|
| 111 |
-
<body name="link1" pos="0 0 0.042">
|
| 112 |
-
<geom name="link1_box"
|
| 113 |
-
type="box"
|
| 114 |
-
pos="0 0 0.084"
|
| 115 |
-
size="0.084 0.084 0.084"
|
| 116 |
-
mass="0.440"
|
| 117 |
-
rgba="0.42 0.45 0.50 1"/>
|
| 118 |
-
|
| 119 |
-
<site name="link1_tip"
|
| 120 |
-
type="sphere"
|
| 121 |
-
pos="0 0 0.168"
|
| 122 |
-
size="0.012"
|
| 123 |
-
rgba="1 0.1 0.1 1"/>
|
| 124 |
-
|
| 125 |
-
<!--
|
| 126 |
-
MuJoCo 的 joint 必须定义在相对父 body 运动的子 body 中。
|
| 127 |
-
link2 位于 link1 顶面,joint1 的转轴取 Z 轴方向。
|
| 128 |
-
link1 顶面�� XY 平面,因此 axis="0 0 1" 垂直于顶面;
|
| 129 |
-
link2 将绕穿过顶面中心的 Z 轴做一维旋转。
|
| 130 |
-
-->
|
| 131 |
-
<body name="link2" pos="0 0 0.168">
|
| 132 |
-
<!--
|
| 133 |
-
摩擦初始估计:
|
| 134 |
-
frictionloss="0.12" 表示约 0.12 N·m 的库仑摩擦力矩;
|
| 135 |
-
damping="0.010" 表示 0.010 N·m·s/rad 的线性粘性阻尼。
|
| 136 |
-
在空载转速 30.997 rad/s 时,总阻力矩约为:
|
| 137 |
-
0.12 + 0.010 × 30.997 ≈ 0.43 N·m。
|
| 138 |
-
这与手册空载电流 0.5 Arms × 转矩常数 0.87 N·m/Arms
|
| 139 |
-
得到的约 0.435 N·m 接近,适合作为首次仿真的保守起点。
|
| 140 |
-
该拆分值并非厂家标定结果,后续应通过实机自由减速或阶跃实验辨识。
|
| 141 |
-
电机可连续多圈旋转,没有机械刚性限位,因此 limited="false",
|
| 142 |
-
不设置 range;qpos 中的关节角可以超过 ±2π 并持续累积。
|
| 143 |
-
-->
|
| 144 |
-
<joint name="joint1"
|
| 145 |
-
type="hinge"
|
| 146 |
-
pos="0 0 0"
|
| 147 |
-
axis="0 0 1"
|
| 148 |
-
limited="false"
|
| 149 |
-
damping="0.010"
|
| 150 |
-
frictionloss="0.12"/>
|
| 151 |
-
|
| 152 |
-
<!--
|
| 153 |
-
用薄圆柱表示居中的电机输出转轴。
|
| 154 |
-
转轴直径 33 mm,所以半径为 0.0165 m。
|
| 155 |
-
cylinder 的 size 为“半径、半高”,因此半高 0.0005 m
|
| 156 |
-
对应完整厚度 0.001 m,即 1 mm。
|
| 157 |
-
转轴质量尚未提供,mass="0" 表示暂不计入 link2 的质量和惯量。
|
| 158 |
-
-->
|
| 159 |
-
<geom name="joint1_shaft"
|
| 160 |
-
type="cylinder"
|
| 161 |
-
pos="0 0 0.0005"
|
| 162 |
-
size="0.0165 0.0005"
|
| 163 |
-
mass="0"
|
| 164 |
-
rgba="0.28 0.32 0.40 1"/>
|
| 165 |
-
|
| 166 |
-
<!--
|
| 167 |
-
link2_box 与 link1_box 尺寸完全相同:
|
| 168 |
-
完整尺寸为 0.168 m × 0.168 m × 0.168 m。
|
| 169 |
-
转轴顶面位于 Z=0.001 m,因此方块中心放在
|
| 170 |
-
0.001 + 0.084 = 0.085 m,使其底面正好落在转轴顶面。
|
| 171 |
-
-->
|
| 172 |
-
<geom name="link2_box"
|
| 173 |
-
type="box"
|
| 174 |
-
pos="0 0 0.085"
|
| 175 |
-
size="0.084 0.084 0.084"
|
| 176 |
-
mass="0.130"
|
| 177 |
-
rgba="0.90 0.91 0.93 1"/>
|
| 178 |
-
|
| 179 |
-
<site name="link2_tip"
|
| 180 |
-
type="sphere"
|
| 181 |
-
pos="0 0 0.169"
|
| 182 |
-
size="0.010"
|
| 183 |
-
rgba="0.10 0.90 0.20 1"/>
|
| 184 |
-
|
| 185 |
-
<!--
|
| 186 |
-
第二组连杆安装在 link2 的局部 +X 侧面。
|
| 187 |
-
link3 是 link1 的复制体,直接粘连在 link2 侧面,不设置 joint。
|
| 188 |
-
|
| 189 |
-
link3 的 body 原点位于 link2 的 +X 侧面中心:
|
| 190 |
-
link2_box 的 +X 侧面为 X=0.084 m;
|
| 191 |
-
link2_box 的中心高度为 Z=0.085 m。
|
| 192 |
-
euler 绕 Y 轴旋转 +90°,使复制体原来的局部 +Z 方向指向
|
| 193 |
-
link2 的局部 +X 方向。这样 link3 会从 link2 侧面向外延伸。
|
| 194 |
-
-->
|
| 195 |
-
<body name="link3"
|
| 196 |
-
pos="0.084 0 0.085"
|
| 197 |
-
euler="0 1.57079632679 0">
|
| 198 |
-
<geom name="link3_box"
|
| 199 |
-
type="box"
|
| 200 |
-
pos="0 0 0.084"
|
| 201 |
-
size="0.084 0.084 0.084"
|
| 202 |
-
mass="0.440"
|
| 203 |
-
rgba="0.42 0.45 0.50 1"/>
|
| 204 |
-
|
| 205 |
-
<site name="link3_tip"
|
| 206 |
-
type="sphere"
|
| 207 |
-
pos="0 0 0.168"
|
| 208 |
-
size="0.012"
|
| 209 |
-
rgba="1 0.45 0.10 1"/>
|
| 210 |
-
|
| 211 |
-
<!--
|
| 212 |
-
link4 是 link2 的复制体,并通过 joint2 与 link3 相连。
|
| 213 |
-
joint2 在 link3 外侧面的中心,轴线沿复制体的局部 Z 轴。
|
| 214 |
-
由于 link3 已绕 Y 轴转过 90°,joint2 的轴线在 link2
|
| 215 |
-
局部坐标中就是 +X,旋转平面为 YZ。
|
| 216 |
-
|
| 217 |
-
joint1 的轴线为 Z、旋转平面为 XY,因此 joint2 的旋转平面
|
| 218 |
-
与 joint1 的旋转平面互相垂直。
|
| 219 |
-
-->
|
| 220 |
-
<body name="link4" pos="0 0 0.168">
|
| 221 |
-
<joint name="joint2"
|
| 222 |
-
type="hinge"
|
| 223 |
-
pos="0 0 0"
|
| 224 |
-
axis="0 0 1"
|
| 225 |
-
limited="false"
|
| 226 |
-
damping="0.010"
|
| 227 |
-
frictionloss="0.12"/>
|
| 228 |
-
|
| 229 |
-
<!-- 第二个 CyberGear 转轴:直径 33 mm,完整厚度 1 mm。 -->
|
| 230 |
-
<geom name="joint2_shaft"
|
| 231 |
-
type="cylinder"
|
| 232 |
-
pos="0 0 0.0005"
|
| 233 |
-
size="0.0165 0.0005"
|
| 234 |
-
mass="0"
|
| 235 |
-
rgba="0.28 0.32 0.40 1"/>
|
| 236 |
-
|
| 237 |
-
<geom name="link4_box"
|
| 238 |
-
type="box"
|
| 239 |
-
pos="0 0 0.085"
|
| 240 |
-
size="0.084 0.084 0.084"
|
| 241 |
-
mass="0.130"
|
| 242 |
-
rgba="0.90 0.91 0.93 1"/>
|
| 243 |
-
|
| 244 |
-
<site name="link4_tip"
|
| 245 |
-
type="sphere"
|
| 246 |
-
pos="0 0 0.169"
|
| 247 |
-
size="0.010"
|
| 248 |
-
rgba="0.15 0.80 1.00 1"/>
|
| 249 |
-
|
| 250 |
-
<!--
|
| 251 |
-
在 link4_box 的局部 +Y 侧面连接三个 link4 复制体:
|
| 252 |
-
link5、link6、link7 均为 0.168 m 立方体;
|
| 253 |
-
每块质�� 0.130 kg,颜色与从动块相同;
|
| 254 |
-
三者不设置 joint,因此与 link4 刚性连接并随 joint2 一起运动。
|
| 255 |
-
|
| 256 |
-
link4_box 的 +Y 侧面位于 Y=0.084 m,侧面中心高度为 Z=0.085 m。
|
| 257 |
-
link5 的 body 原点放在该侧面中心,并绕局部 X 轴旋转 -90°,
|
| 258 |
-
使 link5 原来的局部 +Z 延伸方向转为 link4 的局部 +Y。
|
| 259 |
-
link6、link7 再沿 link5 的局部 +Z 方向依次粘连。
|
| 260 |
-
-->
|
| 261 |
-
<body name="link5"
|
| 262 |
-
pos="0 0.084 0.085"
|
| 263 |
-
euler="-1.57079632679 0 0">
|
| 264 |
-
<geom name="link5_box"
|
| 265 |
-
type="box"
|
| 266 |
-
pos="0 0 0.084"
|
| 267 |
-
size="0.084 0.084 0.084"
|
| 268 |
-
mass="0.130"
|
| 269 |
-
rgba="0.90 0.91 0.93 1"/>
|
| 270 |
-
|
| 271 |
-
<body name="link6" pos="0 0 0.168">
|
| 272 |
-
<geom name="link6_box"
|
| 273 |
-
type="box"
|
| 274 |
-
pos="0 0 0.084"
|
| 275 |
-
size="0.084 0.084 0.084"
|
| 276 |
-
mass="0.130"
|
| 277 |
-
rgba="0.90 0.91 0.93 1"/>
|
| 278 |
-
|
| 279 |
-
<body name="link7" pos="0 0 0.168">
|
| 280 |
-
<geom name="link7_box"
|
| 281 |
-
type="box"
|
| 282 |
-
pos="0 0 0.084"
|
| 283 |
-
size="0.084 0.084 0.084"
|
| 284 |
-
mass="0.130"
|
| 285 |
-
rgba="0.90 0.91 0.93 1"/>
|
| 286 |
-
|
| 287 |
-
<site name="arm_tip"
|
| 288 |
-
type="sphere"
|
| 289 |
-
pos="0 0 0.168"
|
| 290 |
-
size="0.010"
|
| 291 |
-
rgba="0.95 0.25 0.20 1"/>
|
| 292 |
-
</body>
|
| 293 |
-
</body>
|
| 294 |
-
</body>
|
| 295 |
-
</body>
|
| 296 |
-
</body>
|
| 297 |
-
</body>
|
| 298 |
-
</body>
|
| 299 |
-
</worldbody>
|
| 300 |
-
|
| 301 |
-
<actuator>
|
| 302 |
-
<!--
|
| 303 |
-
CyberGear 手册给出的 4 N·m 额定转矩和 12 N·m 峰值转矩是负载输出端参数。
|
| 304 |
-
因此本模型直接在输出关节上施加力矩,gear="1",不能再乘 7.75,
|
| 305 |
-
否则会把内置减速比重复计算一次。
|
| 306 |
-
|
| 307 |
-
ctrl 的单位为 N·m,允许范围 ±12 N·m;forcerange 再做一次硬限幅。
|
| 308 |
-
12 N·m 只能短时使用,持续运行应由控制程序按照 4 N·m 额定值和
|
| 309 |
-
手册过载时间曲线进行热保护。
|
| 310 |
-
|
| 311 |
-
手册没有直接给出转子惯量、粘性阻尼和摩擦参数,因此暂不填写
|
| 312 |
-
armature;joint1、joint2 中的 damping 和 frictionloss 是依据空载数据配置的
|
| 313 |
-
初始估计值,后续仍应通过实物辨识修正。
|
| 314 |
-
-->
|
| 315 |
-
<motor name="joint1_motor"
|
| 316 |
-
joint="joint1"
|
| 317 |
-
gear="1"
|
| 318 |
-
ctrlrange="-12 12"
|
| 319 |
-
forcerange="-12 12"/>
|
| 320 |
-
<motor name="joint2_motor"
|
| 321 |
-
joint="joint2"
|
| 322 |
-
gear="1"
|
| 323 |
-
ctrlrange="-12 12"
|
| 324 |
-
forcerange="-12 12"/>
|
| 325 |
-
</actuator>
|
| 326 |
-
|
| 327 |
-
<keyframe>
|
| 328 |
-
<!--
|
| 329 |
-
qpos 顺序:自由关节的位置 xyz、四元数 wxyz、joint1 角度、joint2 角度。
|
| 330 |
-
ctrl 顺序:joint1_motor、joint2_motor。
|
| 331 |
-
-->
|
| 332 |
-
<key name="home" qpos="0.45 0 0.60 1 0 0 0 0 0" ctrl="0 0"/>
|
| 333 |
-
</keyframe>
|
| 334 |
-
</mujoco>
|
|
|
|
|
|
|
|
|
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2 |
-
"name": "ArmBot",
|
| 3 |
-
"version": 1,
|
| 4 |
-
"units": "m",
|
| 5 |
-
"up_axis": "z",
|
| 6 |
-
"grid_unit": 0.01,
|
| 7 |
-
"meshes": {
|
| 8 |
-
"arm_cell": {
|
| 9 |
-
"path": "meshes/arm_visual.obj",
|
| 10 |
-
"unit_scale": 1.0,
|
| 11 |
-
"mass_kg": 0.13,
|
| 12 |
-
"center_of_mass_m": [
|
| 13 |
-
-5.050485391555241e-05,
|
| 14 |
-
-0.0002273566792648147,
|
| 15 |
-
5.0487426293626646e-05
|
| 16 |
-
],
|
| 17 |
-
"inertia_kg_m2": [
|
| 18 |
-
0.00016527208674153121,
|
| 19 |
-
-7.393610395979322e-07,
|
| 20 |
-
-7.411715131201471e-07,
|
| 21 |
-
0.00016503704378293014,
|
| 22 |
-
-7.423474102103212e-07,
|
| 23 |
-
0.00016527210233976312
|
| 24 |
-
]
|
| 25 |
-
},
|
| 26 |
-
"joint_root": {
|
| 27 |
-
"path": "meshes/joint0_visual.obj",
|
| 28 |
-
"unit_scale": 0.001,
|
| 29 |
-
"mass_kg": 0.52,
|
| 30 |
-
"center_of_mass_m": [
|
| 31 |
-
7.872585716150412e-05,
|
| 32 |
-
4.2937453472459255e-05,
|
| 33 |
-
0.031338424478622416
|
| 34 |
-
],
|
| 35 |
-
"inertia_kg_m2": [
|
| 36 |
-
0.00047678546444433895,
|
| 37 |
-
-5.813848298926828e-09,
|
| 38 |
-
-7.581437930804251e-07,
|
| 39 |
-
0.0004755276390086778,
|
| 40 |
-
1.0606352907365712e-07,
|
| 41 |
-
0.00045717125725050237
|
| 42 |
-
]
|
| 43 |
-
},
|
| 44 |
-
"joint_moving": {
|
| 45 |
-
"path": "meshes/joint1_visual.obj",
|
| 46 |
-
"unit_scale": 0.001,
|
| 47 |
-
"mass_kg": 0.1,
|
| 48 |
-
"center_of_mass_m": [
|
| 49 |
-
-3.968157838847393e-05,
|
| 50 |
-
4.0124491722277395e-05,
|
| 51 |
-
-0.04140600580370087
|
| 52 |
-
],
|
| 53 |
-
"inertia_kg_m2": [
|
| 54 |
-
0.00011909973748651182,
|
| 55 |
-
3.5517171537644183e-06,
|
| 56 |
-
4.072070853807783e-07,
|
| 57 |
-
0.00011910163217863237,
|
| 58 |
-
4.1077991047008635e-07,
|
| 59 |
-
0.00011776714909855214
|
| 60 |
-
]
|
| 61 |
-
}
|
| 62 |
-
},
|
| 63 |
-
"materials": {
|
| 64 |
-
"arm": [0.92, 0.93, 0.94, 1.0],
|
| 65 |
-
"joint": [0.44, 0.47, 0.51, 1.0],
|
| 66 |
-
"shaft": [0.22, 0.24, 0.27, 1.0]
|
| 67 |
-
}
|
| 68 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
arms/ArmBot/meshes/arm_visual.obj
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:35dae1b68530498539566036d2c885ae61997c33ad6426459d980dda774c0032
|
| 3 |
-
size 1427581
|
|
|
|
|
|
|
|
|
|
|
|
arms/ArmBot/meshes/collision/arm_block.obj
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b0bc82db5c2c95e488fa966c59b22d68207228b676b3e37dbc830303731dbef4
|
| 3 |
-
size 28014
|
|
|
|
|
|
|
|
|
|
|
|
arms/ArmBot/meshes/collision/joint_block.obj
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:88c4accbae406d1fbf3b5e0a9b6c04dc635ff406dd505623ed21b7b18ff086bd
|
| 3 |
-
size 28021
|
|
|
|
|
|
|
|
|
|
|
|
arms/ArmBot/meshes/gripper_adapter.obj
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4da3104309ebe2dd888691afdb110192851008368a8c770da60c0d1cf0f6a666
|
| 3 |
-
size 1861537
|
|
|
|
|
|
|
|
|
|
|
|
arms/ArmBot/meshes/joint0_visual.mtl
DELETED
|
@@ -1,11 +0,0 @@
|
|
| 1 |
-
newmtl Shell
|
| 2 |
-
Ka 0.12 0.12 0.12
|
| 3 |
-
Kd 0.72 0.72 0.70
|
| 4 |
-
Ks 0.18 0.18 0.18
|
| 5 |
-
Ns 80
|
| 6 |
-
|
| 7 |
-
newmtl Gold
|
| 8 |
-
Ka 0.20 0.14 0.02
|
| 9 |
-
Kd 0.83 0.61 0.12
|
| 10 |
-
Ks 0.55 0.42 0.12
|
| 11 |
-
Ns 280
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
arms/ArmBot/meshes/joint0_visual.obj
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e6dc76f7794e6c4a0119861c67780e18669ddd184195a30801fbbdcf548c2baa
|
| 3 |
-
size 4194056
|
|
|
|
|
|
|
|
|
|
|
|
arms/ArmBot/meshes/joint1_visual.mtl
DELETED
|
@@ -1,11 +0,0 @@
|
|
| 1 |
-
newmtl Shell
|
| 2 |
-
Ka 0.12 0.12 0.12
|
| 3 |
-
Kd 0.72 0.72 0.70
|
| 4 |
-
Ks 0.18 0.18 0.18
|
| 5 |
-
Ns 80
|
| 6 |
-
|
| 7 |
-
newmtl Gold
|
| 8 |
-
Ka 0.20 0.14 0.02
|
| 9 |
-
Kd 0.83 0.61 0.12
|
| 10 |
-
Ks 0.55 0.42 0.12
|
| 11 |
-
Ns 280
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
arms/ArmBot/meshes/joint1_visual.obj
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b9d27e9bf5171289bb2a661e2bd97e0b38d0b033939aad0dc960f173c85abbf9
|
| 3 |
-
size 3473949
|
|
|
|
|
|
|
|
|
|
|
|
arms/ArmBot/meshes/original/joint_0.obj
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:00d50108d7c89efc40f644da68a8e44e05d66cd7b6a509c4f21a39a81ae5ce7d
|
| 3 |
-
size 1743470
|
|
|
|
|
|
|
|
|
|
|
|
arms/ArmBot/meshes/original/joint_1.obj
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f1379c5672661075cfd7ab8c67709431c00fb19b062ec3897029bf1e9d634747
|
| 3 |
-
size 1831223
|
|
|
|
|
|
|
|
|
|
|
|
arms/ArmBot/meshes/original/joint_motor.obj
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:89fe8973985a335a5a73aec9c106d8b3e2376d252fd8d00f86470a530cd887e0
|
| 3 |
-
size 6360034
|
|
|
|
|
|
|
|
|
|
|
|
grippers/gloria_m/manifest.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
| 8 |
},
|
| 9 |
"links": {
|
| 10 |
"adapter": {
|
| 11 |
-
"mesh": "../../arms/
|
| 12 |
"rgba": [0.44, 0.47, 0.51, 1.0],
|
| 13 |
"mass_kg": 0.04,
|
| 14 |
"center_of_mass_m": [0.0, 0.0, 0.005026381428334543],
|
|
|
|
| 8 |
},
|
| 9 |
"links": {
|
| 10 |
"adapter": {
|
| 11 |
+
"mesh": "../../arms/armbot/meshes/gripper_adapter.obj",
|
| 12 |
"rgba": [0.44, 0.47, 0.51, 1.0],
|
| 13 |
"mass_kg": 0.04,
|
| 14 |
"center_of_mass_m": [0.0, 0.0, 0.005026381428334543],
|