vikashplus / robohive

A unified framework for robot learning
https://sites.google.com/view/robohive
Apache License 2.0
489 stars 82 forks source link

Creating a bright colored LED-like object ? #145

Closed dosssman closed 4 months ago

dosssman commented 4 months ago

Hello everyone. Thanks a lot for your answer on Twitter @vikashplus . Opening in issue as you suggested.

I am currently working with the Franka arms environment for pick and place. I am trying to create an object looking like a moderately bright LED. For example, the blue status LED at the base of the Franka robotics Arm, like the screenshot below.

So far I have played with the light from the docs but it seems to only support general room lighting.

Another thing I tried was the lightButton from furniture_sim repository, but the "light effect" has neither _reflection nor shininess-like properties.

Is perhaps another way to achieve the aforementioned desired effect ? Or more generally, an object that is emitting light itself ?

Thanks a lot for your continued assistance. Looking forward to hear from you again. Best regards.

image

PS: Also asked this at the Mujoco repository: https://github.com/google-deepmind/mujoco/issues/1626

vikashplus commented 4 months ago

Closest to what you are asking can be achieved by

  1. creating a geom in the shape of the light
  2. changing the rgba=".5 .5 10 1" when you want to turn it on
dosssman commented 4 months ago

Thanks a lot ! Definitely going to be of some help.