Thank you very much. Adding the "/" character resolved the issue. Does this version include the capability to simulate granular systems on Windows using Python?
Best regards, Nnamdi On Monday, August 4, 2025 at 2:07:48 PM UTC-4 [email protected] wrote: > Hi Nnamdi, > > Thank you for the follow up. Yes, on Apr 27, 2025, we renamed SetPlane to > SetReferenceFrame. The details can be found at > https://github.com/projectchrono/chrono/commit/59e3cb4ba24dbb258aa1543a971507a7d0bf2689 > > For the "Cannot open colormap data file > C:/Users/chike/Box/TurtleRobotExperiments/Sea_Turtle_Robot_AI_Powered_Simulations_Project/NnamdiFiles/mujocotest1/chrono/data../data/colormaps/jet-table-float-0512.csv" > > issue, did you put a "/" character at the end of your > "chrono.SetChronoDataPath()" call? For example, you need to use > chrono.SetChronoDataPath("C:/Users/chike/Box/TurtleRobotExperiments/Sea_Turtle_Robot_AI_Powered_Simulations_Project/NnamdiFiles/mujocotest1/chrono/data/") > > instead > of > chrono.SetChronoDataPath("C:/Users/chike/Box/TurtleRobotExperiments/Sea_Turtle_Robot_AI_Powered_Simulations_Project/NnamdiFiles/mujocotest1/chrono/data") > > Once you applied that fix, could you please update on if the window crash > issue gets resolved? > > Thank you very much! > > Best, > > Bocheng Zou > On 8/4/25 17:58, 'Nnamdi Chikere' via ProjectChrono wrote: > > Hi Bocheng, > > It now works, but it broke certain parts of my code. Seems some of the API > and syntax have changed in this version. I noticed changes in the SCM > terrain = veh.SCMTerrain(sys) > # rotate plane > terrain.SetReferenceFrame(chrono.ChCoordsysd( > chrono.ChVector3d(0, scm_plane_y, 0), > chrono.QuatFromAngleX(-math.pi / 2) > )) > # Previous version used: > terrain.SetPlane(chrono.ChCoordsysd( > chrono.ChVector3d(0, scm_plane_y, 0), > chrono.QuatFromAngleX(-math.pi / 2)) > ) > > Upon updating to the new version, I am now faced with a new error when > running the deformable soil ... > Cannot open colormap data file > C:/Users/chike/Box/TurtleRobotExperiments/Sea_Turtle_Robot_AI_Powered_Simulations_Project/NnamdiFiles/mujocotest1/chrono/data../data/colormaps/jet-table-float-0512.csv > I have the data path correctly specified at the top of my code using the > chrono.SetChronoDataPath() > And upon contact with the ground, the window crashes. Do you happen to > have any fixes for this? Also, are there any other changes to the syntax? > > Best regards, > Nnamdi > On Friday, August 1, 2025 at 10:17:21 PM UTC-4 [email protected] wrote: > >> Hi Nnamdi, >> I hope you're doing well. >> We're excited to share that we've refactored the Conda build pipeline and >> released updated distributions of PyChrono with improved cross-platform >> compatibility, which is likely to resolve the issue you encountered. >> To try out the latest release, please create a new environment and run >> the following commands (note that the installation command on the website >> is now oudated): >> >> conda create -n chrono_test python=3.12 -c conda-forge >> >> conda install pychrono -c projectchrono -c dlr-sc -c conda-forge >> Please let us know if there are any remaining issues. >> Best, >> >> Bocheng Zou >> >> On 7/31/25 00:48, Bocheng Zou wrote: >> >> Hi Nnamdi, >> >> Thank you for providing the information. The Windows conda build for >> PyChrono is having know issues recently. We are aware of that and it's >> expected to be fixed within the week. If you are in urgent need of >> PyChrono, I suggest you build from scratch using cmake (Method A) or use >> PyChrono's conda distribution on Linux. >> >> I will keep you posted once the issue in the Windows conda distribution >> is fixed. >> >> Best, >> >> Bocheng Zou >> On 7/31/25 00:45, 'Nnamdi Chikere' via ProjectChrono wrote: >> >> Hello Bocheng, >> >> Thank you for reply. >> I installed PyChrono via method C. PyChrono through Conda (ref: >> https://api.projectchrono.org/pychrono_installation.html >> <https://urldefense.com/v3/__https://api.projectchrono.org/pychrono_installation.html__;!!Mak6IKo!MLRxot5akRpE7PKpP5V6eTs6EVAmfOwIgWN8nnv81XgdLQUax6qVtwZPINjM2zrnQxAA_GMxqAg8ScgcDXtHvaj1guZPig$> >> ) >> For the last step I installed via conda install >> pychrono-9.0.1-py310_5372.tar.bz2 >> >> Best regards, >> Nnamdi >> >> On Wednesday, July 30, 2025 at 12:18:25 PM UTC-4 [email protected] wrote: >> >> Hi Nnamdi, >> >> Thank you for reaching out. I'm Bocheng and I'm a UW-Madison student >> responsible for PyChrono distributions. Could you please clarify the >> specific way you install the PyChrono? We currently support three ways of >> installation on Windows. >> >> A. Build from scratch using cmake (ref: >> https://api.projectchrono.org/tutorial_install_chrono.html >> <https://urldefense.com/v3/__https://api.projectchrono.org/tutorial_install_chrono.html__;!!Mak6IKo!MLRxot5akRpE7PKpP5V6eTs6EVAmfOwIgWN8nnv81XgdLQUax6qVtwZPINjM2zrnQxAA_GMxqAg8ScgcDXtHvahYwqyiWQ$> >> ) >> >> B. Precompiled binaries for Windows (ref: >> https://projectchrono.org/download/ >> <https://urldefense.com/v3/__https://projectchrono.org/download/__;!!Mak6IKo!MLRxot5akRpE7PKpP5V6eTs6EVAmfOwIgWN8nnv81XgdLQUax6qVtwZPINjM2zrnQxAA_GMxqAg8ScgcDXtHvahDjDCVhA$> >> ) >> >> C. PyChrono through Conda (ref: >> https://api.projectchrono.org/pychrono_installation.html >> <https://urldefense.com/v3/__https://api.projectchrono.org/pychrono_installation.html__;!!Mak6IKo!MLRxot5akRpE7PKpP5V6eTs6EVAmfOwIgWN8nnv81XgdLQUax6qVtwZPINjM2zrnQxAA_GMxqAg8ScgcDXtHvaj1guZPig$> >> ) >> >> Could you please specify the way you install the chrono? This will be >> helpful for us to investigate the issue further. >> >> Best, >> >> Bocheng Zou >> >> >> On 7/28/25 21:22, 'Nnamdi Chikere' via ProjectChrono wrote: >> >> Hello, >> >> I have recently been faced with an error whenever I try to run any Python >> programs in PyChrono. Has anyone encountered this before? I use Visual >> Studio Code and Pychrono 9.0.1 on a Windows PC. I followed all the steps >> for installing Pychrono in a virtual environment. I have tried uninstalling >> and reinstalling, but it hasn't helped. Everything worked fine in the same >> env, this error just appeared suddenly. Please, I would like some advice on >> this. >> >> Best regards >> >> [image: Screenshot 2025-07-28 171544.png] >> >> -- >> 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 visit >> https://groups.google.com/d/msgid/projectchrono/1f41206d-20f1-48dd-bd2e-73c48d2665fbn%40googlegroups.com >> >> <https://urldefense.com/v3/__https://groups.google.com/d/msgid/projectchrono/1f41206d-20f1-48dd-bd2e-73c48d2665fbn*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!J5kXNaPEjXw_OFyqXzUyRfxbYeeLeX3B6PUJwtVXHkPAWJRTx8v6iqVLxYyv7WFxY5Kc7ZNgBvU-1EVwmWr-lIlB3LWUZw$> >> . >> >> -- >> 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 visit >> https://groups.google.com/d/msgid/projectchrono/8b5c5803-6308-461f-a84b-24188f960344n%40googlegroups.com >> >> <https://urldefense.com/v3/__https://groups.google.com/d/msgid/projectchrono/8b5c5803-6308-461f-a84b-24188f960344n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!MLRxot5akRpE7PKpP5V6eTs6EVAmfOwIgWN8nnv81XgdLQUax6qVtwZPINjM2zrnQxAA_GMxqAg8ScgcDXtHvaghyluLsg$> >> . >> >> -- > 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 visit > https://groups.google.com/d/msgid/projectchrono/75f5b824-28fe-44ae-95eb-8d765a9262d0n%40googlegroups.com > > <https://urldefense.com/v3/__https://groups.google.com/d/msgid/projectchrono/75f5b824-28fe-44ae-95eb-8d765a9262d0n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!IRf7felC0zthyzFHiWt0Ao1tNXGtN4de2KoYPYzS_GKYjI14ZpqR7hrjIDLet90eR9_pbikVqkrEHniADSvqg078c5z7OQ$> > . > > -- 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 visit https://groups.google.com/d/msgid/projectchrono/49716d7c-be19-4618-9045-c70c9a52487cn%40googlegroups.com.
