How to create terrain you want

67 views
Skip to first unread message

yaoyiyao

unread,
Dec 15, 2022, 2:44:12 AM12/15/22
to ProjectChrono
Hello,I want create a vehicle model and a real road terrain,then  get the vibration data of the chassis of the vehicle running on the road,I don't know how to choose terrain models in Chrono.I want to choose CRG terrain, I download openCRG,but I can't get  dynamic library files followed  the  tutorial ,so I can't use it  during CMake configuration.I used Win 10 system.who can provide me  files about  openCRG  during CMake configuration.or which terrain models  I should choose?
Many thanks in advance.

dr.ratz...@gmail.com

unread,
Dec 16, 2022, 3:10:02 AM12/16/22
to ProjectChrono
Hi yaoyiyao,

you can find a CMakeLists.txt file in ..../chrono/contrib/opencrg-support. Follow the description there. You should end up with static libraries. DLLs are not needed, you can use the static ones as well. Here is an excerpt from my configuration script:

        -DOPENCRG_INCLUDE_DIR:PATH=$DEPFIX/include \
        -DOPENCRG_LIBRARY:FILEPATH=$DEPFIX/lib/libOpenCRG.lib \

You can of course also use the gui version of cmake and provide these paths (take full paths!).

Best
Reply all
Reply to author
Forward
0 new messages