You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Composition/object3D.jl
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -82,8 +82,13 @@ If `rotation[2]` is close to its singular position (= 90u"°" or -90u"°"), an e
82
82
`[angleX, angleZ, angleY]`. In the new rotation sequence, `rotation[2]` is far from its singular position at this time instant. Variable `rotationXYZ::Bool` in the result
83
83
signals whether `rotation` is defined with rotation sequence `[angleX, angleY, angleZ]` (`rotationXYZ=true`) or with rotation sequence `[angleX, angleZ, angleY]` (`rotationXYZ=false`).
84
84
See, example `Modia3D/test/Basic/ShaftFreeMotionAdaptiveRotSequence.jl`.
85
+
The initial conditions (so `rotation=...` as key/value pair in the Object3D constructor) are always with `rotationXYZ=true`.\
85
86
86
-
87
+
With respect to an approach where the rotation is described with *quaternions*, the
88
+
adaptive rotation sequence handling has the benefit that all integrators can be used
89
+
(a quaternion description works with an overdetermined set of states and therefore standard
90
+
integrators with step size control need non-trivial code changes).
0 commit comments