Please keep one question in one thread. So posting replies in this thread 
only. Thanks
Refer to page
https://api.projectchrono.org/classchrono_1_1_ch_force.html#a4ebcd5a6c1766128e246818d0c18722f

You didn’t declare your m_mode variable, how can the function recognize it?

You should parse in either *FORCE or **TORQUE* only


On Wednesday, May 25, 2022 at 10:48:55 PM UTC-5 JASON Z wrote:

> Hi,
>
> Could you please paste the error message in the discussion thread?
>
> Thanks
>
> On Wednesday, May 25, 2022 at 9:50:24 PM UTC-5 [email protected] 
> wrote:
>
>> I am attaching my code fragment. I want to set the ForceType as Torque.
>>
>> T = chrono.ChForce()
>> T.SetMode(ForceType_TORQUE)
>>
>> But this is throwing me error, pl help
>>
>

-- 
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/bb032727-d953-4485-9ce7-c809dff1b960n%40googlegroups.com.

Reply via email to