Thanks. So looking at that web site and the drawings Is theta1 the angle from horizon for arm 3. Which is 26. Not sue about r1,... length though. I guess theta 2 is the arm 2 angle from horizon?
Thanks.
This is what I have:
Distance of arm1 from lower mirror to 2nd mirror is 7.5515
distance of arm2 joint to joint is 4.0737
distance of arm 3 joint to joint is 4.413
---------- Post added 02-15-17 at 05:05 AM ---------- Previous post was 02-14-17 at 05:26 PM ----------
Not sure if this is right for inputting values into the formula?
And of course all the mirror animation are a parent of the main structure as it goes up/down.
The other thing I looked at is the distance from the top joint to center is different than the distance from the bottom joints to center
Or use LEGO for testing the mechanism.
First you need to understand the example diagram and where the angles are measured from. Then draw your diagram (on paper is probably easier) and name all the thetas and the r's.
Write code to calculate both the angles and the lengths based on the axis coordinates measured from the mesh. This way if you change the mesh you'll just need to update these points, and the distances and angles will update "automatically". Check that they are well calculated (positive distances, and the angles +/- checkout against your diagram).
From here you can already add the animation of the driver arm. For the other 2 animations use the formulas to calculate each angle, and set the animations accordingly.
I am looking in this:ETUmbDoorSystem.cpp and >h, right
Different arm1 and arm3 in this case. Arm1 is the lower two arms in my coordinate system.
Yes Arm 1 is the 1 piece arm that attaches at the bottom to the mirrors. length of it is 6.738.
Arm 3 attaches at the top of the main.
Ok. So I entered a diameter of 3.369 1/2 of the length., right
No. You must double the length. Diameter is two times the radius. And the big circle should end at the secondary mirror, where the upper strut attaches to it.