10-11-2015 10:54 AM
I'm trying to creat a graphic represantation of a 3d object whose attitude is given as euler angles (yaw, pitch, roll), and I'm having troubles rotating it correctly. I've been fighting with this thing for a couple of hours but I guess I'm just missing something
I would love any help in getting this thing working. (is there a straight forward way of rotating an object around it's own axes?)
Thanks a lot!
Solved! Go to Solution.
10-11-2015 11:15 AM
10-11-2015 01:49 PM
Thank you for your comment!
- You're right, I'm sorry- "display orientation" is the main VI (well, I guess you figured it out but for future readers)
- Right again- just forgot to add a wait function.
- I'm actually working with LV 2013, just saved for older version because I know some of the readers can't view it otherwise. I know how to rotate axes, but I can't get the "rotate object" VI to work as I want. I never seem to get what axes it turns the object around
10-11-2015 02:52 PM
Sorry, I don't have access to LabVIEW at the moment, but if I remember right, there was a problem with the rotation in some older versions. Instead of "rotate", use "set rotation", If I remember correctly. I'll have to look at my old code.
10-11-2015 03:01 PM
Thank you altenbach! That actually did the trick 🙂
my code is attached in case anyone'll stumble across this thread ("display orientation" is the main VI)
11-19-2016 02:08 PM
Wow! Thanks! simplified a lot and was a great help actually!