Transformation problems, please look into my vi
- From: Nandha <x@xxxxxxxx>
- Date: Tue, 17 Jul 2007 08:40:05 -0500 (CDT)
I have been working on a 3d display of a force sensors.
The sensor will give the data of Fx, Fy and Fz, and i would like to display the resultant of the forces into a 3D display.
I formed two arrows to represent the resultant of the force working on the sensors.
So in my case i already have the arrow originally faced into a certain axis (i.e x axis).
I need to rotate it so it would looked correct according to the resultant of the 3 forces value.
If the original vector of the arrow would be [1 0 0]^T. and the result vector would be [Fx Fy Fz]^T.
i need to find a sets of angles (i.e. euler angles phi, theta and psy) to perform a set of rotations.
Here is the vi and some of the picture,
Another problem, why i can't set the initial rotation of the arrow (as seen on picture)
<img src="http://i103.photobucket.com/albums/m121/chikiball/trans1.png">
<img src="http://i103.photobucket.com/albums/m121/chikiball/trans2.png">
test vrml 2.vi:
http://forums.ni.com/attachments/ni/170/259502/1/test vrml 2.vi
.
- Follow-Ups:
- Re: Transformation problems, please look into my vi
- From: altenbach
- Re: Transformation problems, please look into my vi
- Prev by Date: Re: License error
- Next by Date: How do I set a start and stop trigger while still reading pretrigger samples from the start trigger?
- Previous by thread: Re: License error
- Next by thread: Re: Transformation problems, please look into my vi
- Index(es):
Relevant Pages
|
Loading