Google Groups Home
Help | Sign in
What metric weight does dMass represent?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
colmsloan@gmail.com  
View profile
 More options Mar 23, 10:30 pm
From: "colmsl...@gmail.com" <colmsl...@gmail.com>
Date: Sun, 23 Mar 2008 19:30:05 -0700 (PDT)
Local: Sun, Mar 23 2008 10:30 pm
Subject: What metric weight does dMass represent?
Does a value of 1.0 represent 1 gram, 1 kilogram or is there any
relationship at all? I think it's relevant when using dBodyAddForce.
It seems to me that whenever I give an object on a simple hinge joint
a weight more than 1.0, or as low as 2.0, the body begins to sag
deeply and become wayward. Is it 1 ton or is 1.0 just the max and only
values betweeen 0 and 1 should be entered?

Thanks for any replies.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel K. O.  
View profile
 More options Mar 24, 1:08 am
From: "Daniel K. O." <danielko.lis...@gmail.com>
Date: Mon, 24 Mar 2008 02:08:03 -0300
Local: Mon, Mar 24 2008 1:08 am
Subject: Re: [ode-users] What metric weight does dMass represent?
2008/3/23, colmsl...@gmail.com <colmsl...@gmail.com>:

>  Does a value of 1.0 represent 1 gram, 1 kilogram or is there any
>  relationship at all?

The interpretation is up to you. Sane people prefer to use SI, so they
measure mass in Kg, force in Newtons, and so on. If you use another
interpretation for mass values, remember to adjust any dependent unit
(like, say, forces).

>  I think it's relevant when using dBodyAddForce.
>  It seems to me that whenever I give an object on a simple hinge joint
>  a weight more than 1.0, or as low as 2.0, the body begins to sag
>  deeply and become wayward. Is it 1 ton or is 1.0 just the max and only
>  values betweeen 0 and 1 should be entered?

As a general consequence of floating point arithmetic, operating
values with very different magnitudes might introduce a lot of errors.
Thus it's recommended to use values as close to 1.0 as possible, for
numeric stability. This is probably the only sane reason to use non-SI
units in your simulation.

Also, time steps should be as small as possible (but making it too
small might again introduce errors). Your problem might be related to
this. Try dumping the simulation state (dWorldExportDIF); if you still
can't figure out the problem, post the DIF output, with more details.

--
Daniel K. O.
"The only way to succeed is to build success yourself"


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
colmsloan@gmail.com  
View profile
 More options Mar 24, 5:02 pm
From: "colmsl...@gmail.com" <colmsl...@gmail.com>
Date: Mon, 24 Mar 2008 14:02:01 -0700 (PDT)
Local: Mon, Mar 24 2008 5:02 pm
Subject: Re: What metric weight does dMass represent?
Brilliantly detailed answer, Daniel. Thanks. It's exactly what I was
looking for :)

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google