SDK Question Arot for landed vessels inconsistency?

fred18

Addon Developer
Addon Developer
Donator
Joined
Feb 2, 2012
Messages
1,667
Reaction score
115
Points
78
Hi all,

I'm trying to guess the proper arot parameter for landed vessels before creating those vessels, in order to plug it into the vesselstatus and pass the correct vesselstatus structure for creation.

Now, I was getting crazy because I couldn't find a working solution despite I thought my procedure was right, but then I tried as a check to apply the earth rotation.

Arot parameters are calculated correctly, I have the same for earth and vessel, but here's the result:
0000.jpg


why is this happening? shouldn't they be perfectly aligned?
 
I am not quite sure what the image shows, but I should point out that the "arot" parameter for landed vessels has a special meaning: it contains the vessel's Euler angles relative to the (rotating) planet frame (not, as for active vessels, the Euler angles relative to the (global) ecliptic frame).

In other words, the arot parameter for a landed vessel remains valid over time and doesn't need to be updated.
 
I am not quite sure what the image shows, but I should point out that the "arot" parameter for landed vessels has a special meaning: it contains the vessel's Euler angles relative to the (rotating) planet frame (not, as for active vessels, the Euler angles relative to the (global) ecliptic frame).

In other words, the arot parameter for a landed vessel remains valid over time and doesn't need to be updated.

:facepalm: Now I get it!!!

:tiphat::tiphat: Thank you very much!

---------- Post added at 13:25 ---------- Previous post was at 13:21 ----------

I already solved all my issues in 2 minutes now, I was keeping multiplying my rotation matrix by earth rotation matrix because I thought it was essential!

Thanks again!
 
Back
Top