FAQ  •  Login

3 CD constraints VS ri = rj for spherical joints

<<

f13-759-gsubramani

Newbie
Newbie

Posts: 27

Joined: Mon Sep 09, 2013 9:12 am

Unread post Mon Nov 21, 2016 2:39 pm

3 CD constraints VS ri = rj for spherical joints

Hi Everyone,
Besides looking at it from an implementation standpoint, is there any reason to choose one over the other? In SimEngine3D we used 3 CD constraints to specify spherical joints but in the written examples (dangling cube) we use ri = rj. Is there any reason to chose one over the other? In both cases we still get three constraint equations.
Thanks
Guru
<<

Dan Negrut

Global Moderator
Global Moderator

Posts: 833

Joined: Wed Sep 03, 2008 12:24 pm

Unread post Mon Nov 21, 2016 3:23 pm

Re: 3 CD constraints VS ri = rj for spherical joints

Guru,
ri=rj is not a basic GCon.
By imposing x_ri - x_rj = 0, y_ri - y_rj = 0, and z_ri - z_rj = 0, we ended up using the CD basic GCon three times to essentially enforce your ri=rj.
Being lazy, we want to implement the minimal number of GCon primitives that can be combined in various ways to produce all the high level physical joints that you encounter in practical applications.
I hope this makes sense.

On a different note, here's a question that requires some thinking, and might be a good exam question. Recall that we have the D Gcon. Why can't I enforce a spherical joint (which typically calls for a set of three constraints) by simply using *one* D GCon that demands that the distance between two points is *zero*?

Dan

Return to ME751 Fall 2016

Who is online

Users browsing this forum: No registered users and 2 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software.