[quote author=egabev link=topic=2084.msg8281#msg8281 date=1310274143]
[quote author=Fu-Kwun Hwang link=topic=2084.msg8280#msg8280 date=1310269202]
The green circle moves when pitch value change (when you drag slider). The rotating axes is the green arrow.

Do rotational axes for raw,pitch and yaw are three orthogonal axes?
Please let me know the rotational axes for the pitch rotation you want.

Yes. Rotational axes for roll, pitch and yaw are 3 orthogonal axes or let say perpendicular to each other. Please make analogy with the airplane movings (attachments). Pich is simple up and down the nose of the plane; roll is wings up and down; yaw is rotation arround the vertical axis. Pitch is X axis; Yaw is Z and Roll is Y. I hope this will be helpful. Please note that my geometry is at the level of Medical University which is quite basic. I was waiting all the night at my office for your reply. Many thanks for your kindeness to reply very quickly.

Please have the second attachment (more clear view of the axes PRY). It was failed to appear by my previous submission.

I think it is the naming convention that needs to be standardized tho the plane's picture.
i change it for your convenience.
is that closer to what you need egabev?

*** Click [eye]

/htdocs/ntnujava/ejsuser/14019/users/sgeducation/lookang/glimbal4_pkg/glimbal4.propertiesFull screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
Download EJS jar file(1018.7kB):double click downloaded file to run it. (3 times by 3 users) , Download EJS source View EJS source
[/eye] to view it. ***

author: Fu-Kwun Hwang, slightly edited by lookang
changes made.
naming convention change to suit airplanes as in picture
made 19 closest instead of 361
set initial values to all zero
range of slider -180 to 180 degree
added play pause button
axes implementation added instead of box for clearer orientation when talking about pitch roll and yaw