NVlabs / curobo

CUDA Accelerated Robot Library
https://curobo.org
Other
662 stars 86 forks source link

Changes for Windows 11 #319

Open MikeWise2718 opened 4 days ago

MikeWise2718 commented 4 days ago

Changes to make curobo compile under Win11 (with Visual Studio 2022 Enterprise and Cuda 11.8). Tested with Isaac Sim 4.0.0 Stole a couple changes from curobo_for_windows, but it was not difficult.

These changes should work just as well on Linux.


Update: Tried compiling under Isaac Sim 2023.1.1 and 2023.1.0-hotfix.1 and ran into various import errors. In the end I fixed them all by adding an "import" of the offending module at the head of the python script before the initial "import torch". Explicitly I had to add these lines to get motion_gen_reacher.py to run:

# Third Party
from torch.fx.experimental.symbolic_shapes import expect_true
import numpy.linalg.lapack_lite
import torch
...