Hi Yosanandan,

This would be the correct way of querying the engine speed. It is working fine 
in C++ (obviously, else you wouldn’t see the result in the visualization 
window) but there’s some missing elements in the SWIG interface files and the 
engine object is not properly exposed for PyChrono.  We’ll add this to our TODO 
list.

--Radu


From: [email protected] <[email protected]> On Behalf 
Of Yasonandan Vadlamudi
Sent: Thursday, December 7, 2023 3:32 PM
To: ProjectChrono <[email protected]>
Subject: [chrono] Engine Motor speed

Hallo!

I am currently using Sedan Vehicle module, and I am trying to access the Engine 
RPM but unable to do so, it is showing in the irrlicht display but when i am 
trying to access it, I get the following error

I am using the function my_sedan.GetVehicle().GetEngine().GetMotorSpeed()

can you please let me know , how i can access the engien Speed and Torque ?

[cid:[email protected]]
--
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/40266398-88bb-440e-983a-94ffc4d9cdc2n%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/40266398-88bb-440e-983a-94ffc4d9cdc2n%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/PH0PR06MB823702EE213776792A5B5084A78AA%40PH0PR06MB8237.namprd06.prod.outlook.com.

Reply via email to