Error in Modelica.Mechanics.MultiBody.Frames.Quaternions.Orientation.equalityConstraint #1817
Labels
bug
Critical/severe issue
L: Mechanics.MultiBody
Issue addresses Modelica.Mechanics.MultiBody
P: low
Low priority issue
Milestone
Reported by hansolsson on 3 Nov 2015 10:43 UTC
Modelica.Mechanics.MultiBody.Frames.Quaternions.Orientation.equalityConstraint seems to allow invalid ("mirrored") solutions.
E.g.:
They are generated from planarRotation({+/-1,0,0}, pi);
One solution would be (similarly to rotation matrices) to use atan2(..., Q1*Q2).
The "obvious" solution:
(assuming it has a unique solution) leads to an illconditioned Jacobian in combination with the orientationConstraint.
This is not good at all, but the quaternion class is not used in the connectors, which explains the low priority and high severity
I believe I earlier reported a similar issue in
Modelica.Mechanics.MultiBody.Frames.Orientation.equalityConstraint
which has now been corrected, but couldn't find the ticket-number.
Migrated-From: https://trac.modelica.org/Modelica/ticket/1817
The text was updated successfully, but these errors were encountered: