Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Executing Target Following #169

Open
dhruvkm2402 opened this issue Jun 4, 2024 · 0 comments
Open

Error in Executing Target Following #169

dhruvkm2402 opened this issue Jun 4, 2024 · 0 comments

Comments

@dhruvkm2402
Copy link

Hello,
There were two errors in executing target following task.

  1. In the carterv2.py file this was missing "from omni.isaac.core.utils.stage import add_reference_to_stage"

2024-06-04 22:50:46 [56,880ms] [Error] [omni.kit.app._impl] [py stderr]: Error executing job with overrides: ['task=TargetFollowing', 'headless=False']
2024-06-04 22:50:46 [57,059ms] [Error] [omni.kit.app._impl] [py stderr]: Traceback (most recent call last):
2024-06-04 22:50:46 [57,060ms] [Error] [omni.kit.app._impl] [py stderr]: File "/home/dhruvm/Omni_New/OmniIsaacGymEnvs/omniisaacgymenvs/scripts/rlgames_train.py", line 150, in parse_hydra_configs
task = initialize_task(cfg_dict, env)
2024-06-04 22:50:46 [57,060ms] [Error] [omni.kit.app._impl] [py stderr]: File "/home/dhruvm/Omni_New/OmniIsaacGymEnvs/omniisaacgymenvs/utils/task_util.py", line 107, in initialize_task
env.set_task(
2024-06-04 22:50:46 [57,060ms] [Error] [omni.kit.app._impl] [py stderr]: File "/home/dhruvm/Omni_New/OmniIsaacGymEnvs/omniisaacgymenvs/envs/vec_env_rlgames.py", line 47, in set_task
super().set_task(task, backend, sim_params, init_sim, rendering_dt)
2024-06-04 22:50:46 [57,060ms] [Error] [omni.kit.app._impl] [py stderr]: File "/home/dhruvm/.local/share/ov/pkg/isaac-sim-4.0.0/exts/omni.isaac.gym/omni/isaac/gym/vec_env/vec_env_base.py", line 127, in set_task
self._world.reset()
2024-06-04 22:50:46 [57,060ms] [Error] [omni.kit.app._impl] [py stderr]: File "/home/dhruvm/.local/share/ov/pkg/isaac-sim-4.0.0/exts/omni.isaac.core/omni/isaac/core/world/world.py", line 391, in reset
self._scene._finalize(self.physics_sim_view)
2024-06-04 22:50:46 [57,060ms] [Error] [omni.kit.app._impl] [py stderr]: File "/home/dhruvm/.local/share/ov/pkg/isaac-sim-4.0.0/exts/omni.isaac.core/omni/isaac/core/scenes/scene.py", line 375, in _finalize
rigid_prim_view.initialize(physics_sim_view)
2024-06-04 22:50:46 [57,060ms] [Error] [omni.kit.app._impl] [py stderr]: File "/home/dhruvm/.local/share/ov/pkg/isaac-sim-4.0.0/exts/omni.isaac.core/omni/isaac/core/prims/rigid_prim_view.py", line 255, in initialize
angular_velocities = self.get_angular_velocities()
2024-06-04 22:50:46 [57,060ms] [Error] [omni.kit.app._impl] [py stderr]: File "/home/dhruvm/.local/share/ov/pkg/isaac-sim-4.0.0/exts/omni.isaac.core/omni/isaac/core/prims/rigid_prim_view.py", line 816, in get_angular_velocities
return angular_velocities[indices, 3:6]
2024-06-04 22:50:46 [57,060ms] [Error] [omni.kit.app._impl] [py stderr]: RuntimeError: indices should be either on cpu or on the same device as the indexed tensor (cpu)
2024-06-04 22:50:46 [57,060ms] [Error] [omni.kit.app._impl] [py stderr]:
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant