From fb7448209111f3bcb84e55d7cbaeb49f4da304f3 Mon Sep 17 00:00:00 2001 From: AaronYoung5 Date: Sat, 4 Nov 2023 13:38:59 -0400 Subject: [PATCH] Fixed NVRTC bug really --- docker/data/.gitignore | 2 ++ docker/snippets/chrono.dockerfile | 2 +- sim/python/demo_ART_cone.py | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 docker/data/.gitignore diff --git a/docker/data/.gitignore b/docker/data/.gitignore new file mode 100644 index 00000000..d6b7ef32 --- /dev/null +++ b/docker/data/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/docker/snippets/chrono.dockerfile b/docker/snippets/chrono.dockerfile index d0d7ad34..7cb8df4f 100644 --- a/docker/snippets/chrono.dockerfile +++ b/docker/snippets/chrono.dockerfile @@ -77,7 +77,7 @@ RUN git clone --recursive -b ${CHRONO_BRANCH} ${CHRONO_REPO} ${CHRONO_DIR} && \ -DEigen3_DIR=/usr/lib/cmake/eigen3 \ -DOptiX_INCLUDE=/opt/optix/include \ -DOptiX_INSTALL_DIR=/opt/optix \ - -DUSE_CUDA_NVRTC=OFF \ + -DUSE_CUDA_NVRTC=ON \ -DNUMPY_INCLUDE_DIR=$(python3 -c 'import numpy; print(numpy.get_include())') \ -DCMAKE_INSTALL_PREFIX=${CHRONO_INSTALL_DIR} \ -Dvsg_DIR=/opt/vsg/lib/cmake/vsg \ diff --git a/sim/python/demo_ART_cone.py b/sim/python/demo_ART_cone.py index 04b06e98..71e781e7 100644 --- a/sim/python/demo_ART_cone.py +++ b/sim/python/demo_ART_cone.py @@ -15,7 +15,8 @@ def main(args): DATA_DIR = "/opt/chrono/share/chrono/data" chrono.SetChronoDataPath(f"{DATA_DIR}/") veh.SetDataPath(f"{DATA_DIR}/vehicle/") - sens.SetSensorShaderDir("/opt/chrono/lib/sensor_ptx/") + # sens.SetSensorShaderDir("/opt/chrono/lib/sensor_ptx/") + # sens.SetSensorShaderDir("/home/art/chrono/build/lib/sensor_ptx") # Create the vehicle init_loc = chrono.ChVectorD(-2.2, 0.5, 0.2)