Skip to content

Commit

Permalink
[fr3] Fix indentation issues in README.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 639122520
Change-Id: I3f6a1317e2dbf383dd66b1b6f77d2a1174a01118
  • Loading branch information
kevinzakka authored and copybara-github committed May 31, 2024
1 parent 7876dcd commit acbbf16
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions franka_fr3/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Franka Robotics FR3 Description (MJCF)

Requires MuJoCo 3.1.3 or later.
> [!IMPORTANT]
> Requires MuJoCo 3.1.3 or later.
## Overview

Expand All @@ -13,10 +14,10 @@ This package contains a simplified robot description (MJCF) of the [Franka Resea
## URDF → MJCF derivation steps

1. Ran the URDF generation [script](https://github.com/frankaemika/franka_description/blob/main/scripts/create_urdf.sh) in [franka_description](https://github.com/frankaemika/franka_description).
* Command used: `./scripts/create_urdf.sh fr3`
* Command used: `./scripts/create_urdf.sh fr3`
2. Converted the DAE visual meshes to OBJ using [Blender](https://www.blender.org/).
* Removed license headers in the DAE files to properly load in Blender.
* When exporting, ensure "up axis" is +Z, and "forward axis" is +Y.
* Removed license headers in the DAE files to properly load in Blender.
* When exporting, ensure "up axis" is +Z, and "forward axis" is +Y.
3. Processed OBJ files with [`obj2mjcf`](https://github.com/kevinzakka/obj2mjcf).
4. Added `<mujoco> <compiler discardvisual="true" strippath="false" fusestatic="false" balanceinertia="true"/> </mujoco>` to the URDF's `<robot>` clause.
5. Loaded the URDF into MuJoCo and saved a corresponding MJCF.
Expand Down
4 changes: 2 additions & 2 deletions franka_fr3/fr3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
<material name="black" rgba=".2 .2 .2 1"/>
<material name="white" rgba="1 1 1 1"/>
<material name="red" rgba="1 0.072272 0.039546 1"/>
<material name="green" rgba="0.102241 0.571125 0.102242 1"/>
<material name="gray" rgba="0.863156 0.863156 0.863157 1"/>
<material name="button_green" rgba="0.102241 0.571125 0.102242 1"/>
<material name="button_red" rgba="0.520996 0.008023 0.013702 1"/>
<material name="button_blue" rgba="0.024157 0.445201 0.737911 1"/>

Expand Down Expand Up @@ -114,7 +114,7 @@
<inertial pos="0.0597131 -0.0410295 -0.0101693" quat="0.593933 0.525442 0.520644 0.316361"
mass="1.81704" diaginertia="0.00483538 0.00483538 0.00483538"/>
<joint name="fr3_joint6" axis="0 0 1" range="0.5445 4.5169" actuatorfrcrange="-12 12"/>
<geom mesh="link6_0" material="green" class="visual"/>
<geom mesh="link6_0" material="button_green" class="visual"/>
<geom mesh="link6_1" material="white" class="visual"/>
<geom mesh="link6_2" material="white" class="visual"/>
<geom mesh="link6_3" material="gray" class="visual"/>
Expand Down

0 comments on commit acbbf16

Please sign in to comment.