only one environment spawns in the simulation, even though --num_envs 10 #4270
Unanswered
SuddenCucumber
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A little bit of context: i am trying to set up RL for a quadruped robot. My direct environments consist of a ground plane, the robot, and light.
Problem: I set --num_envs 10, and when using print(env_ids), as well as printing xyz position, i get a reading on all 10 environments. However, in the 3D simulation, only one environment is loaded in, and one robot is for some reason "half-buried" in the ground plane at 0,0,0. Currently, env_spacing = 1.0, and changing it makes no difference.
Here is the image of that single robot and the "half-buried" robot, which is also missing its legs, for some reason. It is visible from the right of the image that there is only one environment running in the simulation, meaning that isaaclab creates the other environments and somehow does not load them into the simulation (i don't know how this works, so i am hypothesizing).

I noticed that when setting clone_in_fabric = False and (optionally) replicate_physics = False, this issue seems to go away. For my purposes, however, I want to have clone_in_fabric = True and replicate_physics = True as well, besides the cartpole tutorial has them set as such and does not have problems with cloning environments.
any help would be appreciated
Beta Was this translation helpful? Give feedback.
All reactions