Skip to content

Commit 41f63dd

Browse files
committed
rainbow_robotics_rby1_add
1 parent 20da0c9 commit 41f63dd

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

rainbow_robotics_rby1/README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,18 @@ available MJCF description](https://github.com/RainbowRobotics).
1414
**1. 3D Model / Mesh Preprocessing**
1515
- For each part of the robot (body, joints, wheels, gripper, etc.), you can use tools like [`obj2mjcf`](https://github.com/kevinzakka/obj2mjcf) to convert *.obj or other 3D formats into MJCF if necessary.
1616
- In this example, the meshes and assets.xml files have already been properly preprocessed.
17-
- We also provide the `URDF` file for `RBY1`. Please refer to the [`URDF`](https://github.com/RainbowRobotics/rby1-sdk/blob/main/models/rby1a/urdf/model.urdf) for more details.
17+
- We also provide the `URDF` file for `RBY1`. Please refer to the [URDF](https://github.com/RainbowRobotics/rby1-sdk/blob/main/models/rby1a/urdf/model.urdf) for more details.
1818

1919
**2. Basic MJCF Modifications**
2020
- Review the MJCF file (either exported from MuJoCo or manually created) and adjust <default>, <actuator>, <joint>, etc., to match the robot’s structure.
2121
- In RBY1's case:
22-
- `rby1.xml`
23-
- defines the robot’s base structure (body, joints, mesh assets).
24-
- refines control ranges with position/velocity actuators.
22+
- ``rby1.xml``
23+
- Defines the robot’s base structure (body, joints, mesh assets).
24+
- Refines control ranges with position/velocity actuators.
25+
- Exported From MuJoCo
26+
- Added ``<mujoco> <compiler discardvisual="false"/> </mujoco>`` to the URDF's ``<robot>`` clause.
27+
- Loaded the [URDF](https://github.com/RainbowRobotics/rby1-sdk/blob/main/models/rby1a/urdf/model.urdf) into MuJoCo and saved a corresponding MJCF.
28+
- Use the previously preprocessed meshes to replace the visual and collision geometry.
2529

2630
**3. Free Joint and Collision Exclusion**
2731
- To allow the robot to move freely in 3D, ensure a free joint (e.g., `world_j type="free"`) is added to the base. (In `rby1.xml`, `joint name="world_j" type="free"`)
@@ -38,7 +42,6 @@ This model is released under a [Apache License 2.0](LICENSE.txt).
3842

3943

4044
## Publications
41-
4245
If you use this model in your work, please use the following citation:
4346

4447
```bibtex

0 commit comments

Comments
 (0)