Hello Tristan, 

You can take a look at this demo demo_IRR_callbackNSC.py 
<https://github.com/projectchrono/chrono/blob/main/src/demos/mbs/demo_MBS_callbackNSC.cpp#L41>,
 
where a callback class is used to report contact info such as contact 
point, contact normal, contact forces, etc, for each contact. Note that the 
contact force reported is expressed in the contact reference frame 
(plane_coord), with its X-axis being the contact normal. Given this info, 
you can compute normal and friction forces. 

Thank you,
Luning

On Wednesday, November 2, 2022 at 3:02:04 PM UTC-5 [email protected] wrote:

> Hello, my name is Tristan Griffith and I'm a student researcher who is 
> learning how to use PyChrono for a grabbing simulation. I have set up a 
> simulation in which a cube with a NSC material is grabbed by a tentacle 
> with smaller NSC material tabs on it. I was wondering how to access the 
> contact values, specifically the normal force and friction force that comes 
> from these contacts and what the best way to store/plot these values would 
> be. Thanks!

-- 
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/28b0c16b-2a19-4ea8-80be-2e20eae06eb2n%40googlegroups.com.

Reply via email to