-
Notifications
You must be signed in to change notification settings - Fork 37
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
Upgrades the repo to the latest version of IsaacLab #32
Conversation
@fan-ziqi I added your changes here along with some more updates. Please let me know if everything still works for you, then we can update and merge the repo. @heyshouzi if you merge this PR already in the local copy, everything should work and the locomotion policy should be found |
Thank you for your approval. I will test your modifications now. and if everything works without errors, I will reply under this PR. |
@fan-ziqi thanks a lot, will address the comments now |
I don’t have any other questions on my side aside from the ones mentioned above. I will contact you via email about training data collection. |
@fan-ziqi, thanks a lot again for the detailed feedback; I fixed all the remarks that you had. For the problems with Carla, please download the asset again (it now has colliders enabled). Regarding point 1), this extension is not ported as it is not necessary for the demo scripts. |
@fan-ziqi let me know if there are any new bugs for you, otherwise I merge it by the end of the day. Thanks again for your help |
I discovered an issue and resolved it. Here’s the problem description and solution: When using the Usd.Stage.Open(rootLayer=Sdf.Find('anon:0x23b593e0:tmp.usda'), sessionLayer=Sdf.Find('anon:0x23b3f000:tmp-session.usda'), pathResolverContext=<invalid repr>)
2024-10-22 11:14:00 [5,398ms] [Warning] [omni.usd] Warning: in SdfPath at line 81 of /builds/omniverse/usd-ci/USD/pxr/usd/sdf/path.cpp -- Ill-formed SdfPath </0c334eaabb844eaaad049cbbb2e0a4f2>: syntax error
Traceback (most recent call last):
File "/home/ubuntu/workspaces/viplanner_ws/viplanner/../IsaacLab/source/standalone/tools/convert_mesh.py", line 177, in <module>
main()
File "/home/ubuntu/workspaces/viplanner_ws/viplanner/../IsaacLab/source/standalone/tools/convert_mesh.py", line 147, in main
mesh_converter = MeshConverter(mesh_converter_cfg)
File "/home/ubuntu/workspaces/viplanner_ws/IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/sim/converters/mesh_converter.py", line 58, in __init__
super().__init__(cfg=cfg)
File "/home/ubuntu/workspaces/viplanner_ws/IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/sim/converters/asset_converter_base.py", line 104, in __init__
self._convert_asset(cfg)
File "/home/ubuntu/workspaces/viplanner_ws/IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/sim/converters/mesh_converter.py", line 85, in _convert_asset
asyncio.get_event_loop().run_until_complete(
File "/home/ubuntu/anaconda3/envs/viplanner/lib/python3.10/site-packages/omni/extscore/omni.kit.async_engine/omni/kit/async_engine/async_engine.py", line 160, in run_until_complete
return self.super_run_until_complete(future)
File "/home/ubuntu/anaconda3/envs/viplanner/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/home/ubuntu/workspaces/viplanner_ws/IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/sim/converters/mesh_converter.py", line 223, in _convert_mesh_to_usd
base_prim = temp_stage.DefinePrim(prim_path, "Xform")
pxr.Tf.ErrorException:
Error in 'pxrInternal_v0_22__pxrReserved__::UsdStage::_IsValidPathForCreatingPrim' at line 3340 in file /builds/omniverse/usd-ci/USD/pxr/usd/usd/stage.cpp : 'Path must be an absolute path: <>' The reason is that the obj file in this scene starts with a number( I think it’s necessary to mention this in README, as the error message doesn’t indicate the underlying problem. Perhaps we should inform the IsaacLab team to modify the |
Great find! We can make a note in the readme about it and make an issue in IsaacLab |
Any other issues you encountered? |
Yes, I will send it out asap. |
The conversion script generates two USD files: When I test using the bandicam.2024-10-22.20-06-12-354.mp4However, when I use the bandicam.2024-10-22.20-07-10-873.mp4In addition, even if I don't fix the coordinate system and scaling factors after running the conversion script and simply save the file, the |
In this case, the conversion function has been updated. Personally, I converted the assets a long time ago. I will add another node that the *_non_metric.usd should be used. Thanks for investigating that. |
The quaternion rotation axis for Carla is incorrect; the initial state in the code rotates around its own roll. It should be changed to the following(yaw -90), so the robot can initialize properly without falling. self.scene.robot.init_state.rot = (0.707, 0.0, 0.0, -0.707) |
After testing, on my side, there are no more bugs in the demo section so far. Below are the final recordings of the three scenes, which I hope can provide new users with some correct references. Matterportviplanner-matterport.mp4Carlaviplanner-carla.mp4Warehouseviplanner-warehouse.mp4I think you can merge after fixing the above issues. Finally, thank you for your outstanding contributions to this project; it's been a pleasure collaborating with you. |
great, thank you so much. Fixed the rotation now. |
I've opened a issue here isaac-sim/IsaacLab#1287 |
Fixed here isaac-sim/IsaacLab#1302 If merging is possible, the documents for this project need to be modified |
Description
This PR updates the code to the newer version of IsaacLab. Moreover, it removes the need for link the repo
orbit_envs
.