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
According to the CPACS documentation the hingeLineRotation of a control surface path is defined to be mathematically positive around the vector pointing from the inner hinge point to the outer hinge point:
The deflection path of the control surface is defined within the hinge line coordinat system. This is defined as follows: The x-hinge coordinate equals the wing x-axis. The y-hinge coordinate equals the hinge line axis (see above; positive from inner to outer hinge point). The z-hinge line is perpendicular on the x-hinge and y-hinge coordinate according to the right hand rule. The rotation of the control surface is defined as rotation around the positive y-hinge line.
For a starboard trailing edge device, a positive hinge line rotation means the device is rotated downwards for descend and for a port wing it would be the other way around: A positive hinge line rotation means the device is rotated upwards for ascend.
If a port-side wing is defined in CPACS (i.e. it is not a mirror of the starboard wing using the symmetry attribute) the hinge line rotation in TiGL has the wrong sign.
I suppose the error is somewhere in CTiglControlSurfaceTransformation::CTiglControlSurfaceTransformation.
I suppose this is related both to the ongoing discussion about symmetry in CPACS, see DLR-SL/CPACS#609 and the discussion on coordinate systems in TiGL, see #911.
If we follow the CPACS definition precisely (which of course we should), we have a different sign of the hingeLineRotation for mirrored wings and non-mirrored wings on the port-side. This could be surprising for a user.
According to the CPACS documentation the hingeLineRotation of a control surface path is defined to be mathematically positive around the vector pointing from the inner hinge point to the outer hinge point:
For a starboard trailing edge device, a positive hinge line rotation means the device is rotated downwards for descend and for a port wing it would be the other way around: A positive hinge line rotation means the device is rotated upwards for ascend.
If a port-side wing is defined in CPACS (i.e. it is not a mirror of the starboard wing using the symmetry attribute) the hinge line rotation in TiGL has the wrong sign.
I suppose the error is somewhere in
CTiglControlSurfaceTransformation::CTiglControlSurfaceTransformation
.Thanks @CLiersch for the find.
The text was updated successfully, but these errors were encountered: