Aswath,
The correct syntax is:
T.SetMode(chrono.ChForce.TORQUE)
I realize that using enums in the Python code is a bit confusing. Part of the issue is the fact that the underlying C++ code sometimes uses classical enums and sometimes strongly typed enums (and the Python wrapping needs to deal differently with the latter).
On a different note, please use a single email thread when discussing the same topic to make things easier to follow.
--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/621abcf9-3f03-4532-94bc-f48c338ae1d8n%40googlegroups.com.