NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/

Information about this web site => Request for physics Simulations => Topic started by: egabev on January 29, 2011, 06:58:54 am



Title: Request for Java gimbal simulation.
Post by: egabev on January 29, 2011, 06:58:54 am
Dear Mr. Fu-Kwun Hwang,
I have just subscribed for your forum. Thank you. I am looking for a suitable Java applet which can simulate gimbal movements. I need such a simulator to study the movement of HIV (the virus causing AIDS) when reaching close to the target cell (CD4+ T cell).  Some information on our research and personal details as well you can obtain visiting my site included  in my address at the bottom.
I have tried to find such Java software in your site and the links there but I failed. In this regard I would greatly appreciate if you be so kind as to create and provide me with such simulator. Please have some ideas of the design (actually the layout) at the links below.

Thanking you very much in advance I am,
Sincerely yours,
Evgeni Gabev.

Gimbal links.

http://science.howstuffworks.com/gimbal1.htm
and

http://www.google.com/images?um=1&hl=bg&rls=com.microsoft:bg:IE-SearchBox&tbs=isch:1&&sa=X&ei=DPpATZfINMzB8QPMhcyEBA&ved=0CDEQBSgA&q=gimbal&spell=1&biw=1132&bih=666
and

http://en.wikipedia.org/wiki/Gimbal

 

My address:
Assoc. Prof. E. Gabev MD, PhD
Institute of Experimental Pathology and Parasitology,
Bulgarian Academy of Sciences,
Acad. G. Bontchev street, Bl. 25,
Sofia 1113,
Bulgaria.
email: egabev@gmail.com
Internet site: http://sites.google.com/site/gabevshivaidstreatment/
Telephone: +3592/9792325,
Fax: +3592/8710107.
The simplest ideas are always the hardest to come up with.

 



Title: Re:Please provide model and parameters for your gimbal system
Post by: Fu-Kwun Hwang on January 29, 2011, 10:02:51 am
I need to have a physics model in order to create the simulation.

Do you have the model in mind?

I found some model at http://epubl.ltu.se/1653-0187/2007/086/LTU-PB-EX-07086-SE.pdf
Does the model in that pdf fit with your need?
You also need to provide values for all the parameters so that the simulation can fit with the need of your system.


Title: Re:Please provide model and parameters for your gimbal system
Post by: egabev on January 29, 2011, 12:00:08 pm
I need to have a physics model in order to create the simulation.

Do you have the model in mind?

I found some model at http://epubl.ltu.se/1653-0187/2007/086/LTU-PB-EX-07086-SE.pdf
Does the model in that pdf fit with your need?
You also need to provide values for all the parameters so that the simulation can fit with the need of your system.

Dear Mr. Fu-Kwun Hwang,
Thank you very much for your reply and for your efforts to find a model for my gimbal request to you. Actually I need something more simple than that in the Masters Thesis (the .pdf file you sent to me). This is actually a gimbal  with a gyroscope inside for the purpose of stabilization some systems, e.g.digital moove cameras etc. I need just a 3 circle gimbal (no gyroscopeinside) with one common axis (please see the attached figures) and to have the ability to move them independently having a meter for the rotation angle. Here below is a model which is OK for me but as you can see I can not use it. http://www.eng.auburn.edu/users/jzd0009/matlab/doc/help/toolbox/physmod/mech/gimbal.html
The controls I need are: Start/Stop, Restart, Reset and the most important is the ability to rotate and to position the 3 circles as it is shown on the attached pictures. Please use the words Pitch, Roll and Yaw as they are written on the pictures for the type and direction of the rotation. The mathematics is given at: http://en.wikipedia.org/wiki/Gimbal_lock
Please note that I am not a mathematcian and might be I am wrong giving you this matrices. Wishing you a nice weekend I am with kindest regards. PS. I will of course site your name and site in my publications using your applet.


Title: Re: Request for Java gimbal simulation.
Post by: Fu-Kwun Hwang on January 29, 2011, 04:41:07 pm
Let me make sure one thing:
Please provide the following information:

1. Dimension of the system (at least r1,r2,r3)
2. Does the outer most one can only rotate in YAW AXIS?
3. Is it a static system, only need to be able to set the angle for Pitch, Roll and Yaw angle?
Or there is(are) initial angualr velocity for a dynamic system? What are those values? What are the differential equations according constraints for your system.

Because I have never play with such device before, I do not have any ideas about the physics model (constraints) for the system. I need physics model to create the simulation.

The rotation axes for the following two images are not the same. Which one is similar to your gimbal?
(http://static.howstuffworks.com/gif/gimbal-2.gif)(http://upload.wikimedia.org/wikipedia/commons/a/ac/Rotating_gimbal-xyz.gif)


The following is a static version. Click [eye]
[ejsapplet] [/eye] to view it.


Title: Re: Request for Java gimbal simulation.
Post by: egabev on January 31, 2011, 06:39:48 am
Dear Mr. F-Kwun Hwang,
Huge thanks for the static version of the gimbal applet. That is exactly what I need for doing my research. I actually do not need animation.
But I would like to ask you to add the following opportunities:Independent moving of each circle (Roll, Jaw and Pitch) without driving the others. Also please make the rotation angels of the same circles measured in degrees and please put 3 indicators to display the degree of rotation of each one. I also need that it will be possible to work with only 2 of the circles let say just Yaw and Pitch for example.The 3rd could be made (temporary) disabled and invisible from the applet by some kind of a button. This ability should be possible for each one of the 3 circles one each at a time by choice of the opperator. Actually I would like to investigate when a gimbal lock will appear with 2 and/or 3 circles in different experiments.

The gimbal lock on my humble oppinion is a constrain of the gimbal toolls at all. The equasions of the so called gimbal lock and detailed explanation of this phenomenon are given at the following sites ordered by importance:

http://en.wikipedia.org/wiki/Gimbal_lock

http://www.edharriss.com/tutorials/tutorial_xsi_gimbal/xsi_gimbal.html


http://www.anticz.com/eularqua.htm

Please excuse me that I can not give you a physics model and other constraint mathematics but I am a medical doctor and have only basic knowledge on that matter obtaining from the Internet sites. That is the reason of my request because I can not make such an applet by myself despite the EJS. I can just opperate it.
Here are my answers of you questions below:
1/,The dimension of the system shoud be in degrees not in radians or arbitrary units
2/. Yes all 3 circles Yaw, Roll and Pitch should rotate in their one axis without moving the other one i.e. when I rotate the Pitch the Jaw and Roll should not move. Then I will need to rotate the othe 2 one at a time with changin the position of the rest circles. The axes should be perpendicular each other.
3/. This static applett is OK with my work.
4/. The left hand picture is my gimbal (the blue one). The animated one is not correct for my purposes.

Thanking you very much again  for your time and efforts I am,
With kindest regards,
Evgeni.




Let me make sure one thing:
Please provide the following information:

1. Dimension of the system (at least r1,r2,r3)
2. Does the outer most one can only rotate in YAW AXIS?
3. Is it a static system, only need to be able to set the angle for Pitch, Roll and Yaw angle?
Or there is(are) initial angualr velocity for a dynamic system? What are those values? What are the differential equations according constraints for your system.

Because I have never play with such device before, I do not have any ideas about the physics model (constraints) for the system. I need physics model to create the simulation.

The rotation axes for the following two images are not the same. Which one is similar to your gimbal?
(http://static.howstuffworks.com/gif/gimbal-2.gif)(http://upload.wikimedia.org/wikipedia/commons/a/ac/Rotating_gimbal-xyz.gif)


The following is a static version


Title: Re: Request for Java gimbal simulation.
Post by: Fu-Kwun Hwang on January 31, 2011, 02:57:06 pm
May be the following is what you need!

Click [eye][ejsapplet][/eye] to view it.


Title: Re: Request for Java gimbal simulation.
Post by: egabev on January 31, 2011, 06:34:47 pm
May be the following is what you need!

Dear Mr. Fu-Kwun Hwang,
I can not open the file ejsuser/2/ejs_glimbal3.jar not found
Please advise me how to proceed. Could you please make the new applet visible.Thank you.
With best regards,
Evgeni.


Title: Re: Request for Java gimbal simulation.
Post by: Fu-Kwun Hwang on January 31, 2011, 10:00:41 pm
It is updated now.  :D


Title: Re: Request for Java gimbal simulation.
Post by: egabev on February 01, 2011, 12:03:22 am
May be the following is what you need!

Dear Mr. Fu-Kwun Hwang,

Thank you very much again. That is really the applet I need. You and your team are very, very kind and are superior experts in programming. I wish you, your familly and your team all the best during the New 2011 Year.

With best regards,
Evgeni.


Title: Re: Request for Java gimbal simulation.
Post by: egabev on May 15, 2011, 11:48:32 am
It is updated now.  :D

Dear Professor Fu-Kwun Hwang,

May I ask you kindly to update the gimbal java applet as such that the Roll ring (blue) is rotated accorging to the Roll of the figure from the attached file. At present it is rotated as the red one (Yaw) of your applet. Thanking you very much in advance I am, Sincerely yours,
Evgeni Gabev.


Title: Re: Request for Java gimbal simulation.
Post by: Fu-Kwun Hwang on May 16, 2011, 04:31:06 pm
There were two simulations created, are you asking for the third one?

Or you want to modify one of them? May I know which one: message #4 or message#6?


Title: Re: Request for Java gimbal simulation.
Post by: egabev on May 17, 2011, 01:30:29 am
There were two simulations created, are you asking for the third one?

Or you want to modify one of them? May I know which one: message #4 or message#6?

I would like that you modify the applet on message #6. Just the blue ring rotation. Thank you.


Title: Re: Request for Java gimbal simulation.
Post by: egabev on May 29, 2011, 08:40:16 am
There were two simulations created, are you asking for the third one?

Or you want to modify one of them? May I know which one: message #4 or message#6?

I would like that you modify the applet on message #6. Just the blue ring rotation. Thank you.
Dear Professor Fu-Kwun Hwang,
I would like to asking you very kindly to modify your aplet (message #6) such that the blue ring (roll) rotates like as at the attached file direction (arrow) from today, i.e. different than the red (Yaw) and green (Pitch) one. I would greatly appreciate your efforts since I need your aplet for very serious research-a new drug for AIDS we have created in the Institute. If you agree I will give credits for your labor in the paper I am preparing at present. Thanking you very much in advance I am with kindest regards.


Title: Re: Request for Java gimbal simulation.
Post by: egabev on June 21, 2011, 07:44:01 am
There were two simulations created, are you asking for the third one?

Or you want to modify one of them? May I know which one: message #4 or message#6?

I would like that you modify the applet on message #6. Just the blue ring rotation. Thank you.
Dear Professor Fu-Kwun Hwang,
I would like to asking you very kindly to modify your aplet (message #6) such that the blue ring (roll) rotates like as at the attached file direction (arrow) from today, i.e. different than the red (Yaw) and green (Pitch) one. I would greatly appreciate your efforts since I need your aplet for very serious research-a new drug for AIDS we have created in the Institute. If you agree I will give credits for your labor in the paper I am preparing at present. Thanking you very much in advance I am with kindest regards.
Dear Professor Fu-Kwun Hwang,
I apologize for bothering you again. I understand that you are very busy and are not able to modify the applet from #6 at that time. I have downloaded and installed EJS and try to work it out the problem but failed. Would you please be so kind as to give me your instruction steps and advice how to do it. I need just to change the rotation axes of the Roll (blue ring) as to be different than the other 2 (Yaw and Pitch). I beg you very kindly. Thanking you very much in advance I am, Sincerely yours. Evgeni Gabev.


Title: Re: Request for Java gimbal simulation.
Post by: Fu-Kwun Hwang on June 22, 2011, 04:24:57 pm
I am sorry that I was not able to help you during the last few weeks. It was near the end of semester and there are many duty need to be carry out. I will have more free time during the summer. I will try to help when I am free.


Title: Re: Request for Java gimbal simulation.
Post by: egabev on June 23, 2011, 03:30:55 am
Many, many huge thanks Dear Professor Fu-Kwun Hwang for your kindness. I will be waiting for your answer and help at your convenience. With best regards, Evgeni Gabev.



Title: Re: Request for Java gimbal simulation.
Post by: Fu-Kwun Hwang on July 02, 2011, 10:11:36 am
I hope the following simulation is what you need!

***Click [eye] [ejsapplet][/eye] to view simulation. ***


Title: Re: Request for Java gimbal simulation.
Post by: egabev on July 08, 2011, 04:25:39 am
I hope the following simulation is what you need!

Sorry, I don't understand where is the simulation. Please help me.


Title: Re: Request for Java gimbal simulation.
Post by: Fu-Kwun Hwang on July 08, 2011, 04:26:14 pm
OOps! It was a upload mistake. The problem has been fixed.
 You should be able to view the simulation now.


Title: Re: Request for Java gimbal simulation.
Post by: egabev on July 10, 2011, 03:12:28 am
OOps! It was a upload mistake. The problem has been fixed.
 You should be able to view the simulation now.


Many, many warm thanks dear Professor Fu-Kwun Hwang. This is exactly what I need. The added arrows are really very helpful. When I will be ready with my new paper I will send you an email and if you are agreed I will acknowledge your work. I will cite your applett in my paper to your name, title and University address. Thanking you very much again I am with kindest regards and wishes for all the best. Evgeni Gabev.


Title: Re: Request for Java gimbal simulation.
Post by: egabev on July 10, 2011, 07:26:27 am
OOps! It was a upload mistake. The problem has been fixed.
 You should be able to view the simulation now.


Many, many warm thanks dear Professor Fu-Kwun Hwang. This is exactly what I need. The added arrows are really very helpful. When I will be ready with my new paper I will send you an email and if you are agreed I will acknowledge your work. I will cite your applett in my paper to your name, title and University address. Thanking you very much again I am with kindest regards and wishes for all the best. Evgeni Gabev.
OOps. I have just mentioned that PITCH (the green circle) does not moving. I would like to beg you to make it to move as at the #6 above. Other circles (Roll and Yaw are OK). Please look at the bolted (pivoted) points at #4 figure (left static gimbal). Thank you very much in advance.


Title: Re: Request for Java gimbal simulation.
Post by: Fu-Kwun Hwang on July 10, 2011, 10:40:02 am
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.


Title: Re: Request for Java gimbal simulation.
Post by: egabev on July 10, 2011, 12:02:23 pm
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.


Title: Re: Request for Java gimbal simulation.
Post by: Fu-Kwun Hwang on July 10, 2011, 06:08:38 pm
For the simulation posted at message 17:

The rotating axes for Yaw is z-axis, Pitch is Y-axis, and Roll is x-axis.

Look at it carefully: you will find the green disk is rotating when you change value for Pitch.


Title: Re: Request for Java gimbal simulation.
Post by: lookang on July 11, 2011, 10:01:59 pm
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][ejsapplet][/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


Title: Re: Request for Java gimbal simulation.
Post by: egabev on July 12, 2011, 08:52:27 am
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][ejsapplet][/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
Thank you very much for your efforts to modify the applet. It is really going closer to my needs. I beg you just 1 thing. You are correct. Roll (green circle) is rotating but arround its circumference. Thus it simulates the so called gimbal lock (see http://www.youtube.com/watch?v=rrUCBOlJdt4)
I beg you very kindly to make the rotation of Roll such as its cross section to rotate instead just as the Roll at the  picture on message #4 above. Also please make back the rotation from 0 to 360 degrees instead of +/- 180 degrees since I have to check combinations of virus (HIV) position  such as Yaw 300 degrees, Roll 180 and Pitch 120 degrees. Thanking you once more I am with most firendly and warmest regards. egabev.


Title: Re: Request for Java gimbal simulation.
Post by: lookang on July 12, 2011, 01:08:48 pm
Gimbal Model by Hwang Fu-Kwun and remixed by lookang
changes made:
re-design the implementation to suit the physical Gimbal with support structures represented by cylinders using the 3D group method to ease the need to program in the codes as it is the outer ring's motion is automatically translated to the middle ring and the middle ring motion translation to inner ring.
add cylinders to aid the visualization of the support of the Gimbal

Enjoy!  egabev

***Click [eye] [ejsapplet][/eye] to view simulation. ***


Title: Re: Request for Java gimbal simulation.
Post by: lookang on July 12, 2011, 09:06:37 pm
made it animate and the slider values follow the motion now
generated using ejs 4.2.7 load in MacOSX as the ejs4.3.3.2 didn't load in MacOSX.

the physics looks wrong though, see at the http://en.wikipedia.org/wiki/Gimbal(http://upload.wikimedia.org/wikipedia/commons/thumb/d/d5/Gyroscope_operation.gif/250px-Gyroscope_operation.gif). i suspect  it is the inner ring that rotates in one direction, while the middle ring is coupled to inner ring and the outer ring is coupled to the middle ring.
what you are think?



Title: Re: Request for Java gimbal simulation.
Post by: egabev on July 13, 2011, 07:29:53 am
made it animate and the slider values follow the motion now
generated using ejs 4.2.7 load in MacOSX as the ejs4.3.3.2 didn't load in MacOSX.

the physics looks wrong though, see at the http://en.wikipedia.org/wiki/Gimbal(http://upload.wikimedia.org/wikipedia/commons/thumb/d/d5/Gyroscope_operation.gif/250px-Gyroscope_operation.gif). i suspect  it is the inner ring that rotates in one direction, while the middle ring is coupled to inner ring and the outer ring is coupled to the middle ring.
what you are think?


Thanks again for your great attention to my research need of gimbal model. Yes you are correct. The model in the picture is not right. Sorry that I did not mentione it. I can immagine how  many hours both of you spent on this project. I greatly appreciate all that and also think that adding the "cylinders" are very useful ldea of yourself.  However, the three rings Roll, Yaw and Pitch should rotate independantly to each other. Your construction is quite sophisticated. I need actually more simple one as that at http://www.yb2normal.com/DIYsteadicam.html
and the degree of freedom (actually mode of rotation of the rings) is given clearly at http://www.highballblog.com/2010/05/diy-glidecam-update-gimbal-handle.html
Please look at the clip. Many thanks again and best regards. I hope you will be so kind as to modify your applet.egabev.


Title: Re: Request for Java gimbal simulation.
Post by: Fu-Kwun Hwang on July 13, 2011, 09:37:11 am
There are only two rotational axes for the device at the two URLs you have provided.
The middle and outer rings can freely rotate along the same axes (with different angle).
However, you have mentioned that those three axes should be perpendicular to each other.
I am really confused!


Title: Re: Request for Java gimbal simulation.
Post by: egabev on July 13, 2011, 10:34:31 am
There are only two rotational axes for the device at the two URLs you have provided.
The middle and outer rings can freely rotate along the same axes (with different angle).
However, you have mentioned that those three axes should be perpendicular to each other.
I am really confused!
Sorry. Let me try to explain what I need by the following way. Please go to your applet at message #6 above, Please tune Roll (blue)to 90 degrees, Pitch (green ) to 90 degrees too and please do not touch Yaw (red) (0 degrees). Please imagine that Roll is bolted to Pitch ring at 9h and 3h. Now please make such that Roll is rotated from 0 to 360 degrees perpendicular to the circumference of Yaw (red). This movenent is actually the only one possible if Roll is bolted as described above. I beg you just to modify the Roll rotation at #6 message applet. I do not need actually other things. Thanks again.
PS. Please use the Roll, Pitch and Yaw rings and colors as they are given at message #6.


Title: Re: Request for Java gimbal simulation.
Post by: Fu-Kwun Hwang on July 13, 2011, 12:08:03 pm
I hope the following is what you need!

Click [eye][ejsapplet][/eye] to view simulation


Title: Re: Request for Java gimbal simulation.
Post by: egabev on July 13, 2011, 05:04:56 pm
I hope the following is what you need!

Thanks for your time and attention. I have tested very carefuly the modified applet page 2 message 2 (Reply #31 on: Today at 12:08:03 pm ยป posted from:Tucheng,T'ai-wan,Taiwan).

Yaw (red) should rotate independently without moving the whole figure. What I also mentioned: Pitch (green) is OK; Roll is moving as this should be the rotation of Yaw (rotation arround the vertical axis of the airplane message #23 page 1). Instead I beg you to make Roll to rotate being "bolted" at Pitch (green) at points 9 and 3 o'clock (message 1 above). Please see message 1 above.

Please make these changes but since I value very much your time if possible please advice me how to do modifications like you did up to now by myself. I have already installed EJS. Thanks a lot. Best wishes. egabev.


Title: Re: Request for Java gimbal simulation.
Post by: Fu-Kwun Hwang on July 13, 2011, 09:09:43 pm
You can download EJS source and open it with EJs,
or download jar file , double click to run it, right click then select open ejs model.

What you need to modify is "Fixed relation" Page: you will fins the following line

mat3="y:"+c3;
mat1="z:"+c1+" & y:"+c3;
mat2="x:"+a2+" &y:"+c3;

where c1,a2 and c3 are angle for row, pitch and row.
// for outer most ring
mat3="y:"+c3; // mean rotate around y axis with angle c3
// for inner most ring
mat1="z:"+c1+" & y:"+c3;// mean mean rotate around z axis with angle c3, then  rotate around y axis with angle c3
// mat2 is for middle ring

Click green triangle to generate new simulation when you finish your modification.

You can find the jar file,at export directory under ejsworkspace

You will find "Upload new EJS jar file" at the same line where you submit the message , click the checkbox
then select your jar file with button, then submit your message.
Your simulation will be shown automatically follow the end of your message.


Title: Re: Request for Java gimbal simulation.
Post by: egabev on July 14, 2011, 02:31:07 am
You can download EJS source and open it with EJs,
or download jar file , double click to run it, right click then select open ejs model.

What you need to modify is "Fixed relation" Page: you will fins the following line

mat3="y:"+c3;
mat1="z:"+c1+" & y:"+c3;
mat2="x:"+a2+" &y:"+c3;

where c1,a2 and c3 are angle for row, pitch and row.
// for outer most ring
mat3="y:"+c3; // mean rotate around y axis with angle c3
// for inner most ring
mat1="z:"+c1+" & y:"+c3;// mean mean rotate around z axis with angle c3, then  rotate around y axis with angle c3
// mat2 is for middle ring

Click green triangle to generate new simulation when you finish your modification.

You can find the jar file,at export directory under ejsworkspace

You will find "Upload new EJS jar file" at the same line where you submit the message , click the checkbox
then select your jar file with button, then submit your message.
Your simulation will be shown automatically follow the end of your message.

Thank you very much for your very useful advice. Before I start to use your instructions and to try to modify the applet (I did not sleep for 25 hours working in my lab and will start with the applet tomorrow) I would like to beg you to look at the attachment or at the  http://www.fho-emden.de/~hoffmann/gimbal09082002.pdf Isn't it possible for you to change the ring shaped gimbals with the one having rectangular shape as in the attachment file. This will give  more clear vision on the rotational axes of the rectangular frames (gimbals) as well as the pivoted points than the circular one  and as a whole (on my humble opinion) is easier to work with it both for you and for me. Waiting for your answer (any time day or night) I am with best regards. The model of gimbal  given at the attachment is exactly what I need. Meanwhile, please ignore the text about quarterions. egabev.


Title: Re: Request for Java gimbal simulation.
Post by: Fu-Kwun Hwang on July 14, 2011, 06:26:54 pm
To my understanding, the following is what you want, is it?

Click [eye] [ejsapplet] [/eye] to view the generated simulation.


Title: Re: Request for Java gimbal simulation.
Post by: egabev on July 15, 2011, 02:08:13 am
To my understanding, the following is what you want, is it?
Thank you for your kind reply but I can not find the applet file.


Title: Re: Request for Java gimbal simulation.
Post by: ahmedelshfie on July 15, 2011, 02:40:32 am
Hi egabev,

You can't find the jar file on website, or you have problem about download the applet?
Could you explain with more details please, for professor Hwang, lookang and me can help.


Title: Re: Request for Java gimbal simulation.
Post by: Fu-Kwun Hwang on July 15, 2011, 08:14:41 am
Sorry! The jar file was not upload successfully.
I was very busy,too! I did not check it after it was uploaded!
 It is uploaded again. You should be able to find it now.


Title: Re: Request for Java gimbal simulation.
Post by: lookang on July 15, 2011, 01:10:54 pm
nice applet, with the rectangles. good job!


Title: Re: Request for Java gimbal simulation.
Post by: lookang on July 15, 2011, 09:36:39 pm
added new features
changes made
added rectangles from Prof Hwang's version 6
customized to my version 4 dimensions
added an independent axis control checkbox for egabev mention something about no dependency of each axis of rotation, without the structures and in rectangle shapes, the rectangles do overlap
made it a little bigger
consistent the color with Prof Hwang's version 6
 


Title: Re: Request for Java gimbal simulation.
Post by: egabev on July 16, 2011, 03:33:43 am
added new features
changes made
added rectangles from Prof Hwang's version 6
customized to my version 4 dimensions
added an independent axis control checkbox for egabev mention something about no dependency of each axis of rotation, without the structures and in rectangle shapes, the rectangles do overlap
made it a little bigger
consistent the color with Prof Hwang's version 6
 
Dear Professor Hwang, Lookang, Ahmed and Tucheng (sorry if I missed somebody working with gimbal applet) both the modified applets from message #6 and the new one from message #11 (both at page 2) looks to me are OK. I have no words to express my sincere and wormest thanks to all of you. I realize that despite your extreme business with the students at that time of the year you were so kind to help me. I will keep you in touch with my research and will acknowledge your excellent work in my future paper. It will be about 50 pages with subject my hypothesis for HIV-1 navigation system and its implication for treatment of AIDS. Your name as authors/coauthors of the gimbal applet will be properly written in the paper. With kindest regards. Since the Elsevier Printing House request written agreement to write names to be acknowledge I will ask you to send me such agreement (of course if you like that) when the time comes.egabev (Evgeni Gabev).


Title: Re: Request for Java gimbal simulation.
Post by: Fu-Kwun Hwang on July 16, 2011, 12:14:39 pm
Great modification done by lookang!  ;D


Title: Re: Request for Java gimbal simulation.
Post by: lookang on July 16, 2011, 07:58:48 pm
We will do what we can to make the world a better place for physics learning :)

I have a great teacher like prof Hwang.
Everything I know about ejs I learn it in this forum!
I have benefited a lot from learning with ejs.
Thanks!
Best!


Title: Re: Request for Java gimbal simulation.
Post by: lookang on July 16, 2011, 11:55:16 pm
found out how to add vrml files
render is JAVA3D is the only trick!

enjoy!
think there is a bug in Ejs 4.3.3.2 , it works in the download standalone jar but not VRMLfile cannot show up in web deploy applets.
download file to view the VRML airplane


Title: Re: Request for Java gimbal simulation.
Post by: egabev on July 17, 2011, 02:20:05 am
We will do what we can to make the world a better place for physics learning :)

I have a great teacher like prof Hwang.
Everything I know about ejs I learn it in this forum!
I have benefited a lot from learning with ejs.
Thanks!
Best!
Great work Lookang. Professor Hwang is probably very proud of you. Thanks again to you and all excellent and kind people helped me. With best wishes for having good luck and all the best in the life. egabev.


Title: Re: Request for Java gimbal simulation.
Post by: varunmix on December 28, 2014, 10:38:48 pm
very nice informative thread java gimbal simulation yennai arindhal songs download (http://www.indianupdates.com/yennai-arindhal-songs-listen-online-free) visit and comment


Title: Re: Request for Java gimbal simulation.
Post by: prakash1997 on January 12, 2015, 01:44:52 am
Dude Thanks a lot you saved me by Solving my problems -*-