
Looks like you are not running the demos from their original location. As such, they do not have access to the data/ directory and cannot find various assets (meshes, textures, etc). Check the console output: you should see messages such as: “Error loading OBJ file ../../../../data/vehicle/hmmwv/hmmwv_chassis.obj”.
So either run the demos from their location:
% python ./demo_VEH_HMMWV.py
or else modify the demo code to specify the location of the data/ directory *relative* to the current directory (by calling SetChronoDataPath – see for example line 191 in demo_VEH_HMMWV.py).
--Radu

--
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
projectchron...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/projectchrono/23ccb828-bc4d-4821-8ebb-e3e175cac355n%40googlegroups.com.
Whenever posting issues related to PyChrono, please indicate how you built or installed it. Did you build the Chrono::Pychrono module yourself from source (if so, indicate which branch from the git repo you used)? Or did you install the conda package (if so, which version and on which platform)?
The two demos you mention run fine for me. I am not sure what error you get for the CityBus demo (can you give more details?), but based on your issue with the demo_VEH_HMMWV_circle I suspect you are trying to run demos that are incompatible with your installation of PyChrono. Please read the notice in the documentation (at the top of https://api.projectchrono.org/tutorial_table_of_content_pychrono.html) and make sure you use the appropriate demos.
(In newer code the driveline types were renamed and the latest version of demo_VEH_HMMWV_circle.py uses “DrivelineTypeWV_RWD”).
--Radu