Displayed / outputed attitude is dependant on 3D/2D model used.
While re running AttitudePointingExample from org.orekit.czml.attitudetuto, it appears that the written attitude (in outputed CZML file) depends on whether a 3D model has been activated or not.
The tutorial makes use of LofOffset orekit class from a TNW LOF, applying no rotations (rotation angles set to 0 on each axis). The expected result is (from https://www.orekit.org/site-orekit-12.1.3/apidocs/org/orekit/frames/LOFType.html) :
- X colinear to vehicle velocity
- Z colinear to orbital momentum.
if one supresses the 3D model during Satellite's object creation ( without ".withModelPath(IssModel)") the resulting attitude does not follow the expected behavior/results (cf. image)