google-deepmind / google-deepmind/mujoco_playground

How to stop Franka finger pad color override to white

Open
#170 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
2.2k
Forks
359
Avg merge
7d 3h
Merged PRs (30d)
1

Description

`mujoco_playground/mujoco_playground/_src/manipulation/franka_emika_panda/pick_cartesian.py`
```
def modify_model(self, mj_model: mujoco.MjModel):
# Expand floor size to non-zero so Madrona can render it
mj_model.geom_size[mj_model.geom('floor').id, :2] = [5.0, 5.0]

# # Make the finger pads white for increased visibility
# mesh_id = mj_model.mesh('finger_1').id
# geoms = [
# idx
# for idx, data_id in enumerate(mj_model.geom_dataid)
# if data_id == mesh_id
# ]
# mj_model.geom_matid[geoms] = mj_model.mat('off_white').id
return mj_model
```
I've tried commenting out the block of code responsible for making the finger pads white but when I compile the environment I still see the white finger pads.

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.