Aman, sorry, this fell through the cracks. What do you mean by “it’s not working”?
No, you do not need to move the tutorial directory anywhere. This chrono-tutorial is set up as an “external” project that can link to an existing build or installation of Chrono. See https://api.projectchrono.org/tutorial_install_project.html. Assuming “C:/Users/SAM/Documents/Chrono 8/chrono_tutorial” is where you cloned the chrono-tutorial repository (are you sure it’s chrono_tutorial and not chrono-tutorial?) the source and build directories are fine. Once you hit ‘Configure’, you will be asked to set Chrono_DIR (which should point to a directory that contains a build or install of Chrono). If you have successfully built Chrono, you can pass there the path to the cmake/ directory in the Chrono build tree, probably something like “C:/Users/SAM/Documents/Chrono 8/chrono_build/cmake”. --Radu From: [email protected] <[email protected]> On Behalf Of Aman Chauhan Sent: Monday, September 30, 2024 8:57 AM To: ProjectChrono <[email protected]> Subject: Re: [chrono] Learn and use chrono Thanks for replying and giving some information about learning. I cloned the tutorial repository but unable to configure the project. [cid:[email protected]] Can you please tell what should be the source directory and build directory. Currently I am passing tutorial directory as source directory and made new directory for build directory but it's not working. Also, do I need to paste the tutorial directory in chrono directory ? Currently it's outside. Please tell if you can help. On Saturday, September 28, 2024 at 1:49:15 PM UTC+5:30 Radu Serban wrote: Aman, If you are interested using Chrono, you could start with the set of tutorial exercises in the associated repository chrono-tutorial<https://urldefense.com/v3/__https:/github.com/projectchrono/chrono-tutorial__;!!Mak6IKo!OMZQNEC4qVZszwY6JeEFCRvDGNpqfmtc2WeLsue5k8xCqTYgAmpU-RAtWtoLDTpUecH1trEyj16WbwiJGpQa4A8_$>. Clone that repository and configure it (with CMake) to point to the build of Chrono you already have. That repository contains a set of exercises that you can complete step by step. For multibody dynamics for example, you start with the code in slider_crank_0 (which is a fully functional Chrono demo) and modify it as requested in comments in its source. That should take you to slider_crank_1 which asks you to make further changes. There are similar tutorial exercises for FEA, Chrono::Multicore, Chrono::Vehicle, and Chrono::Sensor. All quite basic, but they will get you started. Of course, you can do similar things yourself, starting from the simpler Chrono demos and modifying them step by step to add components, functionality, etc. If you want to understand how the code works and the steps it goes through to simulate a particular demo, the best thing is to run the demos through a debugger and step through the code and through the various Chrono functions. --Radu From: [email protected] <[email protected]> On Behalf Of Aman Chauhan Sent: Saturday, September 28, 2024 6:14 AM To: ProjectChrono <[email protected]> Subject: [chrono] Learn and use chrono Hello everyone I hope everyone is doing fine. I have a very basic question. I have successfully downloaded chrono and build it's files. Chrono is installed successfully. Now my question is that how can I use chrono to make some simulation and vehicle physics. Currently it has all the demo files which are working but I want to make something my own. Please if anyone can provide a detailed guide on how to start learning chrono, how to use it's classes and functions etc that would be appreciated -- You received this message because you are subscribed to the Google Groups "ProjectChrono" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/cccd7651-b298-4308-b35a-e047ef4022d1n%40googlegroups.com<https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/cccd7651-b298-4308-b35a-e047ef4022d1n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!PSaNpkkvuNRuw0mcgF2OGtAWpw1qYsxHp80GiE3jZuCMbGmaEpEsqpB15ISafkiiTLF8nvaf8DwY9spW2kfi7YaI$>. -- You received this message because you are subscribed to the Google Groups "ProjectChrono" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/493bc1b7-7036-4f35-b5b5-c66790e91ef4n%40googlegroups.com<https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/493bc1b7-7036-4f35-b5b5-c66790e91ef4n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!OMZQNEC4qVZszwY6JeEFCRvDGNpqfmtc2WeLsue5k8xCqTYgAmpU-RAtWtoLDTpUecH1trEyj16WbwiJGvFE-T49$>. -- You received this message because you are subscribed to the Google Groups "ProjectChrono" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/CH3PPF46CDC21858E51FD7C7225321A52D0A7462%40CH3PPF46CDC2185.namprd06.prod.outlook.com.
