google / brax

Massively parallel rigidbody physics simulation on accelerator hardware.
Apache License 2.0
2.34k stars 255 forks source link

Raycast functionality? #264

Closed minqi closed 1 year ago

minqi commented 1 year ago

Is there any equivalent of Mujoco's raycast feature in Brax or planned for a future release? I am interested in creating an environment that provides the agent with LIDAR-style observations.

btaba commented 1 year ago

Hi @minqi , we don't currently have that implemented and don't have that specific feature planned as of now. The next closest thing: brax/io/image.py (which we do plan on overhauling, which may include convenient raycasting as a byproduct)