Yes, this is once again an incompatibility issue.
What python demo file are you using? Where do you get it from?
For an anaconda install of PyChrono, as indicated on 
https://api.projectchrono.org/tutorial_table_of_content_pychrono.html, you 
should use the demos installed by the conda package (in the *local* 
site-packages/ directory).

--Radu

From: [email protected] <[email protected]> On Behalf 
Of ttt feng
Sent: Saturday, 29 October 2022 08:36
To: ProjectChrono <[email protected]>
Subject: [chrono] PyChrono--Issiue about Visualisation application

Hi, Mr.Serban
I'm sorry to bother you.Here is a question to ask for your help.
When I run the python file you wrote, an error will appear as fllows.The 
'ChWheeledVehicleIrrApp' function is error.

self.app = veh.ChWheeledVehicleIrrApp(self.my_hmmwv.GetVehicle(), 'HMMWV', 
irr.dimension2du(1000,800))

When I change to the following statement, it can run normally

self.app = veh.ChWheeledVehicleVisualSystemIrrlicht()
self.app.SetWindowTitle('HMMWV')
self.app.SetWindowSize(1000, 800)

I installed PyChrono 7.0. by Anaconda. And is this caused by different versions 
or anything else?


--
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/2df974c9-9319-41fa-a973-938640f28c5cn%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/2df974c9-9319-41fa-a973-938640f28c5cn%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/PH0PR06MB8237E9819BC5292A632CFAB5A7349%40PH0PR06MB8237.namprd06.prod.outlook.com.

Reply via email to