We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8808322 commit 5530497Copy full SHA for 5530497
Modelica/Mechanics/MultiBody/Joints/Constraints/Universal.mo
@@ -27,9 +27,9 @@ equation
27
w_rel = Frames.angularVelocity1(R_rel);
28
29
// Constraint equations concerning rotations
30
- frame_a.t*n_a=0;
31
- frame_b.t*n_b=0;
32
- n_b*R_rel.T*n_a=0;
+ frame_a.t * n_a = 0;
+ frame_b.t * n_b = 0;
+ n_b * Frames.resolve2(R_rel, n_a) = 0; // Constraint: R_rel shall assure orthogonality of n_a and n_b
33
assert(abs(n_a*n_b) < Modelica.Constants.eps, "The two axes that constitute the Constraints.Universal joint must be different");
34
35
annotation (
0 commit comments