Re: [eigen] Eigen and rigid body simulation |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Eigen and rigid body simulation
- From: Christian Mayer <mail@xxxxxxxxxxxxxxxxx>
- Date: Wed, 25 Nov 2009 22:51:46 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :reply-to:user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=WQ01JCLPcNCpYatsN0ctNjIB191RA1zQWwZ31gfg9mI=; b=eWuiiDf36OkRJ7PS7SehgQngIk4KjIXG+xVPl9kk4izj3nwcudu8burZFM+afjFi6U 6Z3HlMJvu0ChsDRGlrvSv9I7KMg3oEAKklT2aI0ToHF2ca+Ek2nf5Cadgf12WpRzRArX EX2GXWw68RW1we4SC5Jq2m7WO5/3/iDVaNxjM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:reply-to:user-agent:mime-version:to :subject:references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=BuuTFZN+W6Wz0PPVXisblp9pEZY3u29HWGm3DcFxN0nXC6rQbfGBNG99jlXj3Fx3lI A4GD4dAWpsLYJg4NkGcnHPMkg3Se/V0qVMgvswYAGiWkpg5VCAYVXFnoF1oaE/HbybNF 2fMUkn9Qltz3eBtTKq+lDZIRHoePRJdcUFs1k=
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Mathieu Gautier schrieb:
> Hi,
>
> I plan to use eigen in one of our library to simulate rigid body in 3D.
> I have several basic elements (Wrench, Twist, Displacement, etc.) based
> on Eigen matrix and quaternion which are used to manipulate the rigid
> bodies velocities, forces, positions, etc. I think that this elements
> could be added to Eigen as a new module, although, they are quite tied
> to the geometry module. So, if you are interested I can submit a patch.
Hi Mathieu,
this sounds like a sensible way coming from the Eigen background (i.e.
geometry).
But when you are talking about linear or angular "mechanics" you should
also think about its analog applications: thermodynamics and electricity:
force = torque = current = heat transport
velocity = angular velocity = potential = temperature
mass = inertia = capacity
The formulas to handle those quantities are exactly the same.
I.e. although most quantites are only 1D (and not 3D like linear and
angular motion) this is really asking for a generic mechanism to handle
it. And - so far Eigen could only spend it's expression templates - it
might be a good usecase for the solving methods of Eigen.
But in either case (only mechanics or generalized) I think it's out of
the scope of Eigen. It's a good usecase though.
CU,
Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEAREIAAYFAksNpvIACgkQoWM1JLkHou0TTwCgkR/q4Nq5ciF0Jn57sF4r5PB7
tugAn3Rr42Z000gJJYWPSDYijSd66Fzn
=zO+Q
-----END PGP SIGNATURE-----