isaac-sim / IsaacGymEnvs

Isaac Gym Reinforcement Learning Environments
Other
1.79k stars 392 forks source link

Question: fetch_results in VecTask base environment #155

Open alany1 opened 11 months ago

alany1 commented 11 months ago

In the VecTask class, why is fetch_results only being called if the device is on CPU? In the docs, it says that this is responsible for populating the buffers.

https://github.com/NVIDIA-Omniverse/IsaacGymEnvs/blame/665c32170d84b4be66722eea405a1e08b6e7f761/isaacgymenvs/tasks/base/vec_task.py#L385-L386