Determining 3D rotation and translation with matrices

m.otte

New member
Joined
Aug 10, 2009
Messages
1
Hi all,
I'll try to describe my problem:
I have a "stick" in 3D space of which I always know the (x,y,z) coordinates of its end points (call them P1 and P2). They are at a fixed distance from each other.
The "stick" can move freely, i.e. it can translate over the x, y, and z axis, and it can rotate around basically any point in space (point not known).
Since my "stick" in its default position has P1 always higher (z-axis) than P2, I have been able to calculate the z-axis rotation (yaw) using simple trigonometry.
But I would also like to know if there is a rotation about the X, and/or Y-axis between two measurments (call them t=0 and t=1) and the size and direction of the rotation(s).

Is that possible when I always (at any t) know the x, y, and z coordinate and the rotation about the z-axis?
If so, how do I do that?
I know the basics of matrix calculations, but the more advanced stuff has sunken way below the surface ( :D ).

Thanks ever so much!

Marco
 
m.otte said:
Hi all,
I'll try to describe my problem:
I have a "stick" in 3D space of which I always know the (x,y,z) coordinates of its end points (call them P1 and P2). They are at a fixed distance from each other.
The "stick" can move freely, i.e. it can translate over the x, y, and z axis, and it can rotate around basically any point in space (point not known).
Since my "stick" in its default position has P1 always higher (z-axis) than P2, I have been able to calculate the z-axis rotation (yaw) using simple trigonometry.
But I would also like to know if there is a rotation about the X, and/or Y-axis between two measurments (call them t=0 and t=1) and the size and direction of the rotation(s).

Is that possible when I always (at any t) know the x, y, and z coordinate and the rotation about the z-axis?
If so, how do I do that?
I know the basics of matrix calculations, but the more advanced stuff has sunken way below the surface ( :D ).

Thanks ever so much!

Marco

It can be done - but it will take considerable amount of time (which I am not willing to spend).

Do some google search - there would be many references...
 
Top